OpenCv error in IMX8QXP

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

OpenCv error in IMX8QXP

1,866 次查看
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 项奖励
回复
4 回复数

1,837 次查看
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 项奖励
回复

1,824 次查看
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 项奖励
回复

1,799 次查看
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 项奖励
回复

1,793 次查看
diwakar2599
Contributor II
Hi @Dhruvit

I will try and update the result soon
0 项奖励
回复