Article ID: 000090101 Content Type: Maintenance & Performance Last Reviewed: 04/05/2022

Delayed Camera Launch When Executing Face Recognition Python* Demo Using Third Party USB Webcam

Environment

Windows® 10, 64-bit*

BUILT IN - ARTICLE INTRO SECOND COMPONENT
Summary

Workaround to reduce delay in launching third party USB Webcam when executing Face Recognition Python* Demo

Description
Resolution

Add OpenCV* Video I/O API backend such as Direct Show (cv2.CAP_DSHOW) in Line 147 images_capture.py

status = self.cap.open(int(input), cv2.CAP_DSHOW)

Related Products

This article applies to 1 products