Line 54: |
Line 54: |
| -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,mshutter | + | support functions: devid,hdver,wdrmode,videoformat,mirrormode,denoise,agc,lowlight,daynightmode,ircutdir,irtriggerhutter |
| + | |
| + | cameramode, nodf, capture, csienable,saturation,wdrbtargetbr,wdrtargetbr, brightness ,contrast , sharppen, aespeed,lsc,boardmodel,yuvseq,i2cauxenable,i2cwen |
| | | |
| Pi3B / Pi3B+ / 3A / 4B(1G/2G/4G),we use i2c0 | | Pi3B / Pi3B+ / 3A / 4B(1G/2G/4G),we use i2c0 |
Line 104: |
Line 106: |
| !value | | !value |
| !description | | !description |
| + | !frame rate |
| |- | | |- |
| |PAL | | |PAL |
| |PAL(50Hz) | | |PAL(50Hz) |
| + | |25fps |
| |- | | |- |
| |NTSC | | |NTSC |
| |NTSC(60Hz) | | |NTSC(60Hz) |
| + | |30fps |
| |} | | |} |
| =====mirrormode===== | | =====mirrormode===== |
Line 369: |
Line 374: |
| | | |
| Caputre mode: output the next frame each '''capture''' cmd. | | Caputre mode: output the next frame each '''capture''' cmd. |
− | =====notf===== | + | =====nodf===== |
| Requirements:hdver >= 0x3, effective in Stream mode | | Requirements:hdver >= 0x3, effective in Stream mode |
| | | |
| Number of dropped frames | | Number of dropped frames |
| | | |
− | It is a method of framerate control, output one frame,discard '''notf''' frames,output next frame, and so on. | + | It is a method of framerate control, output one frame,discard '''nodf''' frames,output next frame, and so on. |
| | | |
− | ''actual framerate = original framerate /(1+notf)'' | + | ''actual framerate = original framerate /(1+nodf)'' |
| | | |
− | For example,if the original framerate is 30fps, set '''notf''' to 2, then ''actual framerate'' is 10fps. | + | For example,if the original framerate is 30fps, set '''nodf''' to 2, then ''actual framerate'' is 10fps. |
| | | |
− | <code>./veye_mipi_i2c.sh -r -f notf</code> | + | <code>./veye_mipi_i2c.sh -r -f nodf</code> |
| | | |
− | <code>./veye_mipi_i2c.sh -w -f notf -p1 [value]</code> | + | <code>./veye_mipi_i2c.sh -w -f nodf -p1 [value]</code> |
| | | |
| '''ntof''' range is [0-0xFF], default 0. | | '''ntof''' range is [0-0xFF], default 0. |
Line 471: |
Line 476: |
| | | |
| Takes effect in WDR mode. range: [0-0xFF], default : 0x80. | | Takes effect in WDR mode. range: [0-0xFF], default : 0x80. |
− | <br /> | + | |
| + | ===== boardmodel ===== |
| + | <code>./veye_mipi_i2c.sh -r -f boardmodel</code> |
| + | |
| + | Requirment: hdver >=4. |
| + | |
| + | Read the board number of the board, which can be used to distinguish between VEYE-MIPI-327 and VEYE-MIPI-IMX327S. |
| + | |
| + | ===== i2cwen ===== |
| + | <code>./veye_mipi_i2c.sh -r -f i2cwen</code> |
| + | |
| + | <code>./veye_mipi_i2c.sh -w -f i2cwen -p1 [0/1]</code> |
| + | |
| + | Requirment: hdver >=4. |
| + | |
| + | Whether to enable the i2C write register function of the camera, enabled by default. It is used for register write protection in special cases. |
| + | |
| + | ===== i2cauxenable ===== |
| + | <code>./veye_mipi_i2c.sh -r -f i2cauxenable</code> |
| + | |
| + | <code>./veye_mipi_i2c.sh -w -f i2cauxenable -p1 [0/1]</code> |
| + | |
| + | Requirment: hdver >=4. |
| + | |
| + | Whether to enable auxiliary i2C. If enable auxiliary i2C, the primary i2C on the FFC cable cannot be used. Used for bus conflict resolution in special cases. |
| + | ===== awbgain ===== |
| + | <code>./veye_mipi_i2c.sh -r -f awbgain</code> |
| + | |
| + | Read the Rgain and Bgain of the current white balance status , parameter range [0,0xFF]. |
| + | =====wbmode===== |
| + | <code>./veye_mipi_i2c.sh -r -f wbmode</code> |
| + | |
| + | <code>./veye_mipi_i2c.sh -w -f wbmode -p1 [value]</code> |
| + | |
| + | White balance mode setting. |
| + | {| class="wikitable" |
| + | !value |
| + | !description |
| + | |- |
| + | |0x18 |
| + | |Auto white balance |
| + | |- |
| + | |0x1B |
| + | | Manual white balance |
| + | |} |
| + | ===== mwbgain===== |
| + | <code>./veye_mipi_i2c.sh -r -f mwbgain</code> |
| + | |
| + | <code>./veye_mipi_i2c.sh -w -f wbmode -p1 [rgain] -p2 [bgain]</code> |
| + | |
| + | Rgain and Bgain setting in manual white balance mode.arameter range [0,0xFF]. |