OpenCv error in IMX8QXP

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

OpenCv error in IMX8QXP

1,076 Views
diwakar2599
Contributor II

Hi,

I am getting the below error when I try to run the NXP eIQ Machine Learning by OpenCV(4.2.0)

 

terminate called after throwing an instance of [947.599867] audit: type=1701 audit (16 83731664.936:7): auid=4294967295 uid=0 gid=0 ses=4294967295 pid= 1060 comm="example_dnn_obj" exe="/usr/share/OpenCV/samples/bin/example_dnn_object_detection" sig-6 res=1

cv::Exception'

what(): OpenCV (4.2.0) /usr/src/debug/opencv/4.2.0.imx-re/git/modules/core/src/persistence.cpp:719: error: (-49: Unknown error code -49) Input file is invalid in function 'open'

Aborted

 

please help me to solve this issue.

0 Kudos
Reply
4 Replies

1,047 Views
Dhruvit
NXP TechSupport
NXP TechSupport
 
I hope you are doing well.
 
My apology for the delayed response.
Kindly share the steps you followed to reproduce the issue at our end.
 
Thanks & Regards
Dhruvit Vasavada
0 Kudos
Reply

1,034 Views
diwakar2599
Contributor II
Hi @Dhruvit

For YOLO object detection I am facing the issue
I just run the following command for object detection

./example_dnn_object_detection -width=1024 -height=1024 -scale=0.00392 -input=dog416.png -
rgb -zoo=models.yml yolo
0 Kudos
Reply

1,009 Views
Dhruvit
NXP TechSupport
NXP TechSupport

Hi @diwakar2599,

I hope you are doing well
 
There could be an issue in the particular source file. Kindly try to download that file from the git.
The error may also come due to the invalid XML file. Please check the same.
 
Thanks & Regards,
Dhruvit Vasavada

0 Kudos
Reply

1,003 Views
diwakar2599
Contributor II
Hi @Dhruvit

I will try and update the result soon
0 Kudos
Reply