SOLVED saturation, contrast, shutter speed, iso on VEYE-MIPI-462
-
@watchever
yes -
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.
-
@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
-
@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. -
@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
-
And you confirm that this shell script works with the VEYE-MIPI-IMX462 module ?
-
-
This post is deleted! -
This post is deleted! -
@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
-
@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. -
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.
-
@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. -
Sorry again for all this questions and thanks a lot for your great help. My last question is regarding the picture format. Is RGB format available ?
I add a IMAGE_ENCODING_RGB FOURCC('R', 'G', 'B', '') in D_mipicam.h . So if I create an IMAGE_FORMAT with this value for encoding member, will it be enough ? -
@watchever said in saturation, contrast, shutter speed, iso on VEYE-MIPI-462:
Is RGB format available ?
NO.
This camera module support YUV422(VYUY or YUYV) only. -
And Yuv420 of course ?
-
@watchever said in saturation, contrast, shutter speed, iso on VEYE-MIPI-462:
Yuv420 of course ?
no,just yuv422
-
Btw I can capture I420 and JPEG images with my VEYE IMX462 module and it works fine.
-
@watchever
These are software functions. -
@veye_xumm said in saturation, contrast, shutter speed, iso on VEYE-MIPI-462:
YUV422(VYUY or YUYV)
Just one more question regarding this format, how can I know that it is VYUY or YUYV. It is important because I want to convert to RGB and the converting algo is not the same.
I you ever have a python piece of code to convert the buffer.as_array returned numpy array to RGB numpy array it would be a great great help for me !!Thanks