lipreading-by-convolutional-neural-network-keras
lipreading-by-convolutional-neural-network-keras copied to clipboard
Getting im = cv2.resize(im, (im.shape[1] * SCALE_FACTOR, AttributeError: 'NoneType' object has no attribute 'shape'
Whenever I run main.py I get:
Traceback (most recent call last):
File "main.py", line 9, in
Any help is appreciated!
How do I get the webcam shown in the demo working?
Go to a well lit area. I think the program is not able to find the face.
@rishabhshah13 How should I record my face like in the demo. Running any of the python programs in this doesn't open the interface shown in the demo.
Any Ideas?
Demo Link: https://www.youtube.com/watch?v=3FpEljYFAi4&t=43s
Well the error is because there is no portrait in your system. He has given a different reference to the image which isn't available in your system.Give the proper path.Download a image in the same file location.Open folder in atom editor.Select the image and right click on the image.Copy the full path and paste it in the faceAlignment variable REFRENCE_PATH.
Thank me later
I have the same situation, are you solved?
Give the REFRENCE_PATH variable the path of any portrait and it should work.
@rishabhshah13 could you run this code and get the same results as described on the demo video? I am getting a lot of errors. if it is possible kindly help me to run this. your help will be appreciated. Thanks.