The invention relates to a face detection method and device, a computer device and a computer readable storage medium. The method comprises the following steps: image acquisition device in the open position, face detection and face detection using the first database; judging whether a face is detected, if, switch to call second face detection database for face detection, if not, continue to call the first face detection database for face detection; the power consumed by the call the second face detection database is greater than the call of the first face detection database use. The face detection method and apparatus, computer apparatus and computer readable storage medium, in face detection, face detection database call second, to ensure the accuracy of face detection, not detected in the face, call the first face detection database, because the power consumption is less than the first call face detection database call second face detection database, reduce power consumption.
【技术实现步骤摘要】
人脸检测方法和装置、计算机设备、计算机可读存储介质
本专利技术涉及人脸检测领域,特别是涉及一种人脸检测方法和装置、计算机设备、计算机可读存储介质。
技术介绍
在拍照过程中为了准确的检测到取景区域中的人脸,往往采用数据量丰富的人脸检测数据库,其稳定性高,然而数据量丰富的人脸检测数据库功耗很大,大大降低了移动终端的续航时长。
技术实现思路
本专利技术实施例提供一种人脸检测方法和装置、计算机设备、计算机可读存储介质,可以降低计算机设备的功耗。一种人脸检测方法,包括:在图像采集装置开启状态下,调用第一人脸检测数据库进行人脸检测;判断是否检测到人脸,若是,切换到调用第二人脸检测数据库进行人脸检测,若否,继续调用所述第一人脸检测数据库进行人脸检测;其中,调用所述第二人脸检测数据库所消耗的功耗大于调用所述第一人脸检测数据库所消耗的功耗。一种人脸检测装置,包括:调用模块,用于在图像采集装置开启状态下,调用第一人脸检测数据库进行人脸检测;判断模块,用于判断是否检测到人脸;切换模块,用于若判断出检测到人脸,则切换到调用第二人脸检测数据库进行人脸检测,其中,调用所述第二人脸检测数据库所消耗 ...
【技术保护点】
一种人脸检测方法,其特征在于,包括:在图像采集装置开启状态下,调用第一人脸检测数据库进行人脸检测;判断是否检测到人脸,若是,切换到调用第二人脸检测数据库进行人脸检测,若否,继续调用所述第一人脸检测数据库进行人脸检测;其中,调用所述第二人脸检测数据库所消耗的功耗大于调用所述第一人脸检测数据库所消耗的功耗。
【技术特征摘要】
1.一种人脸检测方法,其特征在于,包括:在图像采集装置开启状态下,调用第一人脸检测数据库进行人脸检测;判断是否检测到人脸,若是,切换到调用第二人脸检测数据库进行人脸检测,若否,继续调用所述第一人脸检测数据库进行人脸检测;其中,调用所述第二人脸检测数据库所消耗的功耗大于调用所述第一人脸检测数据库所消耗的功耗。2.根据权利要求1所述的人脸检测方法,其特征在于,在切换到调用第二人脸检测数据库进行人脸检测的步骤之后,所述方法还包括:接收切换图像采集装置指令,根据所述切换图像采集装置指令控制从调用所述第二人脸检测数据库切换到调用所述第一人脸检测数据库。3.根据权利要求1所述的人脸检测方法,其特征在于,在切换到调用第二人脸检测数据库进行人脸检测的步骤之后,所述方法还包括:接收拍照模式切换指令,根据所述拍照模式切换指令控制从调用所述第二人脸检测数据库切换到调用所述第一人脸检测数据库。4.根据权利要求1所述的人脸检测方法,其特征在于,所述方法还包括:若检测到人脸,检测当前环境是否为逆光环境或暗光环境,若当前环境为逆光环境或暗光环境,则切换到调用第二人脸检测数据库进行人脸检测。5.一种人脸检测装置,其特征在于,包括:调用模块,用于在图像采集装置开启状态下,调用第一人脸检测数据库进行人脸检测;判断模块,用于判断是否检测到人脸;切换模块,用于若判断出检测到人脸,则切换到调用第二人脸检测数据库进行人脸检测,其中,调...
【专利技术属性】
技术研发人员:李小朋,
申请(专利权)人:广东欧珀移动通信有限公司,
类型:发明
国别省市:广东,44
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。