if `_svmDetector` is `UMat` then the function can be implemented more efficiently