Object detection custom application

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

Object detection custom application

705 Views
kenizgandhi
Contributor III

Hello, 

I am using imx8mplus evk board. I have booted Linux version 5.10.9-1.0.0+g32513c25d8c7

I am developing my own object detection application using efficientdet_lite0 model. Below I am attaching the code files. 

When I try to run the code in virtual env using the command python3 detect.py --model efficientdet_lite0.tflite, i am getting the following error : [ WARN:0] global /tmp/pip-req-build-h8zflkjv/opencv/modules/videoio/src/cap_v4l. cpp (890) open VIDEOIO(V4L2:/dev/video1): can't open camera by index

Without the virtual env, mipi camera is working fine but the model doesn't work. Can you please tell me how to solve this issue.

Thank You.

Kind Regards,

Keniz Gandhi

0 Kudos
1 Reply

687 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport
0 Kudos