摘要
提出了一种基于Android平台进行证件照拍摄、处理的一体化智能解决方案.软件使用MVP架构,避免了Activity组件的高耦合,通过对图片进行压缩处理,提高了处理速度,避免了Android OOM的异常.利用边缘检测算子Sobel算子,对证件照人体轮廓边缘进行有效的识别,给出将RGB图像转换为灰度图像时获得的灰度值频率分布直方图的调整建议,能够满足一般用户对拍摄制作证件照的需求.
MVP structure is used for the software to avoid high coupling of Activity module. The pictures are compressed for faster processing speed,so that the abnormality of Android OOM can be avoided. The edge detection operator( Sobel) is used to effectively identify the body silhouette edges of ID photos. When transforming RGB images into gray level images,the histogram of gray level frequency distribution can be obtained for adjustment suggestions. Based on Android platform,an integrated solution for ID photos shooting and processing is provided,which effectively meet the demands of users in making fancy ID photos in a convenient and efficient way.
作者
孙庆英
翟海峰
SUN Qin-ying ZHAI Hai-feng(School of Computer Science and Technology, Huaiyin Normal University, Huaian Jiangsu 223300, Chin)
出处
《淮阴师范学院学报(自然科学版)》
CAS
2017年第3期226-231,共6页
Journal of Huaiyin Teachers College;Natural Science Edition
基金
淮安市应用研究与科技攻关(工业)计划项目(HAG2014025)