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
The program is stuck at "Waiting for Connection" #9
Comments
Try to comment out the following line in SocketServer.cs
Then you should be able to see the error message sent by Python. If it says "found no face" then, based on the previous enquiries I recieved, it might due to the wrong choice of the camera that you used to capture the video stream. To be specific, if you are using a plugged usb-camera rather than the built-in camera of the laptop, you should change the number "0" to "1" or others in the following line in visual_measurement.py:
This error might also be caused by the revoking of permission of Python's access to camera or other reasons. Please feel free to sent more feedbacks if this solution doesn't work for you :) |
Thank you to reply. I comment out the "WindowStyle" as your advise. I found that the error is the python has no module of "cv2". However, my system's python does has cv2 module. I could run in command line. I use the full path of python. It can find the cv2 module. But new error happened. "SocketException: 由于套接字没有连接并且(当使用一个 sendto 调用发送数据报套接字时)没有提供地址,发送或接收数据的请求没有被接受。" It can not connect the socketServer. |
Did you run the Python scripts in the virtual environment? |
Hi, I met the same problem. And I fixed it thankfully. If you have your venv set up and install the cv version (my cv version is 3.4.0.12) as told, the problem may lie on the version of numpy.... try to uninstall numpy and What I suggest is run |
Ok.... Let me specified all the step you might need to take.
if your exception is different:
else:
If you successfully reach the final step and complete it, remember bring your future waifu and thank me. |
This project is nice. Even though you are frowning in front of camera, the model still show happy expression |
I run the program following the "Quick Start", but when I click the "Start Thread" button, it seems that no response happen.
The text was updated successfully, but these errors were encountered: