我用yolov3跑的目标实时检测,效果跑出来了,只是图像有点泛红,是怎么回事
是的,用的mipi摄像头,就是跑的文档里面的yolov3的demo
我刚试了fb的demo,开始有画面,一动就花屏,framebuffer是另外一个系统吗
我跑x11的demo,用手势测试发现延时也挺厉害的
1、您能把那个命令写一下吗,我是直接跑了和X11平级的demo
2、fb模式怎么切换到x11模式,或者说怎么退出fb模式,
3、framebuffer下v4l2_test文件在哪儿
您说的是python和c++的源码吗。。。。。。
我直接敲命令,提示说找不到v412——test这个文件。。。
@xingye666 我们固件预装了这个命令的
khadas@Khadas:~$ v4l2_test -c 1 -p 0 -F 0 -f 0 -D 0 -R 1 -r 2 -d 2 -N 1000 -n 800 -w 0 -e 1 -b /dev/fb0 -v /dev/video0
ds1_out_fmt = 0, ds2_out_fmt = 0, ds1_res = 2, ds2_res = 2
The /dev/fb0 device was opened successfully.
1920x1080, 32bpp
The framebuffer device was mapped to memory successfully.
fr_num = 1000, ds_num = 800
pixel fmt 0x33424752, width 1920, height 1080, wdr_mode 0, exposure 1pixel fmt 0x33424752, width 1280, height 720, wdr_mode 0, exposure 1pixel fmt 0x33424752, width 1280, height 720, wdr_mode 0, exposure 1Setting 0 sensor preset
Thread 0 created successfully
[T#0] The /dev/video0 device was opened successfully.
[T#0] VIDIOC_QUERYCAP: capabilities=0x85201000, device_caps:0x5201000
FR wdr_mode = 0, exp = 1
[T#0] VIDIO_S_FMT: type=9, w=1920, h=1080, fmt=0x33424752, field=0
[ 3348.238789@0] AM_MIPI: am_mipi_phy_init:Settle:0x00000018
[T#0] VIDIO_G_FMT: type=9, w=1920, h=1080, fmt=0x33424752, field=1
[T#0] multiplanar support planes=1
[T#0] plane:0 multipla[ 3348.255601@0] AM_MIPI: am_mipi_phy_init:Settle:0x00000018
nar length: 6220800 offset: 0, dma_fd:5
[T#0] Buffer[0] mapped at address 0x7f86cb0000 total_mapped_mem:1.
[T#0] plane:0 multiplanar length: 6220800 offset: 6221824, dma_fd:6
[T#0] Buffer[1] mapped at address 0x7f866c1000 total_mapped_mem:2.
[T#0] plane:0 multiplanar length: 6220800 offset: 12443648, dma_fd:7
[T#0] Buffer[2] mapped at address 0x7f860d2000 total_mapped_mem:3.
[T#0] plane:0 multiplanar length: 6220800 offset: 18665472, dma_fd:8
[T#0] Buffer[3] mapped at address 0x7f85ae3000 total_mapped_mem:4.
[T#0] plane:0 multiplanar length: 6220800 offset: 24887296, dma_fd:9
[T#0] Buffer[4] mapped at address 0x7f854f4000 total_mapped_mem:5.
[T#0] plane:0 multiplanar length: 6220800 offset: 31109120, dma_fd:10
[T#0] Buffer[5] mapped at address 0x7f84f05000 total_mapped_mem:6.
[T#0] Queue buf done.
[T#0] Video stream is on.
terminating all threads ...