基于OpenCV的人脸黑头识别算法
Face blackhead recognition algorithm based on OpenCV
何祥芝 1涂海宁 1刘建胜1
作者信息
- 1. 南昌大学先进制造学院,江西 南昌 330031
- 折叠
摘要
目前越来越多的人受到人脸黑头问题的困扰,为了更加直观地看到人脸黑头的情况,基于OpenCV提出了一种智能识别黑头的算法,通过黑头仪设备获取到人脸照片,先通过灰度化,去噪滤波,图像增强算法对图像进行预处理改善图像质量,再进行自适应阈值二值化去除图像背景,获取到疑似黑头的特征,再根据黑头预设特征对疑似目标进行筛选得到最终识别为黑头的结果,并进行标记和计数.将算法移植到黑头仪设备中,经过测试,算法识别准确率达到 85.55%.
Abstract
At present,more and more people are troubled by the problem of face blackheads.In order to see the situation of facial blackheads more directly,an intelligent blackhead recognition algorithm based on OpenCV was proposed in this paper.Face photos were obtained by blackhead device.Then,adaptive threshold binarization was carried out to remove the image background and obtain the features of suspected blackheads.Then,according to the preset blackhead characteristics,the suspicious target was screened,and the final result was identified as blackhead,and marked and counted.The algorithm was transplanted to the blackhead device,and after testing,the algorithm recognition accuracy reached 85.55%.
关键词
OpenCV/图像增强/背景去除/轮廓检测/黑头识别Key words
OpenCV/image enhancement/background removal/contour detection/black recognition引用本文复制引用
出版年
2024