imx8: how to run opencv sample code on imx8mq GPU

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

imx8: how to run opencv sample code on imx8mq GPU

3,406 Views
vsuneja63
Contributor III

Hi,

I could run eIQ OpenCV object detection c++ sample code on imx8mq evk. I want to run the same code on imx8 target gpu. As i am trying object detection with live camera, I didn't get anything with OpenCL. Can you please guide me on this? 

Thanks & Regards,

Vipul Kumar 

0 Kudos
1 Reply

3,227 Views
joanxie
NXP TechSupport
NXP TechSupport

maybe you can refer to the ISP code, which used openCL on imx8m

https://www.nxp.com/docs/en/application-note/AN12060.pdf 

the source code is:

gtec-demo-framework/DemoApps/OpenCL/SoftISP/source at master · NXPmicro/gtec-demo-framework · GitHub 

you also can find the demo in the bsp, the path is:

 /opt/imx-gpu-sdk/OpenCL/SoftISP

0 Kudos