I'm working on a high resolution data set for extracting desired image objects. To do this, I have applied HOG + SVM. Although the results I get are very promising and operationally accepted, the speed of this task is annoying! For each image, which is of size 2800 * 1400, the algorithm takes 4 minutes to be done, which is far from the time I need. Most of this time is taken for performing sliding window. I need this recognition procedure to be done within only 10 seconds. Since I make the use of Matlab, it seems that reaching 10 seconds is impossible and I have to think of C++. However, I've never worked with C++ and haven't enough time to learn it for this task.
I would be grateful to know that is there any ways to speed up the sliding window in Matlab or Python to perform the recognition in under 1 minute?