CN110784600A - Device and method for detecting distance between human eyes and mobile phone - Google Patents

Device and method for detecting distance between human eyes and mobile phone Download PDF

Info

Publication number
CN110784600A
CN110784600A CN201911188399.XA CN201911188399A CN110784600A CN 110784600 A CN110784600 A CN 110784600A CN 201911188399 A CN201911188399 A CN 201911188399A CN 110784600 A CN110784600 A CN 110784600A
Authority
CN
China
Prior art keywords
distance
module
user
mobile phone
eyes
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911188399.XA
Other languages
Chinese (zh)
Inventor
宋鹏云
周航
韩柯
杨鹏飞
张寅睿
隗征
虎帅珂
郭子铭
刘阳辉
彭安金
王天冬
张俊祎
景贯哲
王子闻
朱世奥
王靖东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Southwest Minzu University
Original Assignee
Southwest Minzu University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Southwest Minzu University filed Critical Southwest Minzu University
Priority to CN201911188399.XA priority Critical patent/CN110784600A/en
Publication of CN110784600A publication Critical patent/CN110784600A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Environmental & Geological Engineering (AREA)
  • Image Analysis (AREA)
  • Image Processing (AREA)

Abstract

The invention discloses a device and a method for detecting the distance between human eyes and a mobile phone; an apparatus for detecting a distance between a human eye and a mobile phone, the apparatus comprising: a front camera and an embedded system; the method is characterized in that: an information input module is arranged in the embedded system and used for inputting information by a user; the information input module transmits the information of the user to the distance calculation module; the characteristic extraction module is used for extracting characteristic points of the eyes of the user from the image signals collected by the front camera by using a face recognition method and outputting the characteristic point data to the distance calculation module; the distance calculation module is used for extracting feature point data of the eyes of the user, calculating the distance between the two inner canthus of the user, which is acquired by the camera, and calculating the distance between the eyes and the screen of the mobile phone according to the distance data between the two inner canthus, the information data of the user and the experimental data stored in the calculation module; the invention can be widely applied to mobile phones, computers and other equipment.

Description

