Code Monkey home page Code Monkey logo

Comments (15)

boltgolt avatar boltgolt commented on July 3, 2024 7

Could you try running it as sudo QT_X11_NO_MITSHM=1 howdy test?

To apply this fix permenatly add QT_X11_NO_MITSHM=1 to the bottom of /etc/environment.

from howdy.

keckes avatar keckes commented on July 3, 2024

Hi there, thanks for putting this together!

I had the same issue upon trying to run sudo howdy test and the viewer window was blank.

I tried running sudo QT_X11_NO_MITSHM=1 howdy test and it worked, though the image it returned was basically blank (see attached) and not dynamic (the image didn't really change even as I moved my face closer to the camera/emitters or waved my hand in front of them).

When I try using howdy normally it just times out and I have to enter the password. I assume it's because the image is not actually dynamic (i.e. not even recognizing something that resembles a face).

I'm running Ubuntu 18.04 LTS on a Thinkpad T480s.
howdy-test

from howdy.

boltgolt avatar boltgolt commented on July 3, 2024

This is a known decoding error in some cameras, could you try running sudo howdy config and setting force_mjpeg to true?

from howdy.

keckes avatar keckes commented on July 3, 2024

OK, did that and the test procedure gives an actual image -- great!

I just added two versions of my face (with and without glasses) to my profile then tried a few tests. Unfortunately I still get the timeout problem, so I still have to enter my password manually.

from howdy.

boltgolt avatar boltgolt commented on July 3, 2024

Try upping the certainty value, howdy might be recognizing you with too little match certainty.

from howdy.

keckes avatar keckes commented on July 3, 2024

I upped the certainty value to 9 and lowered the dark_threshold to 1 but still got the timeout error.

I noticed that when I run the test procedure, the frame rate and exposure consistency seems to depend heavily on the distance between my face and the emitters/camera. Still, even when I added a new face based on the distance and position I felt was most consistent in the test procedure, I still get the timeout errors.

Any other suggestions?

from howdy.

boltgolt avatar boltgolt commented on July 3, 2024

Following up on issues i forgot to reply to, are you still having this problem or did you fix it/uninstall Howdy?

from howdy.

keckes avatar keckes commented on July 3, 2024

from howdy.

boltgolt avatar boltgolt commented on July 3, 2024

Greenish static is a new symptom for me, does this static also show up when you open Cheese (search for Cheese in the dash)? You might need to try out different webcams/video sizes in the Preferences menu.

from howdy.

keckes avatar keckes commented on July 3, 2024

from howdy.

boltgolt avatar boltgolt commented on July 3, 2024

So Cheese is also just getting the garbage data? Does switching resolutions in the preferences change anything?

from howdy.

keckes avatar keckes commented on July 3, 2024

from howdy.

boltgolt avatar boltgolt commented on July 3, 2024

Great! Could you set the frame size in sudo howdy config to that format:

frame_width = 400
frame_height = 400

This should fix the problem.

from howdy.

nilmerg avatar nilmerg commented on July 3, 2024

Had the same problem, running it with sudo QT_X11_NO_MITSHM=1 howdy test finally worked.

from howdy.

mbprado avatar mbprado commented on July 3, 2024

I had exactly the same issue.
I was able so see my image in test, but it never had been recognized. Also in test, using IR camera, it never shown the red circle around my face (testing with the normal camera, everything worked fine). I completely solved the issue with the steps bellow:

1 - To fix green image:
In howdy config, simply set ( no need to set force_mjpeg or anything else):
frame_width = 400
frame_height = 400

2 - To fix testing interface:
add the line to /etc/environment
QT_X11_NO_MITSHM=1

3 - Finally to get the correct detection, including the red circle in howdy test, I had to set bright and contrast the parameters in v4l:

v4l2-ctl -d /dev/video0 --set-ctrl=contrast=0
and:
v4l2-ctl -d /dev/video0 --set-ctrl=brightness=255
check with:

$ v4l2-ctl -d /dev/video0 --list-ctrls
brightness 0x00980900 (int) : min=0 max=255 step=1 default=128 value=255
contrast 0x00980901 (int) : min=0 max=255 step=1 default=32 value=0

Doing this, I had no more problem with detection using IR camera.

from howdy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.