[1]蒋园,阳许军.基于人脸识别的海量图片的存储和索引优化[J].计算机技术与发展,2019,29(03):85-88.[doi:10.3969/ j. issn.1673-629X.2019.03.018]
 JIANG Yuan,YANG Xu-jun.Storage and Index Optimization of Massive Images Based on Facial Recognition[J].,2019,29(03):85-88.[doi:10.3969/ j. issn.1673-629X.2019.03.018]
点击复制

基于人脸识别的海量图片的存储和索引优化()
分享到:

《计算机技术与发展》[ISSN:1006-6977/CN:61-1281/TN]

卷:
29
期数:
2019年03期
页码:
85-88
栏目:
智能、算法、系统工程
出版日期:
2019-03-10

文章信息/Info

Title:
Storage and Index Optimization of Massive Images Based on Facial Recognition
文章编号:
1673-629X(2019)03-0085-04
作者:
蒋园1阳许军2
1. 武汉邮电科学研究院,湖北 武汉 430074;2. 武汉虹信技术服务有限责任公司 研发部,湖北 武汉 430074
Author(s):
JIANG Yuan1 YANG Xu-jun2
1. Wuhan Research Institute of Posts and Telecommunications,Wuhan 430074,China;2. Wuhan Hongxin Technology Service Company with Limited Liability,Wuhan 430074,China
关键词:
人脸识别图片小文件FastDFSRedis读写性能
Keywords:
face recognitionimage small filesFastDFSRedisreading and writing performance
分类号:
TP39
DOI:
10.3969/ j. issn.1673-629X.2019.03.018
摘要:
人脸识别是一种根据人类的面部特征来鉴别个体的技术。 其中需要通过摄像机获取人脸图像,但在产生大量的小文件过程中,过去的分布式文件系统很难为其提供高性能读写和快速检索。 结合 FastDFS,Redis 以及 Mysql 来优化图片的存储和索引,将同一摄像机目录下的小图片文件合并成大文件,并在其中建立内部小文件索引,然后将合成的大文件写到 FastDFS 中生成大文件索引,最后客户端结合小文件索引和大文件索引生成全文索引,并且利用 Mysql 的持久性存储特点来进行所有文件名和对应全文索引的存储以及利用 Redis 内存数据库来暂存近一年的文件和读取文件,同时采取提前读的机制来提前预取相邻时间的文件存放到客户端缓存来减少 IO 的操作。 最后通过实验证明写性能平均提高了 7.5% ,读性能平均提高了 5. 0% 。
Abstract:
Face recognition is a technique to identify individuals based on their facial features. The face images are captured by the cameramainly. However,in the process of generating a large number of small files,it is difficult for the distributed file system to provide highperformance reading and writing and fast retrieval. In this paper,combining FastDFS,Redis and Mysql to optimize the storage and indexof images,small image files in the same camera directory are merged into large files,and internal small file index is established. The resultant large file is then written to FastDFS to generate a large file index. At last,the client combines the small file index with the large file index for generating the full-text index,taking advantage of the Mysql persistent storage characteristics for the storage of file name and corresponding full-text index,using the Redis memory database to temporarily store files and read files for nearly a year,and at the same time,adopting the pre-reading mechanism to pre-fetch the peripheral time files to reduce the operation of IO. Finally,it is proved that the average writing performance is improved by 7. 5% ,and the average reading performance by 5. 0% .

相似文献/References:

[1]徐钊,吴光敏,覃世欢.基于AccelDSP的LBP算法在人脸识别中的应用[J].计算机技术与发展,2014,24(01):51.
 XU Zhao,WU Guang-min,QIN Shi-huan.Application of LBP Algorithm Based on AccelDSP in Face Recognition[J].,2014,24(03):51.
[2]时书剑 马燕.基于Gabor滤波和KPCA的人脸识别方法[J].计算机技术与发展,2010,(04):51.
 SHI Shu-jian,MA Yan.Face Recognition Based on Gabor Filters and Kernel Principal Component Analysis[J].,2010,(03):51.
[3]袁健 姚明海.基于简化局部二元法的人脸特征提取[J].计算机技术与发展,2009,(06):84.
 YUAN Jian,YAO Ming-hai.Facial Feature Extraction Based on Simplified Local Binary Patterns[J].,2009,(03):84.
[4]李伟.人脸识别算法在智能手机上的实现[J].计算机技术与发展,2008,(01):161.
 LI Wei.Implementation of Face Identification in Intelligent Mobile Telephone[J].,2008,(03):161.
[5]黄国宏 刘刚.一种新的基于Fisher准则的线性特征提取方法[J].计算机技术与发展,2008,(05):227.
 HUANG Guo-hong,LIU Gang.A New Linear Feature Extraction Method Based on Fisher Criterion[J].,2008,(03):227.
[6]孙晓玲 侯德文 储凡静.人脸识别中的眼睛定位方法[J].计算机技术与发展,2008,(10):46.
 SUN Xiao-ling,HOU De-wen,CHU Fan-jing.Eye Location in Face Recogniton[J].,2008,(03):46.
[7]王静 谭同德.基于梯度和模板二次匹配的人眼定位[J].计算机技术与发展,2007,(10):144.
 WANG Jing,TAN Tong-de.A Method to Eyes Location Based on Step- Direction and Templet - Matching[J].,2007,(03):144.
[8]高宏娟 潘晨.基于非负矩阵分解的人脸识别算法的改进[J].计算机技术与发展,2007,(11):63.
 GAO Hong-juan,PAN Chen.Improved Face Recognition Algorithm Based on Non- Negative Matrix Factorization[J].,2007,(03):63.
[9]徐勇 张海 周森鑫 王辉.基于统计学习理论的人脸识别方法研究[J].计算机技术与发展,2007,(11):118.
 XU Yong,ZHANG Hai,ZHOU Sen-xin,et al.Research on Face Recognition Based on Statistical Learning Theory[J].,2007,(03):118.
[10]马驰 阮秋琦.基于离散微粒群优化算法的SVM参数选择[J].计算机技术与发展,2007,(12):20.
 MA Chi,RUAN Qiu-qi.Parameter Selection for SVM Based on Discrete PSO[J].,2007,(03):20.

更新日期/Last Update: 2019-03-10