Device and method for detecting distance between human eyes and mobile phone
Technical Field
The invention relates to distance detection, in particular to a device and a method for detecting the distance between human eyes and a mobile phone.
Background
There are currently more than about 20 mobile phone apps or applets used to measure vision. National standard vision test charts were used. The user is informed to keep the distance between the eyes and the screen of the mobile phone at 40cm, and then the eyesight of the user is judged in a mode of changing the sighting marks. However, the user is difficult to judge the accurate distance between the two eyes of the user and the screen of the mobile phone, so that the test result is difficult to be accurate.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides a device and a method for detecting the distance between a human eye and a mobile phone.
The first technical scheme of the invention is as follows: an apparatus for detecting a distance between a human eye and a mobile phone, the apparatus comprising: a front camera and an embedded system.
The front camera is used for collecting the face image of the user and outputting a face image signal to the embedded system.
The method is characterized in that: the embedded system is internally provided with:
the information input module is used for inputting information by a user; the information input by the user includes age, sex, etc.; the information input module transmits the information of the user to the distance calculation module;
and the feature extraction module is used for extracting feature points of the two eyes of the user from the image signals acquired by the front camera by using a face recognition method and outputting the feature point data to the distance calculation module.
The distance calculation module is used for extracting feature point data of the eyes of the user, calculating the distance between the two inner canthus of the user, acquired by the camera, calculating the distance between the eyes and the mobile phone screen according to the distance data between the two inner canthus, the information data of the user and the experimental data stored in the calculation module, and outputting the distance data to the judgment module;
a judging module: and the distance detection module is used for judging whether the distance between the human eyes and the mobile phone meets the specified requirement or not according to the distance data and outputting the detection result to the screen of the mobile phone for display through the display driving module.
According to the preferable scheme of the device for detecting the distance between the human eye and the mobile phone, the device further comprises a voice broadcasting module. The judgment module outputs the detection result to the loudspeaker through the voice broadcasting module to perform voice broadcasting.
The second technical scheme of the invention is a method for detecting the distance between the human eyes and the mobile phone, which is characterized by comprising the following steps:
A. the user inputs information in the information input module, wherein the information input by the user comprises age, gender and the like; the information input module transmits the information of the user to the distance calculation module 22;
B. the front camera is used for collecting the face image of the user, and the face image signal is output to the image collecting module.
C. And extracting the feature points of the two eyes of the user from the image signal acquired by the front camera by using a face recognition method, and outputting the feature point data to the distance calculation module.
D. The distance calculation module calculates the distance between the two inner canthus of the user collected by the camera by using the extracted feature point data of the two eyes of the user, calculates the distance between the eyes and the mobile phone screen according to the distance data between the two inner canthus, the information data of the user and the experimental data stored in the calculation module, and outputs the distance data to the judgment module.
E. The judging module judges whether the distance between the human eyes and the mobile phone meets the specified requirement or not according to the distance data, and outputs the detection result to the screen of the mobile phone for display through the display driving module.
According to the preferable scheme of the method for detecting the distance between the human eye and the mobile phone, the method further comprises the following steps:
F. the judgment module outputs the detection result to a loudspeaker for voice broadcasting through the voice broadcasting module.
The vision detection equipment and method based on human skeleton key point identification have the beneficial effects that: the invention uses the front camera to collect the face image of the user, captures the characteristics of the eyes by the face characteristic point recognition algorithm, and calculates the distance from the eyes to the camera by using the information such as the focal length of the camera, thereby prompting the user to more accurately keep the standard distance, improving the accuracy of vision test and simultaneously protecting the eyes. The invention can be widely applied to mobile phones, computers and other equipment.
Drawings
Fig. 1 is a schematic block diagram of a device for detecting a distance between a human eye and a mobile phone according to the present invention.
Detailed Description
The technical solution of the present invention is further described in detail with reference to the accompanying drawings and specific embodiments. However, it should be noted that the present invention is not limited to the following embodiments.
Referring to fig. 1, an apparatus for detecting a distance between a human eye and a mobile phone, the apparatus comprising: a front camera 1 and an embedded system 2.
The front camera 1 is used for collecting a face image of a user and outputting a face image signal to the embedded system 2.
The embedded system 2 is internally provided with:
an information input module 26 for a user to input information; the information input by the user includes age, sex, etc.; the information input module transmits the information of the user to the distance calculation module 22;
the feature extraction module 21 is configured to extract feature points of both eyes of the user from the image signal acquired by the front camera 5 by using a face recognition method, and output the feature point data to the distance calculation module 22.
The distance calculating module 22 is configured to calculate a distance between two inner canthi of the user collected by the camera 5 according to the extracted feature point data of the two eyes of the user, calculate a distance between the eyes and the mobile phone screen according to the distance data between the two inner canthi, the information data of the user and the experimental data stored in the calculating module 22, and output the distance data to the judging module 23.
The judging module 23: and the distance data is used for judging whether the distance between the human eyes and the mobile phone meets the specified requirement or not and outputting the detection result to the mobile phone screen 3 for display through the display driving module 24.
A method for detecting the distance between human eyes and a mobile phone comprises the following steps:
A. the user inputs information in the information input module, wherein the information input by the user comprises age, gender and the like; the information input module transmits the information of the user to the distance calculation module 22;
B. the front camera 5 is used for collecting the face image of the user and outputting a face image signal to the image collection module 21.
C. By using the face recognition method, the feature points of the eyes of the user are extracted from the image signal collected by the front camera 5, and the feature point data is output to the distance calculation module 22.
The characteristic points of the eyes mainly include inner canthus, outer canthus and other parts.
D. The distance calculating module 22 calculates the distance between the two inner canthi of the user collected by the camera 5 by using the extracted feature point data of the two eyes of the user, calculates the distance between the eyes and the mobile phone screen according to the distance data between the two inner canthi, the information data of the user and the experimental data stored in the calculating module 22, and outputs the distance data to the judging module 23.
The distance calculation module 22 stores a large amount of experimental data, which includes: when the distance between the eyes and the screen is the set distance L, the camera 5 collects the distance data between two inner canthi of people with different ages and sexes; in the specific calculation of the distance, the distance between two inner canthi of people of the same age and the same class is assumed to be fixed, the camera is set to adopt 1X zooming, and the distance between the eyes of the people and the screen of the mobile phone can be calculated according to the geometric relation as the size of the collected images is in inverse proportion to the size of the collected images, and the closer the distance is, the larger the images are.
For example, the distance calculation module 22 stores the distances between the two inner canthi of 18-year old, 19-year old and 20-year old women at a distance of 40cm from the screen to the eyes, which is 2cm, 2.1cm and 2.1 cm. Now the camera 5 collects the distance between the two inner canthi of the female user aged 18 years, which is 4cm, then according to the inverse relation, the distance x between the human eye of the female user aged 18 years and the mobile phone screen can be calculated as:
40:x=4:2 x=20cm
E. the judging module 23 judges whether the distance between the human eyes and the mobile phone meets the specified requirement according to the distance data, and prompts that the distance is too short if the measured distance is less than the set distance. If the measured distance is greater than the set distance, the distance is indicated to be too far, and if the measured distance is approximately equal to the set distance, the vision test is started. And outputs the detection result to the mobile phone screen 3 for display through the display driving module 24.
F. The judgment module 23 outputs the detection result to the speaker 4 through the voice broadcasting module 25 for voice broadcasting.
In addition, in the specific embodiment, the calculation of the distance needs to be repeated for multiple times, that is, within the set time, a plurality of pictures are selected to extract the feature point data of the eyes, the distances between the eyes and the mobile phone are respectively calculated, and if the times of judging that the distances between the eyes and the mobile phone meet the specified requirements reach the set values, the conclusion that the distances between the eyes and the mobile phone meet the specified requirements can be obtained. Similarly, the conclusion of "too close distance" and "too far distance" is obtained through multiple calculations and judgments.
While embodiments of the invention have been shown and described, it will be understood by those of ordinary skill in the art that: various changes, modifications, substitutions and alterations can be made to the embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.

