Machine vision calls mobile phone camera (opencv)

1. When the computer and mobile phone are connected to the same wifi, or the computer is connected to the mobile phone hotspot, open DroidCam on the computer and mobile phone at the same time to establish a connection.

2. Change the cv2.VideoCapture() function parameters as shown in the figure and complete.

 Demo: Use mobile phone camera to detect handwritten fonts

 

Guess you like

Origin blog.csdn.net/m0_68524176/article/details/131429190