Code Monkey home page Code Monkey logo

Comments (8)

boltgolt avatar boltgolt commented on July 22, 2024

I've seen some other laptops where the IR webcam is not implemented as a separate USB camera, but are combined into the same controller entirely. My suspicions are that they need to be controlled through /dev/media0, which is the controller of /dev/video0.

I don't know how though, i have very little experience with the media controller. If you find out how, please do share it here.

You can answer yes to the "is this the IR camera" question in the installer but i would not recommend it and it might break.

from howdy.

nico151999 avatar nico151999 commented on July 22, 2024

All right, so the face recognition still works. However, I guess I have even less experience with the media API of the Linux Kernel than you have, I've never touched it before. I'd not even know where to start implementing the IR emitters. Really disappointing...

from howdy.

boltgolt avatar boltgolt commented on July 22, 2024

I've looked into the mechanics of it all, but with my limited knowledge of C++ it's near impossible. If you really want to, this TI site helped me understand the system a lot better, but i can't even figure out where i'm supposed to import the header file from.

from howdy.

boltgolt avatar boltgolt commented on July 22, 2024

@nico151999 @paulobrien @bhanu6599

I've come across an option in the v4l2-ctl command that can list all available controls for that camera. Could you try running

ls /dev/ | grep video

and then running the following command for each video device it reports

v4l2-ctl -l -d /dev/videoX

There might be a related control option for IR in there somewhere.

from howdy.

nico151999 avatar nico151999 commented on July 22, 2024

Thanks for coming back to this issue @boltgolt
It's interesting to see what options the device offers. It seems like there's no IR option, however.

nico@NicosSpectre:~$ v4l2-ctl -l -d /dev/video0
                     brightness (int)    : min=0 max=255 step=1 default=128 value=128
                       contrast (int)    : min=0 max=255 step=1 default=32 value=32
                     saturation (int)    : min=0 max=100 step=1 default=64 value=64
                            hue (int)    : min=-180 max=180 step=1 default=0 value=0
 white_balance_temperature_auto (bool)   : default=1 value=1
                          gamma (int)    : min=90 max=150 step=1 default=120 value=120
                           gain (int)    : min=1 max=7 step=1 default=1 value=1
           power_line_frequency (menu)   : min=0 max=2 default=2 value=2
      white_balance_temperature (int)    : min=2800 max=6500 step=1 default=4000 value=4000 flags=inactive
                      sharpness (int)    : min=0 max=7 step=1 default=2 value=2
         backlight_compensation (int)    : min=0 max=1 step=1 default=0 value=0
                  exposure_auto (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute (int)    : min=10 max=626 step=1 default=156 value=156 flags=inactive
         exposure_auto_priority (bool)   : default=0 value=1

I simply guess there are two video devices: the IR one and the usual webcam. Both need an own driver. The webcam has a linux driver whereas the IR cam doesn't have one. Disappointing...

from howdy.

hexterisk avatar hexterisk commented on July 22, 2024

Only video0 is visible. My ouput has the same parameters as that of @nico151999 .

from howdy.

techied avatar techied commented on July 22, 2024

I have the same issue here. I have some experience in C however, so I'm willing to give it a shot. I'll look at those links.
Output of v4l2-ctl is the same as above.

from howdy.

minzukas avatar minzukas commented on July 22, 2024

Same here. Face recognition works, though no IR emitters at all (works well in windows).

Screenshot from 2019-07-15 22-24-28

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.