-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to get asynchronous mode working? #4
Comments
Hey, same as you. Did you fix it?
So I think is the speed of detect + track slower than video capture async, so if it continues to detect but the video had been loaded over. |
I made some try, and here is my solution: (changes in the
Beacause I only use GTX 1060 for the test, I add If you don't care about it, you can just add the last 2 lines with |
Hi, I'm a bit late to the party but before seeing your solution I found out you can add this small verification to allow the detection to terminate well. Your solution seems more optimized so don't mind me if I use it :) videocaptureasync.py,
Anyway, I leave it there in case it's useful to someone |
So why does
videocaptureasync.py
have NoneType? And how to fix this error? While running asynchronous mode it kind of works and goes throughwhile
loop indemo.py
. From the image belowdemo.py
goes throughwhile
loop 42 times and then has an error. I found a link that talked about this error but unable to fix the error currently.https://github.com/alievk/avatarify/issues/67
The text was updated successfully, but these errors were encountered: