Line 52: |
Line 52: |
| -b [i2c bus num] i2c bus number | | -b [i2c bus num] i2c bus number |
| | | |
− | support functions: devid,hdver,wdrmode,videoformat,mirrormode,denoise,agc,lowlight,daynightmode,ircutdir,irtrigger | + | support functions: devid,hdver,wdrmode,videoformat,mirrormode,denoise,agc,lowlight,daynightmode,ircutdir,irtrigger,cameramode, notf, capture, csienable |
| | | |
| 对于树莓派Pi3B / Pi3B+ / 3A / 4B(1G/2G/4G),使用i2c0, '''对于Compute Module/ CM3,使用i2c1,请添加-b1 选项。''' | | 对于树莓派Pi3B / Pi3B+ / 3A / 4B(1G/2G/4G),使用i2c0, '''对于Compute Module/ CM3,使用i2c1,请添加-b1 选项。''' |
Line 352: |
Line 352: |
| |1/30 (25) *30 | | |1/30 (25) *30 |
| |} | | |} |
| + | =====cameramode===== |
| + | Requirements:hdver >= 0x3 |
| + | |
| + | <code>./veye_mipi_i2c.sh -r -f cameramode</code> |
| + | |
| + | <code>./veye_mipi_i2c.sh -w -f cameramode -p1 [value]</code> |
| + | {| class="wikitable" |
| + | !value |
| + | !description |
| + | |- |
| + | |0x0 |
| + | |Stream mode |
| + | |- |
| + | |0x1 |
| + | |Capture mode |
| + | |} |
| + | Stream mode: stream output |
| + | |
| + | Caputre mode: output the next frame each '''capture''' cmd. |
| + | |
| + | ===== notf ===== |
| + | Requirements:hdver >= 0x3, effective in Stream mode |
| + | |
| + | Number of dropped frames |
| + | |
| + | It is a method of framerate control, output one frame,discard '''notf''' frames,output next frame, and so on. |
| + | |
| + | ''actual framerate = original framerate /(1+notf)'' |
| + | |
| + | For example,if the original framerate is 30fps, set '''notf''' to 2, then ''actual framerate'' is 10fps. |
| + | |
| + | <code>./veye_mipi_i2c.sh -r -f notf</code> |
| + | |
| + | <code>./veye_mipi_i2c.sh -w -f notf -p1 [value]</code> |
| + | |
| + | '''ntof''' range is [0-0xFF], default 0. |
| + | |
| + | ===== capture ===== |
| + | Requirements:hdver >= 0x3, effective in Capture mode |
| + | |
| + | <code>./veye_mipi_i2c.sh -w -f capture</code> |
| + | |
| + | Output the next frame each cmd。This cmd does not interfere the sensor, it just output the next frame (the newest frame). |
| + | |
| + | So it is not trigger mode, there will be a delay[0,1/framerate] between the cmd and the frame exposure. |
| + | |
| + | It is applicable to those that do not require a high level of real-time performance. |
| + | |
| + | ===== csienable ===== |
| + | Requirements:hdver >= 0x3 |
| + | |
| + | <code>./veye_mipi_i2c.sh -r -f csienable</code> |
| + | |
| + | <code>./veye_mipi_i2c.sh -w -f csienable -p1 [value]</code> |
| + | {| class="wikitable" |
| + | !value |
| + | !description |
| + | |- |
| + | |0x0 |
| + | |suspend csi output |
| + | |- |
| + | |0x1 |
| + | |enable csi output |
| + | |} |
| + | default: 0x0 |
| + | |
| + | Note: This is not low power mode, the camera is still working. |