MhLiao / TextBoxes_plusplus

TextBoxes++: A Single-Shot Oriented Scene Text Detector
Other
954 stars 279 forks source link

opencv load caffe model #137

Open amandazw opened 4 years ago

amandazw commented 4 years ago

Hi~MhLiao,

I tried loading the model using opencv and following error showed:

Traceback (most recent call last): File "D:/work/video/TextBoxes++/TextBoxes++/run.py", line 31, in density = net.forward() cv2.error: OpenCV(4.0.0) C:\projects\opencv-python\opencv\modules\dnn\src\layers\prior_box_layer.cpp:242: error: (-215:Assertion failed) !params.has("step") in function 'cv::dnn::PriorBoxLayerImpl::PriorBoxLayerImpl'

what should i do to fix this problem? Anyone has some solutions? I will appriciate your helps!