Closed sjssjssjs closed 1 year ago
Hi. Thank you for your interest in the project. This seems to be a problem of your camera's driver and OpenCV (which handles the communication with the camera). Since there is no light in your camera, it means that somehow the opencv camera object does not communicate with your camera as it should. Unfortunately I am not able to replicate your problem. In my Macbook it runs smoothly. What system are you running this on?
In the past, in another Windows machine, I remember I had a similar problem with a different application, and the solution (hack) was to run that other application 2 times! First time start the app and kill it -> the camera light turned on -> second time start the app, allowing access to the (now on) camera.
Can you try to rerun the script once your camera light is on (after you quit the first time)? Let me know how this goes...
Thank you so much for those suggestions. I will try it out with different lighting conditions, and perhaps an external webcam. Interestingly I can run all the other webcam Python examples which use webcam (0) and dlib/opencv. I'll post how I go.
On Thu, 3 Jun 2021, 1:50 am Vassilios Vonikakis, @.***> wrote:
Hi. Thank you for your interest in the project. This seems to be a problem of your camera's driver and OpenCV (which handles the communication with the camera). Since there is no light in your camera, it means that somehow the opencv camera object does not communicate with your camera as it should. Unfortunately I am not able to replicate your problem. In my Macbook it runs smoothly. What system are you running this on?
In the past, in another Windows machine, I remember I had a similar problem with a different application, and the solution (hack) was to run that other application 2 times! First time start the app and kill it -> the camera light turned on -> second time start the app, allowing access to the (now on) camera.
Can you try to rerun the script once your camera light is on (after you quit the first time)? Let me know how this goes...
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bbonik/facial-landmark-frontalization/issues/3#issuecomment-853142476, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABVWLWQYTJKUYQI423UZMKTTQZHN7ANCNFSM454DGLEA .
Hi. Great work here.
I have an issue with the example_frontalize_dlib_camera.py file.
The single picture version works however upon running the example_frontalize_dlib_camera.py no webcam light comes on, and I see the below blank screen.
Only when I press 'q' the window disappears and only then, the webcam light goes on and I see this...
Could you please show me what I am doing wrong? I am running the source code as is.
I would love to get a live stream of this frontalize animation from the webcam.