Patent ID: 8842885

Claim:
A camera device comprising: an image capture module for capturing image data including a user; an information processing module for obtaining human face image data from the image data, and obtaining a distance information between a human face corresponding to the human face image data and the camera device according to the human face image data, wherein the information processing module comprises: a human face identification module for identifying human face image data in the image data obtained by the image capture module; a particular area identification module for identifying image data of a human face particular area in the human face image data identified by the human face identification module; a pixel calculation module for calculating a number of pixels of the image data in the human face particular area identified by the particular area identification module; and a distance obtaining module for obtaining a distance between a human face and the camera device corresponding to the number of the pixels calculated by the pixel calculation module, according to a predetermined corresponding relationship between the number of pixels of the image data in the human face particular area as well as the distance between the human face and the camera device; a decision module for determining whether the distance corresponding to said distance information is less than a predetermined value, and generating a prompt information while the distance corresponding to said distance information is less than a predetermined value; and a prompt output module for outputting said prompt information based on said distance information, said prompt information is configured to give a prompt to said user; wherein the particular area identification module is a pupil identification module for identifying image data between the two pupils in the identified human face image data identified by the human face identification module; and the pixel calculation module is for calculating a number of pixels of the image data between the two pupils identified by the pupil identification module; characterized in that the calculation formula is: Distance from Human Face to Camera Device=(Number of Pixels−Reference Number of Pixels)×Coefficient+Reference Distance+Corrected Value.