pyeiq with BASLER camera on imx8mpevk video corruption

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

pyeiq with BASLER camera on imx8mpevk video corruption

1,104 次查看
petervdperk
NXP Employee
NXP Employee

pyeiq with Basler camera on imx8mpevk video corruption

I'm trying out pyeiq on the imx8mpevk which is working fine with a generic USB UVC camera. However when using the BASLER daA3840-30mc-IMX8MP-EVK Devkit I get this video corruption as shown in the attached image.

I'm running a Yocto imx-linux-gatesgarth -m imx-5.10.9-1.0.0.xml based image
Furthermore it seems that the camera only does 1080p or 2160p is possible to force into 720p/480p mode?

标记 (3)
0 项奖励
3 回复数

1,082 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

There are options in pyeiq to select different camera's resolution (full_hd, hd, vga). For example,

pyeiq --run object_detection_tflite --video_src /dev/video0 -r hd

But baser camera only support 2160p on BSP L5.10.9-1.0.0. This resolution is not supported by pyeiq.

Regards

 

0 项奖励

1,075 次查看
petervdperk
NXP Employee
NXP Employee

Hi,

Thanks for the response indeed I've tried specifying other resolutions using --res option. But then pyeiq returns "Resolution not supported, using 1920x1080 instead".

Although as shown in the picture, 1080p results in this corrupted output although pyeiq is doing inference it's just a wrong image.

0 项奖励

1,021 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

PyeIQ doesn't work well for 1080p or higher resolution image/video/camera input, because imxvideoconvert_g2d plugin is not enabled in PyeIQ. This is the limitation of PyeIQ.

Regards

 

0 项奖励