Visual Search Difficulty Prediction Model (Python implementation)
This repo is a python version of Visual Search Difficulty Prediction Model proposed in paper How hard can it be? Estimating the difficulty of visual search in an image. The original implementation is of Matlab code.

Feature extraction uses Caffe model, such as VGG-f. So prepare Caffe python interface first.
Regression model uses nu-SVR(from sklearn based on libsvm).
Dataset: VOC2012
getFeature.pySVR.pygetScore.pyThis method may be used like in paper Optimizing the Trade-off between Single-Stage and Two-Stage Object Detectors using Image Difficulty Prediction(arXiv).
Notes:
Radu Tudor Ionescu, Bogdan Alexe, Marius Leordeanu, Marius Popescu, Dimitrios Papadopoulos, Vittorio Ferrari. How hard can it be? Estimating the difficulty of visual search in an image. Proceedings of CVPR, pp. 2157–2166, 2016.
Soviany, Petru, and Radu Tudor Ionescu. "Optimizing the Trade-off between Single-Stage and Two-Stage Object Detectors using Image Difficulty Prediction." arXiv preprint arXiv:1803.08707 (2018).
Return of the Devil in the Details: Delving Deep into Convolutional Nets. K. Chatfield, K. Simonyan, A. Vedaldi, A. Zisserman British Machine Vision Conference, 2014 (arXiv ref. cs1405.3531)