# 1. CS101 **Repository Path**: abc_nibkc/pi ## Basic Information - **Project Name**: 1. CS101 - **Description**: 编程介绍所利用到的离线网页项目 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 213 - **Created**: 2022-03-26 - **Last Updated**: 2022-11-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # pi #### Description 利用knn算法建立knn模型算出准确率,并对图片中的人脸识并预测出人名
从图形中识别出一个区域为人脸,检测窗口有大小,一般只检出比检测窗口大的人脸
在识别的人脸中定位M个人脸关键点;
根据人脸中定位的M个关键点计算人脸特征浮点向量
根据人脸特征从人脸特征库中检索相似人脸
预测人名时根据标签,在脸部画框并显示人脸的名字 ### 效果图 ![Image text](https://gitee.com/abc_nibkc/pi/blob/master/face/capture_20221118171317150.bmp)
![Image text](https://gitee.com/abc_nibkc/pi/blob/master/face/capture_20221118181638371.bmp)
![Image text](https://gitee.com/abc_nibkc/pi/blob/master/face/capture_20221118182438983.bmp)
![Image text](https://gitee.com/abc_nibkc/pi/blob/master/face/capture_20221118182646734.bmp)
![Image text](https://gitee.com/abc_nibkc/pi/blob/master/face/capture_20221118182957637.bmp)
![Image text](https://gitee.com/abc_nibkc/pi/blob/master/face/capture_20221118183201978.bmp)
![Image text](https://gitee.com/abc_nibkc/pi/blob/master/face/capture_20221130142359385.bmp)