android Programming Glossary: iplimage
Face Recognition on Android http://stackoverflow.com/questions/11699744/face-recognition-on-android java.io.FilenameFilter public class OpenCVFaceRecognizer public static void main String args String trainingDir args 0 IplImage testImage cvLoadImage args 1 File root new File trainingDir FilenameFilter pngFilter new FilenameFilter public boolean accept.. MatVector images new MatVector imageFiles.length int labels new int imageFiles.length int counter 0 int label IplImage img IplImage grayImg for File image imageFiles Get image and label img cvLoadImage image.getAbsolutePath label Integer.parseInt.. images new MatVector imageFiles.length int labels new int imageFiles.length int counter 0 int label IplImage img IplImage grayImg for File image imageFiles Get image and label img cvLoadImage image.getAbsolutePath label Integer.parseInt image.getName..
OpenCV NDK Android help http://stackoverflow.com/questions/2232074/opencv-ndk-android-help to get sold on the new C but I had to admit it was nice to not have to do cvReleaseMat and go back and forth between IplImage and CvMat all the time. Opencv 2.1 doc http opencv.willowgarage.com documentation cpp index.html share improve this answer..
|