-
-
Notifications
You must be signed in to change notification settings - Fork 311
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
"RuntimeError: Unsupported image type, must be 8bit gray or RGB image" on Surface Laptop 3 IR Camera #944
Comments
System's numpy >= 2.0.0 may cause this error. If your systems' numpy is >= 2.0.0, would you like to downgrade it to 1.26.4 (latest version of 1.x). At least this fixed this error in my 2 laptops running Garuda linux. |
Thank you! I will test this later |
It worked! Thank you so much! |
This Workaround doesn't fixed it for me. Howdy Version = Howdy 2.6.1 |
Did you downgrade with pip as sudo? Are you also using a Surface Laptop 3? |
I'm using a Surface Pro 7 with external Logitech Cam. But your question "...Did you downgrade with pip as sudo?..." was the right hint - now it works! |
No problem, yeah you can keep the user installation of numpy up to date just the system one needs to be downgraded |
Would you please post the steps to downgrade numpy? Thanks! |
That would be helpful indeed.... sudo pip install --upgrade numpy==1.26.4 |
Please describe the issue in as much detail as possible, including any errors and traces.
If your issue is a camera issue, be sure to also post the image generated by running
sudo howdy snapshot
.When adding a face model with /dev/video2 (IR Camera on Surface Laptop 3) I get the following error
Here is sudo howdy snapshot output
And here is the output of v4l2's list formats thing
I've searched for similar issues already, and my issue has not been reported yet.
Linux distribution (if applicable): Zorin OS 17.1 Core
Howdy version (
sudo howdy version
): Howdy 2.6.1The text was updated successfully, but these errors were encountered: