Closed bharathCoitor closed 3 years ago
Hi @bharathCoitor, Can you share us in details, what trouble are you seeing with wide angle or CCTV cameras. Thanks !!
@bharathCoitor Could you provide details mentioned in the above comment. Thanks !
Hi @bharathCoitor, Closing this issue, assuming you are resolved. Thanks!
path=" cctv names" cap = VideoStream(src=path).start() time.sleep(2.0) with mp_face_detection.FaceDetection( min_detection_confidence=0.5) as face_detection:
while(True):
while cap.isOpened():
success, image = cap.read()
if not success:
print("Ignoring empty camera frame.")
If loading a video, use 'break' instead of 'continue'.
continue
image = cv2.cvtColor(cv2.flip(image, 1), cv2.COLOR_BGR2RGB)
image = cv2.cvtColor(image, cv2.COLOR_RGB2BGR)
cap.release()