inference on 2 webcams in parallel #209
-
I have 2 webcams connected via USB to my PC which, taken individually, work perfectly, but when I go to "get" them with the py and openCV code I can never detect them together in parallel... here is the error: [ WARN:[email protected] ] global cap_msmf.cpp:471 I also leave the code below to understand what I do but it's very simple... Py code: import cv2 def inference_webcam(webcam_id, model, cap):
def main():
if name == "main": |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I found the solution with the help of another form, but if anyone comes by here and needs it, here's where you can read the solution: https://forum.opencv.org/t/real-time-inference-on-dual-webcams-in-parallel/14729 |
Beta Was this translation helpful? Give feedback.
I found the solution with the help of another form, but if anyone comes by here and needs it, here's where you can read the solution: https://forum.opencv.org/t/real-time-inference-on-dual-webcams-in-parallel/14729