You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to do this by(in python3):
signDetector = GestureRecognizer.load_model(name="sign_detector.pkl.gz")
image = io.imread(r"C:\Users\thinkpad\Desktop\Sign-Language-and-Static-gesture-recognition-using-sklearn-
master\dataset\user_3\A0.jpg")
out1, final_predictions=signDetector.recognize_gesture(image)
print(final_predictions)
however,I received a ValueError from _prepare_colorarray : Input array must have a shape == (..., 3)), got (128, 128, 2)
and i am confused
The text was updated successfully, but these errors were encountered:
Sorry, I don't remember the exact details as I did this a long long time ago. But, I'd recommend you check the readme to see if everything aligns.
The error itself looks like you're passing in a 2-channel image (for eg., black and white images) when the input expected would be a 3-channel image (for e.g., RGB color images) - so could you check this?
I tried to do this by(in python3):
signDetector = GestureRecognizer.load_model(name="sign_detector.pkl.gz")
image = io.imread(r"C:\Users\thinkpad\Desktop\Sign-Language-and-Static-gesture-recognition-using-sklearn-
master\dataset\user_3\A0.jpg")
out1, final_predictions=signDetector.recognize_gesture(image)
print(final_predictions)
however,I received a ValueError from _prepare_colorarray : Input array must have a shape == (..., 3)), got (128, 128, 2)
and i am confused
The text was updated successfully, but these errors were encountered: