Ask Your Question

Revision history [back]

How to set minHessian value in android/java

How to set hessian threshold value for surf detectror in opencv library.

In C++. I can set it as:

int minHessian = 100;
SurfFeatureDetector detector( minHessian );**

But in android, surf detector is created as:

FeatureDetector surf=FeatureDetector.create(FeatureDetector.SURF);

So, how does I set the value of min hessian in android.

Make note that, SURF is not available in newer versions of opencv library, I am using opencv 2.4.1, so that I can do surf detection in android.