Matlab Scripts and functions to generate selective search boxes for images used in RCNN based methods.
Support Windows and Linux.
Support parallel speedup.
Run demo.m in Matlab.
- Modify
idx_file
,format_string
in start.m
Such as for VOC2012 validation dataset:idx_file = 'path/to/VOCdevkit/VOC2012/ImageSets/Main/val.txt'; format_string = 'path/to/VOCdevkit/VOC2012/JPEGImages/%s.jpg';
- Run start.m, and results will be saved to
output.mat
- Install Parallel Computing Toolbox
- Enable Automatically create a parallel pool in Matlab preferences.
- Enjoy huge improvements!!
Here is a Example for 20 images:
selective_search_boxes.m
is copied from rbgirshick/rcnn under BSD-2-Clause License.SelectiveSearchCodeIJCV
is downloaded and modified from SelectiveSearchCodeIJCV.zip. See LICENSE.txt for more details.