Jump to content

Sony IMX230 Linux driver: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 1: Line 1:
<seo title="Sony IMX230 Driver | Sony IMX230 Linux driver for NVIDIA Jetson | RidgeRun" titlemode="replace" keywords="GStreamer, Linux SDK, Linux BSP,  Embedded Linux, Device Drivers, Nvidia, Xilinx, TI, NXP, Freescale, Embedded Linux driver development, Linux Software development, Embedded Linux SDK, Embedded Linux Application development, GStreamer Multimedia Framework, IMX230, Sony IMX230, V4L2 Driver, IMX2XX, IMX230 Jetson TX1, IMX230 Jetson TX2, Sony IMX230 Linux driver, Sony IMX230 Nvdia Jetson"  description="Learn more about Sony IMX230 Linux driver for Nvidia Jetson from RidgeRun today."></seo>
<seo title=" Sony IMX230 Driver | Sony IMX230 Linux driver for NVIDIA Jetson | RidgeRun" titlemode="replace" keywords=" GStreamer, Linux SDK, Linux BSP,  Embedded Linux, Device Drivers, Nvidia, Xilinx, TI, NXP, Freescale, Embedded Linux driver development, Linux Software development, Embedded Linux SDK, Embedded Linux Application development, GStreamer Multimedia Framework, IMX230, Sony IMX230, V4L2 Driver, IMX2XX, IMX230 Jetson TX1, IMX230 Jetson TX2, Sony IMX230 Linux driver, Sony IMX230 NVIDIA Jetson"  description="Learn more about Sony IMX230 Linux driver for Nvidia Jetson from RidgeRun today."></seo>


<table>
<table>
Line 330: Line 330:
* Follow the instructions in [[Compiling_Jetson_TX1/TX2_source_code#Downloading_the_code | Compiling_Tegra_X1/TX2_source_code (Downloading the code)]] to get the kernel source code.
* Follow the instructions in [[Compiling_Jetson_TX1/TX2_source_code#Downloading_the_code | Compiling_Tegra_X1/TX2_source_code (Downloading the code)]] to get the kernel source code.


* If you didn't have download the toolchain yet, follow the instrucions in [[Compiling_Jetson_TX1/TX2_source_code#Toolchain | Compiling_Tegra_TX1/TX2_source_code (Toolchain)]]
* If you didn't have download the toolchain yet, follow the instructions in [[Compiling_Jetson_TX1/TX2_source_code#Toolchain | Compiling_Tegra_TX1/TX2_source_code (Toolchain)]]


* Once you have the source code, apply the patches for fix kernel error during compilation and add the support for the IMX230:
* Once you have the source code, apply the patches for fix kernel error during compilation and add the support for the IMX230:
Line 359: Line 359:
==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 385: Line 385:
</pre>
</pre>


Bayer2rgb will convert naked (no header) bayer grid data into rgb data. There are several choices of interpolation (though they all look essentially the same to my eye). It can output tiff files, and can integrate with ImageMagick to output other formats.
Bayer2rgb will convert naked (no header) Bayer grid data into RGB data. There are several choices of interpolation (though they all look essentially the same to my eye). It can output tiff files and can integrate with ImageMagick to output other formats.


*1920x1080
*1920x1080
Line 408: Line 408:
'''Important Note 1:''' In general the first buffer contains very low light because the AWB algorithm of the sensor is calibrating, so we recommend to use 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.  
'''Important Note 1:''' In general the first buffer contains very low light because the AWB algorithm of the sensor is calibrating, so we recommend to use 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.  


'''Important Note 2:''' The debayered image obtained as the output when use 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.
'''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.


==== Snapshots with nvcamerasrc ====
==== Snapshots with nvcamerasrc ====
Line 470: Line 470:
=== 3 Camera Capture ===
=== 3 Camera Capture ===


The following image consists in a Jetson TX1 with three IMX230 cameras connected at the board
The following image consists of a Jetson TX1 with three IMX230 cameras connected at the board


==== V4l2src ====
==== V4l2src ====
Line 610: Line 610:
</pre>
</pre>


The average for each core while dual capturing is: [22.64%, 21.14%, 25.07% , 27.64%] and the memory is 2429MB for the total system, for only the dual capture the armload is [15.37%, 18.85%, 22.81%, 22.81%] for each core and takes 609MB of memory.
The average for each core while dual capturing is: [22.64%, 21.14%, 25.07%, 27.64%] and the memory is 2429MB for the total system, for only the dual capture the armload is [15.37%, 18.85%, 22.81%, 22.81%] for each core and takes 609MB of memory.


{{ContactUs}}
{{ContactUs}}


[[Category:Jetson]][[Category:Jetson V4L2 Drivers]]
[[Category:Jetson]][[Category:Jetson V4L2 Drivers]]
Cookies help us deliver our services. By using our services, you agree to our use of cookies.