Reagarding Faster_RCNN model
Hi All, I am trying to run Faster_rcnn model in opencv with c++. link text
error: The program '[1144] DNN testing.exe' has exited with code 0 (0x0). First time, I am trying dnn model. Anyone have idea about this?
Thanks(/upfiles/15169762878063704.png)
how do you invoke the program ? it needs cmdline arguments, like:
(sorry, idk, how the model is actually called)
Thanks for your reply berak. Is there need to add the .prototext and .caffemeodel in directory?
you need to have those files, it does not matter, where. pass the absolute path to them in the cmdline argument
I have added the model prototext and model files in respective folder and cmline arguments are.. DNN testing.exe -p=faster_rcnn_vgg16.prototxt -m=coco_vgg16_faster_rcnn_final.caffemodel -i=test.png
Error: screenshot is attached.
i removed your screenshot. please edit again, and add the errormsg as text !
Hi Berak, Please find the below error message in text format.
[libprotobuf ERROR C:\build\master_winpack-build-win64-vc14\opencv\3rdparty\prot obuf\src\google\protobuf\text_format.cc:298] Error parsing text-format opencv_ca ffe.NetParameter: 7:1: Expected identifier, got: < OpenCV Error: Unspecified error (FAILED: ReadProtoFromTextFile(param_file, param ). Failed to parse NetParameter file: faster_rcnn_vgg16.prototxt) in cv::dnn::Re adNetParamsFromTextFileOrDie, file C:\build\master_winpack-build-win64-vc14\open cv\modules\dnn\src\caffe\caffe_io.cpp, line 1145
it is not an answer to your question but i just want to mention that maybe you can get better result ( afaik it is faster) using ssd_mobilenet_object_detection.cpp
Hi sturkmen, Thank you for the suggestion. I have tried above example. getting same error as per the above.
what is your build information
vps, please put that into your question, not into comments !