Multiple camera Processing
2 years
I am using 2 cameras for my robot. The idea is I want to detect the objects from a distance from one camera and do the path planning. And when the robot approaches an object i want to use the other camera for performing tasks on that object. How do i switch between the cameras in the same program? This should happen automatically.

Thanks in advance
Steven Gentner from United States  [1370 posts] 2 years
You can use the marker module or Camera Properties module to switch the image to another camera. In your case, this would break nicely into 3 tabs. The main tab would just call [active_tab] where active_tab would be initialized to your first tab. The first tab would contain code for the first camera. Once the object is detected you would change active_tab to "tab2" for example which would contain your code for that particular object.

See the attached example.


This forum thread has been closed due to inactivity (more than 4 months) or number of replies (more than 50 messages). Please start a New Post and enter a new forum thread with the appropriate title.

 New Post   Forum Index