Object Proposal becomes important as the preprocess component in object detection pipeline.
We have made some changes on the efficient supervised objectness proposal estimator (BING), in order to make it compatible with Linux/Mac/Windows. The code has been released on the GitHub: https://github.com/bittnt/Objectness.git
Please refer to the web: http://mmcheng.net/bing/ for further questions.
Notice: the linux version code has been tested on Ubuntu/mac osx, but you might find more errors, mainly due to the inconsistent setting in the paths. To achieve 1111FPS, you might need to have it running on a good computer (Dell T7600 workstation computer, which has two Intel Xeon E5-2687W (3.1GHz, 1600MHz) and 64 GB 1600MHz DDR3 Memory). You could download the VOC2007 preprocessed annotation files from this link.
- To run the code, you have to install OpenCV in the your ubuntu linux system.
We specify the dependencies on opencv at
- You can use/debug/change the code with Qt Creator IDE on ubuntu/mac.
“Invalidate class name in /home/yukin/dev/Objectness/Src/DataSetVOC.cpp:125 OpenCV Error: Assertion failed (Invalidate class name ) in loadBox, file /home/yukin/dev/Objectness/Src/DataSetVOC.cpp, line 125 terminate called after throwing an instance of ‘cv::Exception’ what(): /home/yukin/dev/Objectness/Src/DataSetVOC.cpp:125: error: (-215) Invalidate class name
in function loadBox Aborted I tracked into the code and found out that the fName extracted in the loadBBoxes function seems to be wrong: ‘MYDATAPATH/Annotations/00000.yml’. And it seems like ”ImageSets/Main/train.txt” does not exist “
This message shows that you do not have correct path for the VOC files, or you do not have them in your PC. You need to download all the files properly from VOC website, by which i mean that you need to download all files from:
You also need to convert all the xml files into yml. You might find XML2YML tools to do so or you can use the tool we put on here.
- “OpenCV Error: Assertion failed (matRead(_modelName + “.xP”, xP1f) && matRead(_modelName + “.xN”, xN1f)) in trainStageI, file /home/yukin/dev/Objectness/Src/Objectness.cpp, line 555
terminate called after throwing an instance of ‘cv::Exception’
what(): /home/yukin/dev/Objectness/Src/Objectness.cpp:555: error: (-215) matRead(_modelName + “.xP”, xP1f) && matRead(_modelName + “.xN”, xN1f) in function trainStageI”
This message indicates that you do not have correct path to read the preprocessed positive and negative samples. You might need to use root user to run the program. You might also need to set up the result folder and path correctly.