Access to the camera from the system the application is running on
0
1
I am building a web application with django and opencv for computer vision. In the web application there exists a button which when pressed starts the web cam of my computer. The problem is when i host the web application using my IP and access the application with a different computer and press the button, The webcam in my computer start. I knew the problem lied in this line of code cam = cv2.VideoCapture(0) I looked online and found this post , which asks me to use javascript to access the webcam. Is that the best option available or can I somehow change that line of opencv code to access the camera in the system the application is running on? If there is no better way to do it than javascript, then I would also like to know once I access the webcam and display the feed onto the screen, how do I link th...