A python trainer for SVM compatible with opencv Detect Multiscale