8,367
edits
Changes
→The test method of face_recognition
|}
</li>
<li><p>Then open a terminal on the desktop, enter the '''face_recognition/examples''' directory, and first modify the device serial number of the camera used in '''facerec_from_webcam_faster.py.''' For example, through the > '''v4l2-ctl --list-devices''' command above, you can see that the USB camera is '''/dev/video1''', then modify the '''0''' in '''cv2.VideoCapture(0)''' to '''<span style="color:#FF0000">1</span>'''</p>
{| class="wikitable" style="width:800px;"
|-