Claims (4)

1. An apparatus for detecting a distance between a human eye and a mobile phone, the apparatus comprising: the system comprises a front camera (1) and an embedded system (2);
the front camera (1) is used for collecting a face image of a user and outputting a face image signal to the embedded system (2);
the method is characterized in that: the embedded system (2) is internally provided with:
an information input module (26) for a user to input information; the information input module (26) transmits the information of the user to the distance calculation module (22);
the characteristic extraction module (21) is used for extracting characteristic points of the eyes of the user from the image signals collected by the front camera (5) by using a face recognition method and outputting the characteristic point data to the distance calculation module (22);
the distance calculation module (22) is used for extracting feature point data of the eyes of the user, calculating the distance between the two inner canthus of the user, acquired by the camera (5), calculating the distance between the eyes and the mobile phone screen according to the distance data between the two inner canthus, information data of the user and experimental data stored in the calculation module (22), and outputting the distance data to the judgment module (23);
a judging module (23): and the distance detection module is used for judging whether the distance between the human eyes and the mobile phone meets the specified requirement or not according to the distance data and outputting the detection result to the mobile phone screen (3) for display through the display driving module (24).
2. The apparatus for detecting the distance between the human eye and the mobile phone according to claim 1, wherein: the device also comprises a voice broadcasting module (3); the judgment module (23) outputs the detection result to the loudspeaker (4) through the voice broadcast module (25) for voice broadcast.
3. A method for detecting the distance between human eyes and a mobile phone is characterized by comprising the following steps:
A. the user inputs information in the information input module (26), and the information input by the user comprises age, gender and the like; the information input module (26) transmits the information of the user to the distance calculation module (22);
B. the method comprises the steps that a front-facing camera (5) is used for collecting a face image of a user, and a face image signal is output to an image collecting module (21);
C. extracting feature points of the eyes of the user from the image signal collected by the front camera (5) by using a face recognition method, and outputting the feature point data to a distance calculation module (22);
D. the distance calculation module (22) calculates the distance between the two inner canthus of the user collected by the camera (5) by using the extracted feature point data of the two eyes of the user, calculates the distance between the two eyes and the mobile phone screen according to the distance data between the two inner canthus, the information data of the user and the experimental data stored in the calculation module (22), and outputs the distance data to the judgment module (23);
E. the judging module (23) judges whether the distance between the human eyes and the mobile phone meets the specified requirement or not according to the distance data, and outputs the detection result to the mobile phone screen (3) for displaying through the display driving module (24).
4. The method for detecting the distance between the human eye and the mobile phone according to claim 3, wherein the method comprises the following steps: the method further comprises the following steps:
F. the judgment module (23) outputs the detection result to the loudspeaker (4) through the voice broadcast module (25) for voice broadcast.
CN201911188399.XA 2019-11-28 2019-11-28 Device and method for detecting distance between human eyes and mobile phone Pending CN110784600A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911188399.XA CN110784600A (en) 2019-11-28 2019-11-28 Device and method for detecting distance between human eyes and mobile phone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911188399.XA CN110784600A (en) 2019-11-28 2019-11-28 Device and method for detecting distance between human eyes and mobile phone

Publications (1)

Publication Number Publication Date
CN110784600A true CN110784600A (en) 2020-02-11

Family

ID=69392992

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911188399.XA Pending CN110784600A (en) 2019-11-28 2019-11-28 Device and method for detecting distance between human eyes and mobile phone

Country Status (1)

