Camera device and information prompt method for distance measurement
First Claim
1. 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, andobtaining 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.
1 Assignment
0 Petitions
Accused Products
Abstract
The invention discloses a camera device that contains 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; 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. The invention also discloses an information prompt method. The technical solution of the present invention can obtain and output a distance between a human face and the camera device, so as to prevent and prompt that a user is too close to a display screen, and thereby protect eyesight of the user.
-
Citations
12 Claims
-
1. 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. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. An information prompt method, comprising:
-
image capture step of capturing image data including a user by a camera device; information processing step of 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 step comprises; human face identification step of identifying human face image data in the image data obtained in the image capture step; particular area identification step of identifying image data of a human face particular area in the human face image data identified in the human face identification step; pixel calculation step of calculating a number of pixels of the image data in the human face particular area identified in the particular area identification step; and distance obtaining step of obtaining a distance between a human face and the camera device corresponding to the number of the pixels calculated in the pixel calculation step, 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; decision step of 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 prompt output step of 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 step is a pupil identification step of identifying image data between the two pupils in the identified human face image data identified in the human face identification step; and the pixel calculation step is for calculating a number of pixels of the image data between the two pupils identified in the pupil identification step; characterized in that the calculation formula is;
Distance between Human Face and Camera Device=(Number of Pixels−
Reference Number of Pixels)×
Coefficient+Reference Distance+Corrected Value. - View Dependent Claims (8, 9, 10, 11, 12)
-
Specification