Jump to content

Sony IMX230 Linux driver: Difference between revisions

m
mNo edit summary
Line 111: Line 111:
==Using the driver (GStreamer examples)==
==Using the driver (GStreamer examples)==


The Gstreamer version distributed with Jetpack doesn't support Bayer RAW10 only RAW8 so GStreamer needs to be patched in order to capture using v4l2src. Follow the steps in the following wiki page to add the support for RAW10:
The GStreamer version distributed with Jetpack doesn't support Bayer RAW10 only RAW8 so GStreamer needs to be patched in order to capture using v4l2src. Follow the steps in the following wiki page to add the support for RAW10:


[[Compile_gstreamer_on_Jetson_TX1_and_TX2]]
[[Compile_gstreamer_on_Jetson_TX1_and_TX2]]
Line 162: Line 162:
</pre>
</pre>


'''Important Note 1:''' In general the first buffer contains very low light because the AWB algorithm of the sensor is calibrating, so we recommend using multifilesink to test debayer with a buffer above from number one. To obtain better image colors and bright quality, due to automatic sensor image calibration, we recommend to test debayer with a frame above number 10, to give time to the sensor to adjust the best image calibration parameters.  
{{Ambox
|type=notice
|small=left
|issue='''Important Note 1:''' In general the first buffer contains very low light because the AWB algorithm of the sensor is calibrating, so we recommend using multifilesink to test debayer with a buffer above from number one. To obtain better image colors and bright quality, due to automatic sensor image calibration, we recommend to test debayer with a frame above number 10, to give time to the sensor to adjust the best image calibration parameters.
|style=width:unset;
}}


'''Important Note 2:''' The debayered image obtained as the output when using the "bayer2rgb" tool presents some kind of light saturation, viewed as multiple color pixels sections. This is a problem of the tool used to do the debayer process but led the users to verify that the driver and camera sensor is working fine.
{{Ambox
|type=notice
|small=left
|issue='''Important Note 2:''' The debayered image obtained as the output when using the "bayer2rgb" tool presents some kind of light saturation, viewed as multiple color pixels sections. This is a problem of the tool used to do the debayer process but led the users to verify that the driver and camera sensor is working fine.
|style=width:unset;
}}


==== Snapshots with nvcamerasrc ====
==== Snapshots with nvcamerasrc ====
Line 201: Line 211:
</pre>
</pre>


'''Important Note:''' This tool converts from GRBG10 to pnm. We capture RGGB in the IMX230, so you will see that the colors at the output of the image are wrong.
{{Ambox
|type=notice
|small=left
|issue='''Important Note:''' This tool converts from GRBG10 to pnm. We capture RGGB in the IMX230, so you will see that the colors at the output of the image are wrong.
|style=width:unset;
}}


In order to capture 10 buffers and save them in a file, you can run the following pipelines:
In order to capture 10 buffers and save them in a file, you can run the following pipelines:
Cookies help us deliver our services. By using our services, you agree to our use of cookies.