In matlabI have this feature
function psi = encodeImage(encoder, im)
This function accepts
This function performs a bag of visual words that encode and return spatial histograms of images.
I use these histograms for training in the SVM classifier.
I am performing this task in python and I do not want to implement a visual word coding package, since my main task is to implement SVM. Is there a built-in function in python that interferes with the coding of visual words and returns spatial histograms, so I can train the SVM classifier on histograms.
source
share