• 大小: 14.4MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-08-05
  • 语言: Java
  • 标签: java  人脸识别  

资源简介

java人脸识别源代码 值得下载学习,支持图像和图片的识别

资源截图

代码片段和文件信息

		
import com.googlecode.javacpp.FloatPointer;
import com.googlecode.javacpp.Pointer;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.logging.Logger;
import static com.googlecode.javacv.cpp.opencv_highgui.cvWaitKey;
import static com.googlecode.javacv.cpp.opencv_highgui.cvShowImage;
import static com.googlecode.javacv.cpp.opencv_highgui.cvSaveImage;
import static com.googlecode.javacv.cpp.opencv_highgui.cvDestroyWindow;
import static com.googlecode.javacv.cpp.opencv_highgui.CV_LOAD_IMAGE_GRAYSCALE;
import static com.googlecode.javacv.cpp.opencv_highgui.cvLoadImage;
import com.googlecode.javacv.frameGrabber;
import com.googlecode.javacv.frameGrabber.Exception;
import com.googlecode.javacv.OpenCVframeGrabber;
import com.googlecode.javacv.VideoInputframeGrabber;
import com.googlecode.javacv.cpp.opencv_core.CvFont;
import com.googlecode.javacv.cpp.opencv_core.CvMemStorage;
import com.googlecode.javacv.cpp.opencv_core.CvPoint;
import com.googlecode.javacv.cpp.opencv_core.CvRect;
import com.googlecode.javacv.cpp.opencv_core.CvScalar;
import com.googlecode.javacv.cpp.opencv_core.CvSeq;
import com.googlecode.javacv.cpp.opencv_core.IplImage;
import static com.googlecode.javacv.cpp.opencv_legacy.*;
import static com.googlecode.javacv.cpp.opencv_objdetect.CV_HAAR_DO_CANNY_PRUNING;
import static com.googlecode.javacv.cpp.opencv_objdetect.CV_HAAR_FIND_BIGGEST_object;
import static com.googlecode.javacv.cpp.opencv_objdetect.CV_HAAR_DO_ROUGH_SEARCH;
import static com.googlecode.javacv.cpp.opencv_objdetect.cvHaarDetectobjects;
import static com.googlecode.javacv.cpp.opencv_imgproc.CV_BGR2GRAY; 
import static com.googlecode.javacv.cpp.opencv_imgproc.cvEqualizeHist;
import com.googlecode.javacv.cpp.opencv_objdetect.CvHaarClassifierCascade;
import static com.googlecode.javacv.cpp.opencv_core.CvMat;
import static com.googlecode.javacv.cpp.opencv_core.cvReleaseImage;
import static com.googlecode.javacv.cpp.opencv_core.cvLoad;
import static com.googlecode.javacv.cpp.opencv_core.CV_FONT_HERSHEY_COMPLEX_SMALL;
import static com.googlecode.javacv.cpp.opencv_core.cvGetSize;
import static com.googlecode.javacv.cpp.opencv_core.CV_32FC1;
import static com.googlecode.javacv.cpp.opencv_core.cvCreateMat;
import static com.googlecode.javacv.cpp.opencv_core.cvCloneImage;
import static com.googlecode.javacv.cpp.opencv_core.IPL_DEPTH_8U;
import static com.googlecode.javacv.cpp.opencv_core.cvCreateImage;
import static com.googlecode.javacv.cpp.opencv_core.CvSize;
import static com.googlecode.javacv.cpp.opencv_core.cvResetImageROI;
import static com.googlecode.javacv.cpp.opencv_core.cvClearMemStorage;
import static com.googlecode.javacv.cpp.opencv_core.cvSize;
import static com.googlecode.javacv.cpp.opencv_core.cvCopy;
import static com.googlecode.javacv.cpp.opencv_core.cvSetImageROI;
import static com.googlecode.javacv.cpp.openc

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        684  2013-11-13 23:57  ForFun\.classpath

     文件        502  2013-06-15 00:26  ForFun\.project

     文件        629  2013-06-15 00:23  ForFun\.settings\org.eclipse.jdt.core.prefs

     文件      29974  2013-11-16 01:04  ForFun\bin\FaceRecognizer.class

     文件        748  2013-11-16 00:43  ForFun\bin\LoginShell$1.class

     文件       1300  2013-11-16 00:43  ForFun\bin\LoginShell$2.class

     文件       1046  2013-11-16 00:43  ForFun\bin\LoginShell$3.class

     文件        969  2013-11-16 00:43  ForFun\bin\LoginShell$4.class

     文件       3531  2013-11-16 00:43  ForFun\bin\LoginShell.class

     文件       5765  2013-11-15 22:24  ForFun\bin\ProcessImg.class

     文件       1679  2013-11-16 00:29  ForFun\bin\RegisterShell$1.class

     文件       2673  2013-11-16 00:29  ForFun\bin\RegisterShell.class

     文件     671432  2013-11-16 01:22  ForFun\data\facedata.xml

     文件        410  2013-11-16 01:22  ForFun\data\ForTraining.txt

     文件     837462  2013-06-15 03:36  ForFun\data\haarcascade_frontalface_alt2.xml

     文件       1983  2013-11-16 01:21  ForFun\img\KangHui1.jpg

     文件       1968  2013-11-16 01:21  ForFun\img\KangHui2.jpg

     文件       1982  2013-11-16 01:21  ForFun\img\KangHui3.jpg

     文件       1971  2013-11-16 01:21  ForFun\img\KangHui4.jpg

     文件       1991  2013-11-16 01:22  ForFun\img\KangHui5.jpg

     文件       1922  2013-11-16 01:00  ForFun\img\LoisLane1.jpg

     文件       1926  2013-11-16 01:00  ForFun\img\LoisLane2.jpg

     文件       1924  2013-11-16 01:00  ForFun\img\LoisLane3.jpg

     文件       1917  2013-11-16 01:00  ForFun\img\LoisLane4.jpg

     文件       1922  2013-11-16 01:00  ForFun\img\LoisLane5.jpg

     文件       1917  2013-11-16 01:22  ForFun\img\MeiZi1.jpg

     文件       1907  2013-11-16 01:22  ForFun\img\MeiZi2.jpg

     文件       1943  2013-11-16 01:22  ForFun\img\MeiZi3.jpg

     文件       1915  2013-11-16 01:22  ForFun\img\MeiZi4.jpg

     文件       1915  2013-11-16 01:22  ForFun\img\MeiZi5.jpg

............此处省略39个文件信息

评论

共有 条评论