Selective Search For RCNN
Matlab Scripts and functions to generate selective search boxes for images used in RCNN based methods.
Support Windows and Linux.
Support parallel speedup.
Quick Demo
Run demo.m in Matlab.
Generate boxes for your dataset
- 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
Boost with parallel computing
- Install Parallel Computing Toolbox
- Enable Automatically create a parallel pool in Matlab preferences.
- Enjoy huge improvements!!
Here is a Example for 20 images:
Disclaimer
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.