pyeiq with BASLER camera on imx8mpevk video corruption

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

pyeiq with BASLER camera on imx8mpevk video corruption

1,053 Views
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?

Tags (3)
0 Kudos
3 Replies

1,031 Views
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 Kudos

1,024 Views
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 Kudos

970 Views
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 Kudos