MhLiao / TextBoxes_plusplus

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

Help with opencv #49

Open saiaman opened 6 years ago

saiaman commented 6 years ago

Hello i'm trying to load this model with opencv

with

cv2.dnn.readNetFromCaffe( "TextBoxes_plusplus/models/deploy.prototxt","model_pre_train_syn.caffemodel")

but it get's a strange error :

cv2.error: OpenCV(3.4.1) /tmp/opencv-20180301-33803-1gyqk0j/opencv-3.4.1/modules/dnn/src/caffe/caffe_io.cpp:1145: error: (-2) FAILED: ReadProtoFromTextFile(param_file, param). Failed to parse NetParameter file: TextBoxes_plusplus/models/deploy.prototxt in function ReadNetParamsFromTextFileOrDie

Anyone has tried to ?

Thanks a lot

deepanjandas commented 5 years ago

Hi MhLiao, Is there any way I can use TextBoxes++ with openCV directly and not python?

Any help will be much appreciated.