Code Monkey home page Code Monkey logo

Comments (5)

boltgolt avatar boltgolt commented on August 24, 2024

That's a linux driver issue i'm afraid, there's no formal support for IR webcams in linux so we just use generic drivers. You could open a bug report for the affected driver but i don't think that'll help you much.

from howdy.

arifeinberg avatar arifeinberg commented on August 24, 2024

The Video4Linux preview also returns a usable image. It seems this camera offers two modes: Motion-JPEG and YUYV raw. Motion-JPEG is the one that works. The mode is not set at the level of this software?

from howdy.

boltgolt avatar boltgolt commented on August 24, 2024

Could you try replacing line 22 (a white line) in /lib/security/howdy/cli/test.py with the following:

video_capture.read()
print(video_capture.get(cv2.CAP_PROP_FOURCC))
video_capture.set(cv2.CAP_PROP_FOURCC, 1196444237.0)

And see if that fixes anything or throws any errors? I'm not at my PC right now so it might be a little off.

from howdy.

arifeinberg avatar arifeinberg commented on August 24, 2024

I was just a few minutes behind you! I added the following line after initialization of video_capture (in add, test, and compare):
video_capture.set(cv2.CAP_PROP_FOURCC, 1196444237)
and it is now working (after I raised the dark threshold).

Thanks!

from howdy.

boltgolt avatar boltgolt commented on August 24, 2024

Great! I'll add it as a setting in a later release

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.