Ask Your Question

Revision history [back]

Question about text_detection.cpp

Hello, I am new to OpenCv and I am working on a project for university. I am trying the sample code in the opencv github text_detection.cpp and using the the east model called frozen_east_text_detection.pb.

When Running it I am getting this error:

C:\Users\user\source\repos\opencv\x64\Debug>opencv.exe -i example.jpg -m frozen_east_text_detec tion.pb OpenCV(4.1.0) Error: Unspecified error (Cannot determine an origin framework of files: true) in cv::dnn::dnn4_v20190122::readNet, file c:\build\master_winpack-b uild-win64-vc15\opencv\modules\dnn\src\dnn.cpp, line 3780 OpenCV: terminate handler is called! The last OpenCV error is: OpenCV(4.1.0) Error: Unspecified error (Cannot determine an origin framework of files: true) in cv::dnn::dnn4_v20190122::readNet, file c:\build\master_winpack-b uild-win64-vc15\opencv\modules\dnn\src\dnn.cpp, line 3780

What am I doing wrong. I basically copy pasted the sample to my visual studio 2017 and Ran opencv.exe in cmd.

click to hide/show revision 2
None

updated 2019-05-06 11:21:36 -0600

berak gravatar image

Question about text_detection.cpp

Hello, I am new to OpenCv and I am working on a project for university. I am trying the sample code in the opencv github text_detection.cpp and using the the east model called frozen_east_text_detection.pb.

When Running it I am getting this error:

C:\Users\user\source\repos\opencv\x64\Debug>opencv.exe -i example.jpg -m frozen_east_text_detec
tion.pb
OpenCV(4.1.0) Error: Unspecified error (Cannot determine an origin framework of
files: true) in cv::dnn::dnn4_v20190122::readNet, file c:\build\master_winpack-b
uild-win64-vc15\opencv\modules\dnn\src\dnn.cpp, line 3780
OpenCV: terminate handler is called! The last OpenCV error is:
OpenCV(4.1.0) Error: Unspecified error (Cannot determine an origin framework of
files: true) in cv::dnn::dnn4_v20190122::readNet, file c:\build\master_winpack-b
uild-win64-vc15\opencv\modules\dnn\src\dnn.cpp, line 3780

3780

What am I doing wrong. I basically copy pasted the sample to my visual studio 2017 and Ran opencv.exe in cmd.