Country Link
CN (1) CN110784600A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113029018A (en) * 2021-02-03 2021-06-25 深圳市优必选科技股份有限公司 Eye protection prompting method and device, terminal equipment and computer readable storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101409784A (en) * 2007-10-10 2009-04-15 联想(北京)有限公司 Camera device and information-prompting apparatus
CN104076925A (en) * 2014-06-30 2014-10-01 天马微电子股份有限公司 Method for reminding user of distance between eyes and screen
US20140355830A1 (en) * 2013-05-31 2014-12-04 Samsung Electronics Co., Ltd. Method and apparatus for protecting eyesight
CN105759971A (en) * 2016-03-08 2016-07-13 珠海全志科技股份有限公司 Method and system for automatically prompting distance from human eyes to screen
CN108629336A (en) * 2018-06-05 2018-10-09 北京千搜科技有限公司 Face value calculating method based on human face characteristic point identification
CN108694354A (en) * 2017-04-10 2018-10-23 上海聚虹光电科技有限公司 A kind of application process of iris collection device acquisition facial image
CN109145865A (en) * 2018-09-07 2019-01-04 北京相貌空间科技有限公司 Face standard level calculating method and device
CN109284778A (en) * 2018-09-07 2019-01-29 北京相貌空间科技有限公司 Face face value calculating method, computing device and electronic equipment
CN109993029A (en) * 2017-12-29 2019-07-09 上海聚虹光电科技有限公司 Blinkpunkt model initialization method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101409784A (en) * 2007-10-10 2009-04-15 联想(北京)有限公司 Camera device and information-prompting apparatus
US20140355830A1 (en) * 2013-05-31 2014-12-04 Samsung Electronics Co., Ltd. Method and apparatus for protecting eyesight
CN104076925A (en) * 2014-06-30 2014-10-01 天马微电子股份有限公司 Method for reminding user of distance between eyes and screen
CN105759971A (en) * 2016-03-08 2016-07-13 珠海全志科技股份有限公司 Method and system for automatically prompting distance from human eyes to screen
CN108694354A (en) * 2017-04-10 2018-10-23 上海聚虹光电科技有限公司 A kind of application process of iris collection device acquisition facial image
CN109993029A (en) * 2017-12-29 2019-07-09 上海聚虹光电科技有限公司 Blinkpunkt model initialization method
CN108629336A (en) * 2018-06-05 2018-10-09 北京千搜科技有限公司 Face value calculating method based on human face characteristic point identification
CN109145865A (en) * 2018-09-07 2019-01-04 北京相貌空间科技有限公司 Face standard level calculating method and device
CN109284778A (en) * 2018-09-07 2019-01-29 北京相貌空间科技有限公司 Face face value calculating method, computing device and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113029018A (en) * 2021-02-03 2021-06-25 深圳市优必选科技股份有限公司 Eye protection prompting method and device, terminal equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN110348543B (en) Fundus image recognition method and device, computer equipment and storage medium
CN110807361B (en) Human body identification method, device, computer equipment and storage medium
EP3584745A1 (en) Live body detection method and apparatus, system, electronic device, and storage medium
US20130051614A1 (en) Sign language recognition system and method
CN105590094B (en) Determine the method and device of human body quantity
CN111429517A (en) Relocation method, relocation device, storage medium and electronic device
CN110570460B (en) Target tracking method, device, computer equipment and computer readable storage medium
US20110274311A1 (en) Sign language recognition system and method
CN107169419B (en) Non-contact human body sign detection method and device based on machine vision
WO2020020022A1 (en) Method for visual recognition and system thereof
JP2017134830A (en) Face recognition system and face recognition method
CN111444748B (en) Sitting posture detection method, device, equipment and storage medium
CN111602139A (en) Image processing method and device, control terminal and mobile device
CN104077563B (en) Face identification method and device
CN110490186B (en) License plate recognition method and device and storage medium
US20170000344A1 (en) System and method for optical detection of cognitive impairment
EP3809361B1 (en) Wrinkle detection method and electronic device
CN115471662B (en) Training method, recognition method, device and storage medium for semantic segmentation model
CN110784600A (en) Device and method for detecting distance between human eyes and mobile phone
CN115509360A (en) Virtual reality VR interactive system based on metauniverse
CN114299587A (en) Eye state determination method and apparatus, electronic device, and storage medium
CN111340691A (en) Image processing method, image processing device, electronic equipment and storage medium
CN110874572A (en) Information detection method and device and storage medium
CN110222647A (en) A kind of human face in-vivo detection method based on convolutional neural networks
CN113143193A (en) Intelligent vision testing method, device and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200211