Line 1: |
Line 1: |
| + | [[5m mipi i2c user guide|English]] |
| + | |
| === 介绍 === | | === 介绍 === |
| 本脚本为开源程序,通过是对i2c寄存器的直接访问达到配置摄像头模组的目的。 | | 本脚本为开源程序,通过是对i2c寄存器的直接访问达到配置摄像头模组的目的。 |
Line 22: |
Line 24: |
| | | |
| -d [i2c addr] i2c addr if not default 0x3b | | -d [i2c addr] i2c addr if not default 0x3b |
| + | ===不同板子上的i2c序号=== |
| + | 请参考下面的文章,确定你所需要使用的-b参数。 |
| | | |
− | ==== i2c bus的说明 ====
| + | [http://wiki.veye.cc/index.php/I2c_bus_number_and_video_node i2c bus number on different boards] |
− | [[VEYE CS Camera for Jetson TX2#Video Control Toolkits Manual|jetson平台i2cbus的说明]]
| + | ===功能列表=== |
− | | |
− | ==== 格式说明 ====
| |
| 下列代码中[param]方括号中的部分,表示变量。 | | 下列代码中[param]方括号中的部分,表示变量。 |
− |
| |
− | ==== 使用详解 ====
| |
| | | |
| ===== manufacturer ===== | | ===== manufacturer ===== |
Line 363: |
Line 363: |
| |1/12.5 | | |1/12.5 |
| |} | | |} |
− | {|
| + | |
− | | 1 / 12.5 |
| |
| ===== mirrormode ===== | | ===== mirrormode ===== |
| <code>./veye5_mipi_i2c.sh -w -f mirrormode -p1 [0,0x03]</code> | | <code>./veye5_mipi_i2c.sh -w -f mirrormode -p1 [0,0x03]</code> |
Line 403: |
Line 402: |
| | | |
| ===== sharppen ===== | | ===== sharppen ===== |
− | <code>./veye5_mipi_i2c.sh -w -f sharppen -p1 [0,0x0f]</code> | + | <code>./veye5_mipi_i2c.sh -w -f sharppen -p1 [0x10,0x1D]</code> |
| | | |
| <code>./veye5_mipi_i2c.sh -r -f sharppen</code> | | <code>./veye5_mipi_i2c.sh -r -f sharppen</code> |
Line 412: |
Line 411: |
| !description | | !description |
| |- | | |- |
− | |0x00 | + | |0x10 |
| |关闭 | | |关闭 |
| |- | | |- |
− | | 0x09 | + | | 0x19 |
| |low | | |low |
| |- | | |- |
− | |0x0B | + | |0x1B |
| |middle | | |middle |
| |- | | |- |
− | |0x0C | + | |0x1D |
| |high | | |high |
| |} | | |} |
| | | |
− | <br /> | + | ===== saturation ===== |
− | |}
| + | <code>./veye5_mipi_i2c.sh -w -f saturation -p1 [0,0x0A]</code> |
| + | |
| + | <code>./veye5_mipi_i2c.sh -r -f saturation</code> |
| + | |
| + | 饱和度配置,默认为0xA。 |
| + | |
| + | ===== extra_color_gain ===== |
| + | <code>./veye5_mipi_i2c.sh -w -f extra_color_gain -p1 [0,0xFF]</code> |
| + | |
| + | <code>./veye5_mipi_i2c.sh -r -f extra_color_gain</code> |
| + | |
| + | 额外色彩增益,默认为0xC0。 |