Open jiapei100 opened 7 years ago
It depends on your operating system and on your real camera, I guess... For example, if you are running Linux and a compatible camera, you could use v4l and opencv to grab images and feed them to orbslam2. hth Poine
On Mon, Oct 24, 2016 at 11:25 AM, JIA Pei notifications@github.com wrote:
Is there a way to run ORB_SLAM2 on a real camera without using that ROS demo?
Cheers Pei
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/raulmur/ORB_SLAM2/issues/181, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGTz_qI5pDxXuasWD6XClVGkpl6Re_oks5q3HmBgaJpZM4KekaS .
@poine is right, I'm doing it for a while now, capturing webcam with opencv and feeding orb-slam2 without ROS. It works pretty well, as expected. Don't forget to calibrate your webcam.
Of course, you have to modifiy some c++ code to do it, then compile.
Look for while(true)
loop in main.cc.
Did anyone resolve this issue? I have no clue yet
Is there a way to run ORB_SLAM2 on a real camera without using that ROS demo?
Cheers Pei