How to use webcam video stream in CoppeliaSim ?

Typically: "How do I... ", "How can I... " questions
Post Reply
letmeregister14000
Posts: 1
Joined: 13 Feb 2024, 10:03
Contact:

How to use webcam video stream in CoppeliaSim ?

Post by letmeregister14000 »

Hello,
I have seen some old post about this subject such as https://forum.coppeliarobotics.com/viewtopic.php?t=4347 and https://forum.coppeliarobotics.com/view ... hp?t=2843 but with the current CoppeliaSim there is no folder "programming/windowsOnlyProjects/v_repExtCam" and I couldn't find It on google.

My goal is to get the video from my webcam and put It somehow in my simulation on a screen. I don't have the folder "windowsOnlyProjects" and I couldn't find any example scene that takes a video from a webcam. I don't know where to find the old programming folder from vrep and I haven't found an equivalent to this in the current coppeliasim.

Thank you for your attention.

fferri
Posts: 1230
Joined: 09 Sep 2013, 19:28

Re: How to use webcam video stream in CoppeliaSim ?

Post by fferri »

You can use the simIM plugin. It has functions for accessing OpenCV video capture devices:
  • simIM.openVideoCapture
  • simIM.closeVideoCapture
  • simIM.readFromVideoCapture

Post Reply