Navigation

    VEYE IMAGING Forum

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Recent
    • Popular
    • Users
    • WIKI
    • veye.cc

    SOLVED saturation, contrast, shutter speed, iso on VEYE-MIPI-462

    VEYE MIPI camera
    2
    28
    2377
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      watchever last edited by

      Hello, is it possible to set saturation, contrast, shutter speed and iso of camera module VEYE-MIPI-290 during preview in python language ?
      And is it possible to display image from a file like overlay ?
      Thanks for your help

      W 1 Reply Last reply Reply Quote 0
      • W
        watchever @watchever last edited by

        I mean module VEYE-MIPI-462

        veye_xumm 1 Reply Last reply Reply Quote 0
        • veye_xumm
          veye_xumm @watchever last edited by

          @watchever

          Hello, is it possible to set saturation, contrast, shutter speed and iso of camera module VEYE-MIPI-290 during preview in python language ?

          Yes, You can use this shell script :
          http://wiki.veye.cc/index.php/VEYE-MIPI-290/327_i2c/

          And is it possible to display image from a file like overlay ?

          I don't quite understand what you mean. Could you elaborate on it?

          1 Reply Last reply Reply Quote 0
          • W
            watchever last edited by

            @veye_xumm, thanks a lot for you quick answer.
            I was using PiCamera python package to access the new HQ RaspiCam with IMX477 sensor.
            From there, you can easily set dynamicaly saturation, contrats (there are set_contrast, set_saturation functions),which is a bit cleaner than using sh scripts. Do you think it is possible to add such functions in your D_mipicam.c file and call them from Python ?
            If not I will call the shell script.

            Regarding the overlay, as I work in full terminal mode (no xwindow), I was wondering if it was possible to display a (for example) jpg image using your API ? I know that MMAL can do that with overlay renderer.

            And other questions for you 🙂 :

            • As PiCamera is a python package that fully rely on MMAL, do you know if it can work with your VEYE-IMX462 camera ?
            • Is it possible from your API to convert a capture to a numpy array. I think that's what asarray method in buffer doing but not sure.

            Thanks for your precious help

            Regards

            veye_xumm 1 Reply Last reply Reply Quote 0
            • W
              watchever last edited by

              And does the source code of libveyecam.a library available somewhere ?
              Thanks

              veye_xumm 1 Reply Last reply Reply Quote 0
              • W
                watchever last edited by

                And sorry another question. If I set saturation, contrast from this script (through Python), and then make a capture from mipi_camera instance in my python program will it use my saturation, contrast setting to make the capture ?

                veye_xumm 1 Reply Last reply Reply Quote 0
                • veye_xumm
                  veye_xumm @watchever last edited by

                  @watchever This is not open for the time being, sorry.

                  1 Reply Last reply Reply Quote 0
                  • veye_xumm
                    veye_xumm @watchever last edited by

                    @watchever
                    yes

                    1 Reply Last reply Reply Quote 0
                    • veye_xumm
                      veye_xumm @watchever last edited by

                      @watchever

                      As PiCamera is a python package that fully rely on MMAL, do you know if it can work with your VEYE-IMX462 camera ?

                      I think it could not work.

                      1 Reply Last reply Reply Quote 0
                      • W
                        watchever last edited by

                        @veye_xumm, thanks for answer. Is there any possibility to set camera params by using a structure from libdmipicam.so rather than using shell script.

                        Thanks

                        veye_xumm 1 Reply Last reply Reply Quote 0
                        • veye_xumm
                          veye_xumm @watchever last edited by

                          @watchever
                          We do not provide such an interface for the time being. This shell script actually calls the i2C read-write function implemented by the C language. It's all open source.
                          It should be able to implement the method you are talking about.

                          1 Reply Last reply Reply Quote 0
                          • W
                            watchever last edited by

                            @veye_xumm,
                            Ok I am going to implement this in C language.
                            However do you know if there is a guide regarding the registers of the VEYE module on I2C, possible values and what they are doing.

                            I see that there are common steps to set value using registers 0x10, 0x11, 0x12, 0x13, but not clear for me.

                            Thanks for your help

                            1 Reply Last reply Reply Quote 0
                            • W
                              watchever last edited by

                              And you confirm that this shell script works with the VEYE-MIPI-IMX462 module ?

                              veye_xumm 1 Reply Last reply Reply Quote 0
                              • veye_xumm
                                veye_xumm @watchever last edited by

                                @watchever

                                And you confirm that this shell script works with the VEYE-MIPI-IMX462 module ?

                                yes.

                                1 Reply Last reply Reply Quote 0
                                • W
                                  watchever last edited by

                                  This post is deleted!
                                  1 Reply Last reply Reply Quote 0
                                  • W
                                    watchever last edited by

                                    This post is deleted!
                                    1 Reply Last reply Reply Quote 0
                                    • W
                                      watchever last edited by

                                      @veye_xumm, I see lot of methods in RaspiCamControl.c file that seem to control contrast (raspicamcontrol_set_contrast), saturation and lot of others parameters for the camera.
                                      Can I use them to set VEYE_MIPI_IMX462 parameters rather than using I2C shell scripts ? It would be more convenient.

                                      Thanks for your help

                                      veye_xumm 1 Reply Last reply Reply Quote 0
                                      • veye_xumm
                                        veye_xumm @watchever last edited by

                                        @watchever said in saturation, contrast, shutter speed, iso on VEYE-MIPI-462:

                                        RaspiCamControl

                                        Hi,
                                        I think it could not work.
                                        RaspiCamControl.c control the isp moudle inside RPI, while VEYE camera use ISP outside RPI.

                                        1 Reply Last reply Reply Quote 0
                                        • W
                                          watchever last edited by

                                          Thanks for your reply. Can you also tell me if you have some help regarding the I2C registers of the camera. The VEYE shell script is well documented for value of register 0x12 but nothing about 0x10, 0x11 and 0x13 registers and values.

                                          veye_xumm 1 Reply Last reply Reply Quote 0
                                          • veye_xumm
                                            veye_xumm @watchever last edited by

                                            @watchever
                                            There are multiple modules inside the camera, and these registers are set to access multiple modules through an i2C address.
                                            Customers need to strictly follow the function of the shell script to access a full function.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post