Navigation

    VEYE IMAGING Forum

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Recent
    • Popular
    • Users
    • WIKI
    • veye.cc
    1. Home
    2. fuhesong
    F
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 18
    • Best 0
    • Groups 0

    fuhesong

    @fuhesong

    0
    Reputation
    2
    Profile views
    18
    Posts
    0
    Followers
    0
    Following
    Joined Last Online
    Email 80698126@qq.com

    fuhesong Follow

    Latest posts made by fuhesong

    • RE: 树莓派5+bookworm +IMX365 遇到问题

      pi@raspberrypi:~/raspberrypi_v4l2/i2c_cmd/source $ sudo ./make.sh

      问题:
      i2c_read.c: In function ‘main’:
      i2c_read.c:112:42: warning: passing argument 4 of ‘i2c_rd’ from incompatible pointer type [-Wincompatible-pointer-types]
      112 | i2c_rd(fd, device_addr,reg_addr, &value, num);
      | ^~~~~~
      | |
      | unsigned char (*)[512]
      i2c_read.c:20:68: note: expected ‘unsigned char ’ but argument is of type ‘unsigned char ()[512]’
      20 | static int i2c_rd(int fd, uint8_t i2c_addr, uint16_t reg, uint8_t *values, uint32_t n)
      5157972e-2e6f-451a-b0df-c2344adf9ed2-001.JPG

      pi@raspberrypi:~/raspberrypi_v4l2/i2c_cmd/source $ dmesg | grep veye
      [ 2.947096] veyecam2m: loading out-of-tree module taints kernel.
      [ 2.957137] veyecam2m 4-003b: Unable to load ds90ub954 driver,will go on
      [ 2.984139] rp1-cfe 1f00110000.csi: found subdevice /axi/pcie@120000/rp1/i2c@88000/veyecam2m@3b
      [ 2.984914] rp1-cfe 1f00128000.csi: found subdevice /axi/pcie@120000/rp1/i2c@80000/veyecam2m@3b
      [ 3.082974] veyecam2m 4-003b: camera id is veyecam2m
      [ 3.084546] veyecam2m 4-003b: sensor is IMX385
      [ 3.084552] veyecam2m 4-003b: board type is ONE board
      [ 3.084970] rp1-cfe 1f00128000.csi: Using sensor veyecam2m 4-003b for capture
      [ 3.106635] veyecam2m 4-003b: veyecam2m camera probed
      [ 3.113508] veyecam2m 6-003b: Unable to load ds90ub954 driver,will go on
      [ 3.229811] veyecam2m 6-003b: probe failed
      pi@raspberrypi:~/raspberrypi_v4l2/i2c_cmd/source $ cd
      cd raspberrypi_v4l2/rpi5_scripts
      ./media_setting_rpi5.sh veyecam2mpi@raspberrypi:~ $ cd raspberrypi_v4l2/rpi5_scripts
      pi@raspberrypi:~/raspberrypi_v4l2/rpi5_scripts $ ./media_setting_rpi5.sh veyecam2m
      This is a Raspberry Pi 5.
      camera is YUV type
      camera name veyecam2m; width 1920; height 1080; media_fmt UYVY8_1X16; pixel_fmt UYVY
      CAM1 probed: media device is /dev/media2
      set CAM1 finish, plese get frame from /dev/video0 and use /dev/v4l-subdev2 for camera setting
      veyecam2m 6 NOT FOUND
      pi@raspberrypi:~/raspberrypi_v4l2/rpi5_scripts $

      posted in Raspberry Pi App Software
      F
      fuhesong
    • RE: 树莓派5+bookworm +IMX365 遇到问题

      树莓派5 IMX385 驱动有问题。

      Linux raspberrypi 6.1.0-rpi7-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.63-1+rpt1 (2023-11-24) aarch64

      The programs included with the Debian GNU/Linux system are free software;
      the exact distribution terms for each program are described in the
      individual files in /usr/share/doc/*/copyright.

      Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
      permitted by applicable law.
      Last login: Sun Apr 28 23:12:10 2024
      pi@raspberrypi:~ $ lsb_release -a
      No LSB modules are available.
      Distributor ID: Raspbian
      Description: Raspbian GNU/Linux 12 (bookworm)
      Release: 12
      Codename: bookworm

      pi@raspberrypi:~ $ dmesg | grep veye
      [ 2.853277] rp1-cfe 1f00110000.csi: found subdevice /axi/pcie@120000/rp1/i2c@88000/veyecam2m@3b
      [ 2.854115] rp1-cfe 1f00128000.csi: found subdevice /axi/pcie@120000/rp1/i2c@80000/veyecam2m@3b
      [ 2.905857] veyecam2m: loading out-of-tree module taints kernel.
      [ 2.975811] veyecam2m 4-003b: Unable to load ds90ub954 driver,will go on
      [ 3.089981] veyecam2m 4-003b: camera id is veyecam2m
      [ 3.091543] veyecam2m 4-003b: sensor is IMX385
      [ 3.091549] veyecam2m 4-003b: board type is ONE board
      [ 3.091964] rp1-cfe 1f00128000.csi: Using sensor veyecam2m 4-003b for capture
      [ 3.097088] veyecam2m 4-003b: veyecam2m camera probed
      [ 3.109128] veyecam2m 6-003b: Unable to load ds90ub954 driver,will go on
      [ 3.221592] veyecam2m 6-003b: probe failed

      pi@raspberrypi:~/raspberrypi_v4l2/rpi5_scripts $ ./media_setting_rpi5.sh veyecam2m
      This is a Raspberry Pi 5.
      camera is YUV type
      camera name veyecam2m; width 1920; height 1080; media_fmt UYVY8_1X16; pixel_fmt UYVY
      CAM1 probed: media device is /dev/media2
      set CAM1 finish, plese get frame from /dev/video0 and use /dev/v4l-subdev2 for camera setting
      veyecam2m 6 NOT FOUND

      使用FFMPEG 推流
      ffmpeg -re -i 001.mp4 -c:v libx264 -preset veryfast -c:a aac -f flv rtmp://192.168.3.10:5000/live/MeteorMaster
      正常
      aa2d7cfc-184a-4a8d-a8a1-bc6f6a937f59-0001.JPG

      使用镜头推流,出错
      ffmpeg -re -i /dev/video0 -c:v libx264 -preset veryfast -c:a aac -f flv rtmp://192.168.3.10:5000/live/MeteorMaster

      3c0b23f4-934c-4aa5-aeb2-fe2422616157-002.JPG

      posted in Raspberry Pi App Software
      F
      fuhesong
    • 树莓派5+bookworm +IMX365 遇到问题

      版本为:Linux raspberrypi 6.1.0-rpi7-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.63-1+rpt1 (2023-11-24) aarch64

      镜头sensor is IMX385

      使用测试成功
      gst-launch-1.0 v4l2src device=/dev/video0 ! "video/x-raw,format=(string)UYVY, width=(int)1920, height=(int)1080,framerate=(fraction)30/1" ! videoconvert ! autovideosink sync=false -v
      6115d429-1491-4bd3-bbb6-810653e95182-001.JPG

      使用推流就有出错(WARNING: erroneous pipeline: no element "v4l2h264enc")
      gst-launch-1.0 -v v4l2src device=/dev/video0 num-buffers=-1 ! "video/x-raw,format=(string)UYVY, width=(int)1920, height=(int)1080,framerate=(fraction)30/1" ! clockoverlay time-format="%D %H:%M:%S" font-desc="Sans 10" ! v4l2h264enc extra-controls="controls, h264_profile=4, video_bitrate=8000000" ! 'video/x-h264, profile=high, level=(string)4' ! h264parse ! flvmux ! rtmpsink location=rtmp://192.168.3.10:5000/live/MeteorMaster

      树莓派4B+bullseye系统没有这个问题。

      另外使用树莓派5+2024-03-15-raspios-bookworm-arm64-full .img 无法安装驱动

      posted in Raspberry Pi App Software
      F
      fuhesong
    • RE: 树莓派4B +IMX462+FFMPEG+meteor master ai 流星监控方案 不断更新

      LivePushStream_2024-04-21_04.49.41.300_04.49.44.300_流星数1.jpg

      http://hainanftp.net/lx/LivePushStream_2024-04-21_04.49.41.300_04.49.44.300_流星数1.mp4

      posted in Raspberry Pi App Software
      F
      fuhesong
    • RE: 树莓派4B +IMX462+FFMPEG+meteor master ai 流星监控方案 不断更新

      @veye_xumm 已经安装在乡下了,请问如何设置白天、晚上自动转相机参数? 是用PY脚本?还是SH脚本?

      晚上需要帧率1/25 或1/30 ,NTSC,宽广度关闭,自动白平衡、对比度50%等等

      posted in Raspberry Pi App Software
      F
      fuhesong
    • RE: 树莓派4B +IMX462+FFMPEG+meteor master ai 流星监控方案 不断更新

      六、组装清单
      自己DIY组装才有乐趣。
      最终形态
      17.jpg

      10.jpg

      09.jpg

      2、某鱼购买二手树莓派4G\8G
      001.jpeg

      3、购买POE模块,可以不用额外花钱买电源线、风扇、HDMI线,买个64G SD卡就可以,其他都可以远程操作树莓派。
      02.jpg

      4、购买模组RAW-MIPI-IMX462M或者VEYE-MIPI-IMX462
      03.jpg

      5、购买镜头
      ①镜头可以参考首选镜头是 4mm f/0.95 M16 镜头,提供 ~88x45° 视野。
      ②在城市天空中,或者如果您有很多障碍物(树木、建筑物等),我们建议使用以下 ~55x30° 视野的 6mm 镜头:6mm f/0.95 M16
      ③在光线污染严重的城市天空中,另一种选择是 8mm f/0.9 M16 镜头,它提供 ~40x20° 的视野:8毫米f/0.9 M16
      ④为了观察较暗的流星,可以使用以下 16mm f/1.0 镜头,该镜头仅提供有限的 20x10° 视野。
      16mm f/1.0 CS 镜头
      04.jpg

      6、购买外壳,类似这种,刚好可以安装树莓派和镜头模组,建议后面自己打小孔散热,但要组装水是进不来。

      07.jpg

      18.jpg

      19.jpg

      7、其他配件(亚克力板自己切或让某宝切好,主要固定树莓派主板),SD卡买C10以上的速率

      16.jpg

      05.jpg

      06.jpg

      08.jpg

      13.jpg

      14.jpg

      15.jpg

      posted in Raspberry Pi App Software
      F
      fuhesong
    • RE: 树莓派4B +IMX462+FFMPEG+meteor master ai 流星监控方案 不断更新

      @veye_xumm 2024年某康监控拍到的流星合集(不断更新):链接:https://pan.baidu.com/s/118Q9dxjkVHFVwKr1SvnPcw?pwd=thrb
      提取码:thrb

      七级光污染城市,F0.95 4MM 镜头拍到的开光流星,把监控扔到乡下2-4级光污染会好很多。这是使用meteor master ai导出来的图片
      c03f8bc5-9b68-4e4a-b855-0087cd2b0ac0-LivePushStream_2024-04-03_03.49.41.65_03.49.43.872_流星数1.jpg

      posted in Raspberry Pi App Software
      F
      fuhesong
    • RE: 树莓派4B +IMX462+FFMPEG+meteor master ai 流星监控方案 不断更新

      要想方便,直接访问这个网站,自动转化。字节数组与十六进制互转

      https://www.toolhelper.cn/EncodeDecode/ByteArrayHex

      33855566-c3b5-4e69-892e-26c773145d93-image.png

      ASCII对应码表-键值(完整版)

      
      
      	(十进制)	(十六进制)
      	0	0x00
      	1	0x01
      	2	0x02
      	3	0x03
      	4	0x04
      	5	0x05
      	6	0x06
      	7	0x07
      	8	0x08
      	9	0x09
      	10	0x0A
      	11	0x0B
      	12	0x0C
      	13	0x0D
      	14	0x0E
      	15	0x0F
      	16	0x10
      	17	0x11
      	18	0x12
      	19	0x13
      	20	0x14
      	21	0x15
      	22	0x16
      	23	0x17
      	24	0x18
      	25	0x19
      	26	0x1A
      	27	0x1B
      	28	0x1C
      	29	0x1D
      	30	0x1E
      	31	0x1F
      	32	0x20
      	33	0x21
      	34	0x22
      	35	0x23
      	36	0x24
      	37	0x25
      	38	0x26
      	39	0x27
      	40	0x28
      	41	0x29
      	42	0x2A
      	43	0x2B
      	44	0x2C
      	45	0x2D
      	46	0x2E
      	47	0x2F
      	48	0x30
      	49	0x31
      	50	0x32
      	51	0x33
      	52	0x34
      	53	0x35
      	54	0x36
      	55	0x37
      	56	0x38
      	57	0x39
      	58	0x3A
      	59	0x3B
      	60	0x3C
      	61	0x3D
      	62	0x3E
      	63	0x3F
      	64	0x40
      	65	0x41
      	66	0x42
      	67	0x43
      	68	0x44
      	69	0x45
      	70	0x46
      	71	0x47
      	72	0x48
      	73	0x49
      	74	0x4A
      	75	0x4B
      	76	0x4C
      	77	0x4D
      	78	0x4E
      	79	0x4F
      	80	0x50
      	81	0x51
      	82	0x52
      	83	0x53
      	84	0x54
      	85	0x55
      	86	0x56
      	87	0x57
      	88	0x58
      	89	0x59
      	90	0x5A
      	91	0x5B
      	92	0x5C
      	93	0x5D
      	94	0x5E
      	95	0x5F
      	96	0x60
      	97	0x61
      	98	0x62
      	99	0x63
      	100	0x64
      	101	0x65
      	102	0x66
      	103	0x67
      	104	0x68
      	105	0x69
      	106	0x6A
      	107	0x6B
      	108	0x6C
      	109	0x6D
      	110	0x6E
      	111	0x6F
      	112	0x70
      	113	0x71
      	114	0x72
      	115	0x73
      	116	0x74
      	117	0x75
      	118	0x76
      	119	0x77
      	120	0x78
      	121	0x79
      	122	0x7A
      	123	0x7B
      	124	0x7C
      	125	0x7D
      	126	0x7E
      	127	0x7F
      posted in Raspberry Pi App Software
      F
      fuhesong
    • RE: 树莓派4B +IMX462+FFMPEG+meteor master ai 流星监控方案 不断更新

      五、调整镜头参数
      1、64位系统要重新编译下,地址在raspberrypi_v4l2/i2c_cmd/source/,执行下make.sh文件

      cd raspberrypi_v4l2/i2c_cmd/source/
      chmod +x *
      sudo ./make.sh

      返回目录raspberrypi_v4l2/i2c_cmd/

      cd ..

      执行
      ./veye_mipi_i2c.sh

      显示
      options:
      -r read
      -w write
      -f [function name] function name
      -p1 [param1] param1 of each function
      -p2 [param1] param2 of each function
      -b [i2c bus num] i2c bus number
      -d [i2c addr] i2c addr if not default 0x3b
      support functions: devid,hdver,sensorid,wdrmode,videoformat,mirrormode,denoise,agc,lowlight,daynightmode,ircutdir,irtrigger mshutter,curshutter
      cameramode, nodf, capture, csienable,saturation,wdrbtargetbr,wdrtargetbr, brightness ,contrast , sharppen,wdrsharppen aespeed,lsc,boardmodel,yuvseq,i2cauxenable,i2cwen,awbgain,wbmode,mwbgain,antiflicker,awb_boffset,blcstrength,blcpos,paramsave
      new_expmode,new_mshutter,new_mgain

      2、参考地址
      VEYE-MIPI-X I2C.sh用户手册
      https://wiki.veye.cc/index.php/VEYE-MIPI-290/327_i2c/zh

      3、下载VNC远程打开树莓派
      下载地址:https://www.realvnc.com/en/
      由于树莓派没有连接显示器,VNC远程连接会提示错误。需要改变树莓派VNC的分辨率
      sudo nano /boot/config.txt
      语句位置在28、29行。将hdmi_group、hdmi_mode前的#去掉。
      新添语句:hdmi_ignore_edid=0xa500080

      uncomment to force a specific HDMI mode (this will force VGA)

      hdmi_group=2
      hdmi_mode=82
      hdmi_ignore_edid=0xa500080

      要想关闭树莓派的电源指示灯和状态指示灯
      dtparam=act_led_trigger=none
      dtparam=pwr_led_trigger=none

      最后别忘记ctrl+s保存文件,命令终端输入reboot等待重新载入桌面即可。
      参考地址https://blog.csdn.net/ownmonent/article/details/126319919?spm=1001.2014.3001.5506

      使用VNC连接树莓派,打开VLC, 连接镜头,用于调试参数。
      参考地址7.1 使用VLC预览图像
      https://wiki.veye.cc/index.php/V4L2_mode_for_Raspberry_Pi/zh

      图片一
      3c29fb4f-7e79-42dc-936f-d7a72ce2a3b2-image.png

      4、重要参数 调整,监控流星与其他不一样。

      5.4 wdrmode
      ./veye_mipi_i2c.sh -r -f wdrmode
      ./veye_mipi_i2c.sh -w -f wdrmode -p1 [value]
      value description
      0x00 Back Light Mode OFF
      0x01 Back Light Mode ON, LOW
      0x02 Back Light Mode ON, HIGH
      0x03 DOL WDR Enable
      背光模式
      0x00背光模式关闭
      0x01背光模式开启,低
      0x02背光模式开启,高
      0x03 DOL WDR启用
      输入:
      ./veye_mipi_i2c.sh -w -f wdrmode -p1 0x00
      查看结果:
      ./veye_mipi_i2c.sh -r -f wdrmode

      5.5 videoformat
      ./veye_mipi_i2c.sh -r -f videoformat
      ./veye_mipi_i2c.sh -w -f videoformat -p1 [value]
      WARNING:THIS FUNCTION MUST BE CALLED BEFORE ANY video applications
      value description frame rate
      PAL PAL(50Hz) 25fps
      NTSC NTSC(60Hz) 30fps
      视频格式
      PAL PAL(50Hz)25fps
      NTSC NTSC(60Hz)每秒30帧

      输入:
      ./veye_mipi_i2c.sh -w -f videoformat -p1 NTSC
      查看:
      ./veye_mipi_i2c.sh -r -f videoformat

      5.6 mirrormode
      ./veye_mipi_i2c.sh -r -f mirrormode
      ./veye_mipi_i2c.sh -w -f mirrormode -p1 [value]
      value description
      0x00 Normal
      0x01 Mirror
      0x02 V-Flip
      0x03 Mirror And V-Flip(180 Degree Rotate)
      反光镜模式
      0x00正常
      0x01镜像
      0x02 V型翻转
      0x03镜像和V型翻转(180度旋转)

      ./veye_mipi_i2c.sh -w -f mirrormode -p1 0x00
      查看:
      ./veye_mipi_i2c.sh -r -f mirrormode

      5.7 denoise
      ./veye_mipi_i2c.sh -r -f denoise
      ./veye_mipi_i2c.sh -w -f denoise -p1 [value]
      value description
      0x00 NR 2D Mode = OFF; NR 3D Mode = OFF
      0x01 NR 2D Mode = OFF; NR 3D Mode = LOW
      0x02 NR 2D Mode = OFF; NR 3D Mode = MIDDLE
      0x03 NR 2D Mode = OFF; NR 3D Mode = HIGH
      0x04 NR 2D Mode = LOW; NR 3D Mode = OFF
      0x05 NR 2D Mode = LOW; NR 3D Mode = LOW
      0x06 NR 2D Mode = LOW; NR 3D Mode = MIDDLE
      0x07 NR 2D Mode = LOW; NR 3D Mode = HIGH
      0x08 NR 2D Mode =MIDDLE; NR 3D Mode = OFF
      0x09 NR 2D Mode =MIDDLE; NR 3D Mode = LOW
      0x0A NR 2D Mode = MIDDLE; NR 3D Mode = MIDDLE
      0x0B NR 2D Mode = MIDDLE; NR 3D Mode = HIGH
      0x0C NR 2D Mode =HIGH; NR 3D Mode = OFF
      0x0D NR 2D Mode =HIGH; NR 3D Mode = LOW
      0x0E NR 2D Mode = HIGH; NR 3D Mode = MIDDLE
      0x0F NR 2D Mode = HIGH; NR 3D Mode = HIGH

      去噪
      0x00 NR 2D模式=关闭;NR 3D模式=关闭
      0x01 NR 2D模式=关闭;NR 3D模式=低
      0x02 NR 2D模式=关闭;NR 3D模式=中间
      0x03 NR 2D模式=关闭;NR 3D模式=高
      0x04 NR 2D模式=低;NR 3D模式=关闭
      0x05 NR 2D模式=低;NR 3D模式=低
      0x06 NR 2D模式=低;NR 3D模式=中间
      0x07 NR 2D模式=低;NR 3D模式=高
      0x08 NR 2D模式=中间;NR 3D模式=关闭
      0x09 NR 2D模式=中间;NR 3D模式=低
      0x0A NR 2D模式=中间;NR 3D模式=中间
      0x0B NR 2D模式=中间;NR 3D模式=高
      0x0C NR 2D模式=高;NR 3D模式=关闭
      0x0D NR 2D模式=高;NR 3D模式=低
      0x0E NR 2D模式=高;NR 3D模式=中间
      0x0F NR 2D模式=高;NR 3D模式=高

      根据自己需求调整,不要降噪太多
      输入:
      ./veye_mipi_i2c.sh -w -f denoise -p1 0x05
      查看:
      ./veye_mipi_i2c.sh -r -f denoise

      5.8 agc
      ./veye_mipi_i2c.sh -r -f agc
      ./veye_mipi_i2c.sh -w -f agc -p1 [value]
      含义为增益上限,默认为0xC。

      value description
      0x00~0x0F AGC intensity
      增益
      含义为增益上限,默认为0xC
      价值描述
      0x00~0x0F AGC强度
      夜晚时候可以适当打开增益,建议50或50%左右,不建议0或100
      输入:
      ./veye_mipi_i2c.sh -w -f agc -p1 0x0a
      查看:
      ./veye_mipi_i2c.sh -r -f agc

      5.9 lowlight
      ./veye_mipi_i2c.sh -r -f lowlight
      ./veye_mipi_i2c.sh -w -f lowlight -p1 [value]
      低照度情况下的降帧(慢快门)设置。在低照度情况下,摄像机模组可以通过配置此参数,延长曝光时间,降低帧率,达到更好的低照度效果。

      注意,在运动场景下不适合使用。

      value 最小帧率
      0x01 1/2*(FRAME RATE)
      0x03 1/4*(FRAME RATE)
      0x05 1/6*(FRAME RATE)
      0x07 1/8*(FRAME RATE)
      0x09 1/10*(FRAME RATE)
      0x0B 1/15*(FRAME RATE)
      0x0D 1/20*(FRAME RATE)
      0x0F 1/25*(FRAME RATE)
      0x11 1/30*(FRAME RATE)
      0x00 Fixed frame rate (25/30)

      输出:

      ./veye_mipi_i2c.sh -w -f lowlight -p1 0x0F
      输入:
      ./veye_mipi_i2c.sh -r -f lowlight

      5.10 daynightmode
      ./veye_mipi_i2c.sh -r -f daynightmode
      ./veye_mipi_i2c.sh -w -f daynightmode -p1 [value]
      value description
      0xFF Color Mode
      0xFE Black&White Mode
      0xFC Trigger Mode

      昼夜模式描述
      0xFF彩色模式
      0xFE黑白模式
      0xFC触发器模式
      输入:
      ./veye_mipi_i2c.sh -w -f daynightmode -p1 0xFF
      查看:
      ./veye_mipi_i2c.sh -r -f daynightmode0x0A

      5.13 mshutter
      自动曝光,手动曝光模式选择和配置。

      ./veye_mipi_i2c.sh -r -f mshutter

      ./veye_mipi_i2c.sh -w -f mshutter -p1 [value]

      value值为曝光时间(单位:s)

      value 大于等于0x4B则进入低帧率模式

      value description
      NTSC(PAL)
      0x40 auto mode
      0x41 1/30 (25)
      0x42 1/60(50)
      0x43 1/120(100)
      0x44 1/240(200)
      0x45 1/480(400)
      0x46 1/1000
      0x47 1/2000
      0x48 1/5000
      0x49 1/10000
      0x4A 1/50000
      0x4B 1/30 (25) *2
      0x4C 1/30 (25) *4
      0x4D 1/30 (25) *6
      0x4E 1/30 (25) *8
      0x4F 1/30 (25) *10
      0x50 1/30 (25) *15
      0x51 1/30 (25) *20
      0x52 1/30 (25) *25
      0x53 1/30 (25) *30

      输入:
      ./veye_mipi_i2c.sh -w -f mshutter -p1 0x41
      查看:
      ./veye_mipi_i2c.sh -r -f mshutter

      5.15 nodf
      Requirements:hdver >= 0x3, effective in Stream mode

      Number of dropped frames

      It is a method of framerate control, output one frame,discard nodf frames,output next frame, and so on.

      actual framerate = original framerate /(1+nodf)

      For example,if the original framerate is 30fps, set nodf to 2, then actual framerate is 10fps.

      ./veye_mipi_i2c.sh -r -f nodf

      ./veye_mipi_i2c.sh -w -f nodf -p1 [value]

      ntof range is [0-0xFF], default 0.
      无DF
      要求:hdver>=0x3,在流模式下有效
      丢弃的帧数
      它是一种帧速率控制方法,输出一帧、丢弃nodf帧、输出下一帧等等。
      实际帧速率=原始帧速率/(1+nodf)
      例如,如果原始帧速率为30fps,请将nodf设置为2,则实际帧速率是10fps。
      ./veye_mipi_i2c.sh-r-f nodf
      ./veye_mipi_i2c.sh-w-f nodf-p1[value]
      ntof范围为[0-xFF],默认为0。

      执行:
      ./veye_mipi_i2c.sh -w -f nodf -p1 0x00
      查看
      ./veye_mipi_i2c.sh -r -f nodf

      5.18 brightness
      ./veye_mipi_i2c.sh -r -f brightness
      ./veye_mipi_i2c.sh -w -f brightness -p1 0x32
      AE的目标亮度,范围[0,0x64]

      执行:
      ./veye_mipi_i2c.sh -w -f brightness -p1 0x32
      查看:
      ./veye_mipi_i2c.sh -r -f brightness

      5.19 aespeed
      ./veye_mipi_i2c.sh -r -f aespeed
      ./veye_mipi_i2c.sh -w -f aespeed -p1 0x32 -p2 0x32
      AE 调节速度p1为agc速度,p2为shutter速度,由慢到快[0,0x64]
      执行
      ./veye_mipi_i2c.sh -w -f aespeed -p1 0x32 -p2 0x32
      查看
      ./veye_mipi_i2c.sh -r -f aespeed

      5.20 contrast
      ./veye_mipi_i2c.sh -r -f contrast
      ./veye_mipi_i2c.sh -w -f contrast -p1 0x32
      图像对比度,范围[0,0xFF],默认为0x80

      执行
      ./veye_mipi_i2c.sh -w -f contrast -p1 0x32
      查看
      ./veye_mipi_i2c.sh -r -f contrast

      5.21 saturation
      ./veye_mipi_i2c.sh -r -f saturation
      ./veye_mipi_i2c.sh -w -f saturation -p1 0x32
      饱和度,范围: [0,0x64]
      执行
      ./veye_mipi_i2c.sh -w -f saturation -p1 0x32
      查看
      ./veye_mipi_i2c.sh -r -f saturation

      5.22 sharppen
      ./veye_mipi_i2c.sh -r -f sharppen
      ./veye_mipi_i2c.sh -w -f sharppen -p1 [val1] -p2 [value]
      param1 value description
      0x0 sharppen disable
      0x1 sharppen enable
      default: 0x1
      param2: sharppen strength, range [0x0-0xA]

      param1值描述
      0x0锐度禁用
      0x1锐度启用
      默认值:0x1
      param2:锐笔强度,范围[0x0-0xA]

      执行

      ./veye_mipi_i2c.sh -w -f sharppen -p1 0x1 -p2 0x03
      查看
      ./veye_mipi_i2c.sh -r -f sharppen

      5.24 wdrtargetbr
      ./veye_mipi_i2c.sh -r -f wdrtargetbr
      ./veye_mipi_i2c.sh -w -f wdrtargetbr -p1 0x80
      宽动态模式下的整体亮度目标值。
      WDR模式生效,[0-0xFF]默认值0x80,WDR模式下,值越大,亮度越高。

      执行

      查看
      ./veye_mipi_i2c.sh -r -f wdrtargetbr

      6.1 paramsave
      ./veye_mipi_i2c.sh -w -f paramsave

      保存isp相关参数到flash中。

      备注:如果懒直接用这个参数

      晚上模式
      ./veye_mipi_i2c.sh -w -f wdrmode -p1 0x00
      ./veye_mipi_i2c.sh -w -f videoformat -p1 NTSC
      ./veye_mipi_i2c.sh -w -f mirrormode -p1 0x00
      ./veye_mipi_i2c.sh -w -f denoise -p1 0x02
      ./veye_mipi_i2c.sh -w -f agc -p1 0x41
      ./veye_mipi_i2c.sh -w -f lowlight -p1 0x00
      ./veye_mipi_i2c.sh -w -f ircutdir -p1 0xff
      ./veye_mipi_i2c.sh -w -f daynightmode -p1 0xff
      ./veye_mipi_i2c.sh -w -f mshutter -p1 0x41
      ./veye_mipi_i2c.sh -w -f cameramode -p1 0x0
      ./veye_mipi_i2c.sh -w -f nodf -p1 0x00
      ./veye_mipi_i2c.sh -w -f brightness -p1 0x32
      ./veye_mipi_i2c.sh -w -f aespeed -p1 0x32 -p2 0x32
      ./veye_mipi_i2c.sh -w -f contrast -p1 0x32
      ./veye_mipi_i2c.sh -w -f saturation -p1 0x32
      ./veye_mipi_i2c.sh -w -f sharppen -p1 0x1 -p2 0x5
      ./veye_mipi_i2c.sh -w -f wdrsharppen -p1 0x0 -p2 0x3
      ./veye_mipi_i2c.sh -w -f wdrbtargetbr -p1 0x00
      ./veye_mipi_i2c.sh -w -f wdrtargetbr -p1 0x0A
      ./veye_mipi_i2c.sh -w -f wbmode -p1 0x18
      ./veye_mipi_i2c.sh -w -f paramsave

      白天
      ./veye_mipi_i2c.sh -w -f wdrmode -p1 0x00
      ./veye_mipi_i2c.sh -w -f videoformat -p1 NTSC
      ./veye_mipi_i2c.sh -w -f mirrormode -p1 0x00
      ./veye_mipi_i2c.sh -w -f denoise -p1 0x00
      ./veye_mipi_i2c.sh -w -f agc -p1 0x00
      ./veye_mipi_i2c.sh -w -f lowlight -p1 0x00
      ./veye_mipi_i2c.sh -w -f ircutdir -p1 0xff
      ./veye_mipi_i2c.sh -w -f daynightmode -p1 0xff
      ./veye_mipi_i2c.sh -w -f mshutter -p1 0x40
      ./veye_mipi_i2c.sh -w -f cameramode -p1 0x0
      ./veye_mipi_i2c.sh -w -f nodf -p1 0x00
      ./veye_mipi_i2c.sh -w -f brightness -p1 0x32
      ./veye_mipi_i2c.sh -w -f aespeed -p1 0x32 -p2 0x32
      ./veye_mipi_i2c.sh -w -f contrast -p1 0x32
      ./veye_mipi_i2c.sh -w -f saturation -p1 0x32
      ./veye_mipi_i2c.sh -w -f sharppen -p1 0x1 -p2 0x5
      ./veye_mipi_i2c.sh -w -f wdrsharppen -p1 0x0 -p2 0x3
      ./veye_mipi_i2c.sh -w -f wdrbtargetbr -p1 0x00
      ./veye_mipi_i2c.sh -w -f wdrtargetbr -p1 0x0A
      ./veye_mipi_i2c.sh -w -f wbmode -p1 0x18
      ./veye_mipi_i2c.sh -w -f paramsave

      posted in Raspberry Pi App Software
      F
      fuhesong
    • RE: 树莓派4B +IMX462+FFMPEG+meteor master ai 流星监控方案 不断更新

      @veye_xumm 监控流星,把红外截止滤镜拿掉了

      posted in Raspberry Pi App Software
      F
      fuhesong