Giter Club home page Giter Club logo

Comments (2)

xiliugatech avatar xiliugatech commented on August 16, 2024

Quick update: I tried to capture by writing a c++ program to capture image via v4l2. In the program I set gain = 8. However, I noticed the gain seems to bounce back to a certain value and stopped. So looks like there's some internal register (most likely gain_auto 0x0199e205 (bool)) that is controlling the gain and we are not able to program it via v4l2?

from tiscamera.

TIS-Stefan avatar TIS-Stefan commented on August 16, 2024

Hello

the missing properties are not known by v4l2 by default. Thus we made some udev rules, which add these properties to v4l2. You can follow the article at https://wiki.theimagingsource.com/index.php/Using_USB_2.0_CCD_Cameras_in_Linux, even if it is for using one of our older camera models. The udev file contains the rules for the modern cameras too.

As you can see in your listing, gain is expected to have a range from 0 to 240. I suppose, you will get this range after installing the udev rules.
The 0x0199e205 is for gain auto. If gain auto is enabled (true), then it always will override a gain (0x00980913 ) value you try to set.

Stefan

from tiscamera.

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.