introlab / rtabmap

RTAB-Map library and standalone application
https://introlab.github.io/rtabmap
Other
2.75k stars 783 forks source link

elp camera kinda like a bug #1353

Open nesquik011 opened 10 hours ago

nesquik011 commented 10 hours ago

elp stereo cameras never work correctly unless fourcc('M', 'J', 'P', 'G')); is used so how could i do that in the GUI Windows ?

and by any chance if anyone got code example for stereo camera please share it

matlabbe commented 5 hours ago

CameraStereoVideo driver uses opencv's VideoCapture to read from USB cameras (when single camera is used, it assumes it is a side-by-side stereo stream). It opens the camera here: https://github.com/introlab/rtabmap/blob/465ea85d91d8340ccc961f5997333e7e16c8258a/corelib/src/camera/CameraStereoVideo.cpp#L132

If opencv support fourcc('M', 'J', 'P', 'G') , you may check how to do it before it opens the camera and adjust the code above.