How to obtain gyroscope and accelerometer data in OpenCV C++? [closed]
I am trying to map my camera trajectory using the sensors on mobile devices. For that i will need the data from the gyroscope, accelerometer and maybe other sensors. I will also need a 3D enviroment in which i will represent the camera path in 3D space. I am developing in C++ and I also want to ask in I can obtain sensors information from IP camera.
OpenCV is not for reading sensor data. Not for 3D visualization, neither. Try to use the code provided with your sensor to get the readings.
Basically what i need is to develop SLAM based object tracking. I have done the camera calibration, abstracted it into a different class, developed a basic optical flow based image tracking but its time to move on to 3D (creating a map of the keypoints in the scene and trackng the trajectory of the camera in 3D space). What other tools can i use to develop these things besides OpenCV?