Ask Your Question

Cindy's profile - activity

2014-02-25 16:28:35 -0600 received badge  Student (source)
2014-01-28 09:33:11 -0600 asked a question How to use the pyramid list from buildOpticalFlowPyramid as input for calcOpticalFlowPyrLK?

The function which is used to calculate pyramid in android is :

public static int buildOpticalFlowPyramid(Mat img, List<Mat> pyramid, Size winSize, int maxLevel),

whereas the function used to calculate optical flow is :

public static void calcOpticalFlowPyrLK(Mat prevImg, Mat nextImg, MatOfPoint2f prevPts, MatOfPoint2f nextPts, MatOfByte status, MatOfFloat err, Size winSize, int maxLevel, TermCriteria criteria, int flags, double minEigThreshold)

How to use the List<Mat> pyramid as input of the structure Mat prevImg. A error say it's incompatible.

Thank you very much

2014-01-11 11:02:02 -0600 asked a question what tracking algorithm NATIVE_DETECTOR use for tracking

Hi, everyone, I am using face detection for android, I don't know what's the difference of Java detector and native detector. It seems like native detector uses C++ code and supports tracking, but I cannot find the function body of these two detection function:

private static native void detectMultiScale_0(long nativeObj, long image_nativeObj, long objects_mat_nativeObj, double scaleFactor, int minNeighbors, int flags, double minSize_width, double minSize_height, double maxSize_width, double maxSize_height);

private static native void nativeDetect(long thiz, long inputImage, long faces);

So if someone knows the difference of Java detector and native detector, and the algorithm the native detector uses for tracking, please tell me ,thank you.