I use java version of opencv and I want to compute HOG by using hog.compute. The problem is that I get: java.lang.Exception: Unknown exception in JNI code {objdetect::compute_10()} at org.opencv.objdetect.HOGDescriptor.compute_0(Native Method)
I would be grateful if someone could help.