face_recognition icon indicating copy to clipboard operation
face_recognition copied to clipboard

re.facerec_from_webcam_multiprocessing

Open deepa042008 opened this issue 6 years ago • 2 comments

  • face_recognition version:1.2.1
  • Python version: 3.8
  • Operating System: windows 10

Description

i was trying this facerec_from_webcam_multiprocessing I changed only the the statement video_capture = cv2.VideoCapture(0) to video_capture = cv2.VideoCapture("./face_recognition/examples/short_hamilton_clip.mp4")

The problem faced is in capture function it always goes into sleep except after 1st frame Pls suggest

deepa042008 avatar Dec 13 '19 08:12 deepa042008

please check the path how you gave- i think ./path wont work, it is ../path. since it is just trying to fetch the video. what are you getting in the first frame. if it is blank screen then its a path issue only i think. i don't have opencv now to check. please update once you get solution helpful to others!! :)

saideepthik avatar Dec 13 '19 09:12 saideepthik

Hi Thanks yes... load_image_file was failing ... works now

deepa042008 avatar Dec 15 '19 04:12 deepa042008