CN117354417A - Smart phone screen closing method and system - Google Patents
Smart phone screen closing method and system Download PDFInfo
- Publication number
- CN117354417A CN117354417A CN202311298662.7A CN202311298662A CN117354417A CN 117354417 A CN117354417 A CN 117354417A CN 202311298662 A CN202311298662 A CN 202311298662A CN 117354417 A CN117354417 A CN 117354417A
- Authority
- CN
- China
- Prior art keywords
- child
- facial feature
- face
- mobile phone
- feature value
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 29
- 230000001815 facial effect Effects 0.000 claims abstract description 101
- 210000000697 sensory organ Anatomy 0.000 claims description 24
- 238000004364 calculation method Methods 0.000 claims description 12
- 238000003384 imaging method Methods 0.000 claims description 12
- 238000004590 computer program Methods 0.000 claims description 11
- 210000000056 organ Anatomy 0.000 claims description 9
- 238000010586 diagram Methods 0.000 description 2
- 230000004379 myopia Effects 0.000 description 2
- 208000001491 myopia Diseases 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000015556 catabolic process Effects 0.000 description 1
- 238000006731 degradation reaction Methods 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 230000004438 eyesight Effects 0.000 description 1
- 230000000366 juvenile effect Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000005855 radiation Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/16—Human faces, e.g. facial parts, sketches or expressions
- G06V40/168—Feature extraction; Face representation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/16—Human faces, e.g. facial parts, sketches or expressions
- G06V40/168—Feature extraction; Face representation
- G06V40/171—Local features and components; Facial parts ; Occluding parts, e.g. glasses; Geometrical relationships
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User 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/72439—User 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72451—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72463—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
- H04M1/724631—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device by limiting the access to the user interface, e.g. locking a touch-screen or a keypad
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Oral & Maxillofacial Surgery (AREA)
- Health & Medical Sciences (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- General Health & Medical Sciences (AREA)
- Computer Networks & Wireless Communication (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Image Processing (AREA)
Abstract
The application relates to the technical field of smart phone screens and discloses a method and a system for closing a smart phone screen, wherein a face image of a mobile phone user is acquired; judging whether the face image is a child image or not according to the face image; if the image is a child image, acquiring facial feature information of the child, and inputting the facial feature information into an age estimation model to obtain the estimated age of the child; inputting the estimated age of the child into a database to be matched with an entertainment schedule, so as to obtain entertainment duration; setting the automatic closing time of the mobile phone screen according to the entertainment duration; according to the invention, the age is estimated according to the facial feature information of the child by acquiring the facial feature information of the child, so that the estimated age is matched and corresponds to the entertainment schedule in the system database, the entertainment duration is limited, and the use time of the child mobile phone can be controlled in real time.
Description
Technical Field
The application relates to the technical field of smart phone screens, in particular to a method and a system for closing a smart phone screen.
Background
With the development of mobile communication and the continuous improvement of living standard of people, various mobile terminals such as mobile phones are becoming more popular, and smart phones are used as electronic devices which are most frequently used by people at present, and long-term use can lead to vision degradation, so that myopia problems are more and more popular, and the problems are more and less aged, especially children are easily attracted by interesting contents in the mobile phones, and therefore the phenomenon must be controlled.
In the prior art, in order to realize corresponding management and control on children, the time for playing the mobile phone is generally required to be limited, parents are required to collect the mobile phone as soon as the entertainment time is over, but many times parents cannot control the mobile phone entertainment time of the children at the sides of the children at any time, for example, after the children turn off the light at night, some children can steal the mobile phone, and the real-time control on the game time of the children is difficult to realize.
Disclosure of Invention
The main purpose of the application is to provide a method and a system for closing a smart phone screen, which aim to solve the technical problem in the prior art.
The application provides a method for closing a smart phone screen, which comprises the following steps:
acquiring a face image of a mobile phone user;
judging whether the face image is a child image or not according to the face image;
if the facial feature information is a child image, acquiring facial feature information of the child image, wherein the facial feature information comprises five-sense organ distribution feature information, facial feature information and five-sense organ shape feature information;
inputting the facial feature information into an age estimation model to obtain an estimated age of the child;
inputting the estimated age of the child into a database to be matched with an entertainment schedule, so as to obtain entertainment duration;
and setting the automatic closing time of the mobile phone screen according to the entertainment duration.
Preferably, the step of judging whether the face image is a child image or not includes:
extracting a face width in the face image;
extracting binocular feature values and binocular weight coefficients from the face image;
extracting an oronasal characteristic value and an oronasal weight coefficient in the facial image;
calculating the facial feature value of the user according to the facial width, the binocular feature value, the binocular weight coefficient, the oronasal feature value and the oronasal weight coefficient, wherein the calculation formula is as follows:
;
wherein E represents a facial feature value, H represents a facial width, L 1 Represents binocular eigenvalue, Q 1 Represents binocular weighting coefficient, L 2 Represents binocular eigenvalue, Q 2 Representing binocular weight coefficients;
judging whether the facial feature value is smaller than a preset feature value or not;
and if the facial feature value is smaller than the preset feature value, judging the facial image corresponding to the facial feature value as a child image.
Preferably, the step of extracting the face width in the face image includes:
extracting a mobile phone focal length when shooting face images;
extracting the distance between the face and the mobile phone screen when the face image is shot;
acquiring the face imaging height of a mobile phone user according to the face image;
calculating the face width according to the focal length of the mobile phone, the distance between the face and the mobile phone screen and the face imaging height, wherein the calculation formula is as follows:
;
wherein, H represents the face width, H represents the face imaging height, D represents the distance between the face and the mobile phone screen, and F represents the focal length of the mobile phone.
Preferably, the step of inputting the facial feature information into an age estimation model to obtain an estimated age of the child includes:
acquiring a child face characteristic value;
acquiring a child five-sense organ distribution characteristic value corresponding to the facial features of the child;
acquiring adult five sense organs distribution standard characteristic values;
calculating estimated age of the child according to the child facial feature value, the child five sense organ distribution feature value and the adult five sense organ distribution standard feature value;
wherein, the calculation formula is:
;
wherein,indicating estimated age, ->Representing the distribution characteristic value of the five sense organs of children +.>The characteristic value of the adult five sense organs distribution standard is represented, and z represents the characteristic value of the face.
Preferably, the step of acquiring the distribution feature value of the five sense organs of the child corresponding to the facial feature of the child includes:
acquiring the area size of the face of the child;
obtaining the distance between the binocular eyes of the child and the nose tip;
obtaining the distance between the binocular eyes of the child and the corners of the mouth;
obtaining the distance from the nose tip of the child to the corner of the mouth;
calculating the distribution characteristic value of the five sense organs of the child according to the face area size, the distance between the binocular and the nose tip, the distance between the binocular and the mouth corner and the distance between the nose tip and the mouth corner, wherein the calculation formula is as follows:
;
wherein,representing the distribution characteristic value of the five sense organs of children +.>Represents the distance between the eyes and the tip of the nose, +.>Represents the distance between the eyes and the tip of the nose, +.>Represents the distance between the eyes and the tip of the nose, +.>Representing the distance between the eyes and the tip of the nose.
Preferably, the step of inputting the estimated age of the child into a database to match with an entertainment schedule to obtain an entertainment duration includes:
obtaining an age table, wherein the age table comprises young children, young children and teenagers;
setting up an entertainment schedule according to the young children, the young children and the teenagers respectively to obtain one-hour entertainment time, three-hour entertainment time and five-hour entertainment time;
and inputting the estimated age of the child into an age table to obtain the actual entertainment duration.
The application also provides a smart phone screen closing system, including:
the first acquisition module is used for acquiring a face image of a mobile phone user;
a determining module for determining adults and children from the facial image;
the second acquisition module is used for acquiring facial feature information of the child, wherein the facial feature information comprises facial feature distribution feature information, facial feature information and facial feature shape feature information;
the first input module is used for inputting the facial feature information into the age estimation model to obtain the estimated age of the child;
the second input module is used for inputting the estimated age of the child into a database to be matched with an entertainment schedule, so as to obtain entertainment duration;
and the setting module is used for setting the automatic closing time of the mobile phone screen according to the entertainment duration.
Preferably, the determining module includes:
the first acquisition unit is used for acquiring the face width of a mobile phone user;
the first acquisition unit is used for acquiring binocular characteristic values and binocular weight coefficients of a mobile phone user;
the first acquisition unit acquires an oral-nasal characteristic value and an oral-nasal weight coefficient of a mobile phone user;
the calculating unit is used for calculating the facial feature value of the user according to the facial width, the binocular feature value, the binocular weight coefficient, the oronasal feature value and the oronasal weight coefficient;
the judging unit is used for judging whether the facial feature value is larger than a preset feature value or not;
if the facial feature value is larger than a preset feature value, determining the mobile phone user corresponding to the facial feature value as an adult;
if the facial feature value is smaller than the preset feature value, determining the mobile phone user corresponding to the facial feature value as a child.
The application also provides computer equipment, which comprises a memory and a processor, wherein the memory stores a computer program, and the processor realizes the steps of the method for closing the screen of the smart phone when executing the computer program.
The present application also provides a computer readable storage medium having stored thereon a computer program which when executed by a processor implements the steps of the smartphone screen closing method described above.
The beneficial effects of this application are: according to the invention, the facial feature information of the child is obtained, wherein the facial feature information comprises the facial feature distribution feature information, the facial feature information and the facial feature shape feature information, the age is estimated according to the facial feature information of the child, so that the estimated age is matched with the entertainment schedule in the system database, the entertainment duration is limited, and the mobile phone use time of the child can be controlled in real time.
Drawings
Fig. 1 is a schematic diagram of steps of a method for closing a smart phone screen according to an embodiment of the present application.
Fig. 2 is a schematic diagram of a smart phone screen shutdown system according to an embodiment of the present application.
The realization, functional characteristics and advantages of the present application will be further described with reference to the embodiments, referring to the attached drawings.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
As shown in fig. 1, the present application proposes a method for closing a smart phone screen, including:
s1, acquiring a face image of a mobile phone user;
s2, judging whether the face image is a child image or not according to the face image;
s3, if the image is a child image, facial feature information of the child image is obtained, wherein the facial feature information comprises five sense organ distribution feature information, facial feature information and five sense organ shape feature information;
s4, inputting the facial feature information into an age estimation model to obtain an estimated age of the child;
s5, inputting the estimated age of the child into a database to be matched with an entertainment schedule, so as to obtain entertainment duration;
s6, setting the automatic closing time of the mobile phone screen according to the entertainment duration.
As described in the above steps S1-S6, the present mobile age and economic development lead to more and more children having their own mobile phones, and because of this, more and more people are involved in the virtual world, and play games day and night, especially play mobile phones after turning off their lights at night, the strong radiation of the mobile phone screen causes myopia problem of the children, there is no APP for controlling the game time of the children, which cannot well prevent the children from playing games at night, in order to realize corresponding control over the children, the parents are mainly required to collect the mobile phones as soon as the entertainment time of the children is reached, but many parents are not able to control the mobile phone entertainment time of the children at any time at the child, and the invention can automatically control the mobile phones without using the mobile phones of the children by monitoring the time of the parents.
In a further embodiment, the step of determining whether the face image is a child image includes:
s7, extracting the face width in the face image;
s8, extracting binocular feature values and binocular weight coefficients in the face image;
s9, extracting an oronasal characteristic value and an oronasal weight coefficient in the facial image;
s10, calculating the facial feature value of the user according to the facial width, the binocular feature value, the binocular weight coefficient, the oronasal feature value and the oronasal weight coefficient, wherein the calculation formula is as follows:
;
wherein E represents a facial feature value, H represents a facial width, L 1 Represents binocular eigenvalue, Q 1 Represents binocular weighting coefficient, L 2 Represents binocular eigenvalue, Q 2 Representing binocular weight coefficients;
s11, judging whether the facial feature value is smaller than a preset feature value or not;
and if the facial feature value is smaller than the preset feature value, judging the facial image corresponding to the facial feature value as a child image.
The step of extracting the face width in the face image includes:
s12, extracting a focal length of the mobile phone when shooting face images;
s13, extracting the distance between the face and the mobile phone screen when the face image is shot;
s14, acquiring the face imaging height of the mobile phone user according to the face image;
s15, calculating the face width according to the focal length of the mobile phone, the distance between the face and the mobile phone screen and the face imaging height, wherein the calculation formula is as follows:
;
wherein, H represents the face width, H represents the face imaging height, D represents the distance between the face and the mobile phone screen, and F represents the focal length of the mobile phone.
As described in the above steps S7-S15, the face width of the mobile phone user is obtained by calculating the focal length, the distance between the face and the mobile phone screen and the face imaging height of the mobile phone, and then the face feature value of the user can be calculated by the face width, the binocular feature value, the binocular weight coefficient, the oronasal feature value and the oronasal weight coefficient, wherein the binocular feature value can be the features of the inner angle, the outer angle, the concave or the protruding of the eyes, and the like, and the oronasal feature value can also be the features of the shape, the width or the size of the eyes, and the like.
In a further embodiment, the step of inputting the facial feature information into an age estimation model to obtain an estimated age of the child includes:
s16, acquiring a child face characteristic value;
s17, acquiring a child five-sense organ distribution characteristic value corresponding to the facial features of the child;
s18, acquiring an adult five sense organs distribution standard characteristic value;
s19, calculating estimated age of the child according to the facial feature value of the child, the facial feature distribution feature value of the child and the standard facial feature distribution feature value of the adult;
wherein, the calculation formula is:
;
wherein,indicating estimated age, ->Representing the distribution characteristic value of the five sense organs of children +.>The characteristic value of the adult five sense organs distribution standard is represented, and z represents the characteristic value of the face.
The step of obtaining the distribution characteristic value of the five sense organs of the child corresponding to the facial features of the child comprises the following steps:
s20, acquiring the area size of the face of the child;
s21, obtaining the distance between the binocular eyes of the child and the nose tip;
s22, obtaining the distance between the binocular eyes of the child and the corners of the mouth;
s23, obtaining the distance from the nose tip of the child to the corner of the mouth;
s24, calculating a child five sense organ distribution characteristic value according to the face area size, the distance between the binocular and the nose tip, the distance between the binocular and the mouth corner and the distance between the nose tip and the mouth corner, wherein a calculation formula is as follows:
;
wherein,representing the distribution characteristic value of the five sense organs of children +.>Represents the distance between the eyes and the tip of the nose, +.>Represents the distance between the eyes and the tip of the nose, +.>Represents the distance between the eyes and the tip of the nose, +.>Representing the distance between the eyes and the tip of the nose.
As described in the above steps S16-S24, the face area size, the distance between the binocular and the tip and the distance between the tip and the tip are used for calculating the child facial feature value, and then the child estimated age is calculated by the child facial feature value, the child facial feature value and the adult facial feature distribution standard feature value.
In a further embodiment, the step of inputting the estimated age of the child into a database to match an entertainment schedule to obtain an entertainment duration includes:
s25, acquiring an age table, wherein the age table comprises young children, young children and teenagers;
s26, respectively setting up an entertainment schedule according to the young children, the young children and the teenagers to obtain one-hour entertainment time, three-hour entertainment time and five-hour entertainment time;
s27, inputting the estimated age of the child into an age table, and obtaining the actual entertainment duration.
As described in the above steps S25-S27, the present invention performs matching selection according to the pre-set child, juvenile and teenager entertainment schedules in the database by the estimated child ages, so that the mobile phone can select which one of the one-hour entertainment time, the three-hour entertainment time and the five-hour entertainment time the mobile phone user is according to the estimated child ages, and finally the mobile phone automatically locks the screen when the entertainment time is up.
As shown in fig. 2, the present application further provides a smart phone screen closing system, including:
the first acquisition module is used for acquiring the human body imaging size information of the mobile phone user;
the determining module is used for determining adults and children according to the human imaging size information;
the second acquisition module is used for acquiring a plurality of facial feature information of the child, wherein the facial feature information comprises five-sense organ distribution feature information, facial feature information and five-sense organ shape feature information;
the first input module is used for inputting the facial feature information into the age estimation model to obtain the estimated age of the child;
the second input module is used for inputting the estimated age of the child into a database to be matched with an entertainment schedule, so as to obtain entertainment duration;
and the setting module is used for setting the automatic closing time of the mobile phone screen according to the entertainment duration.
Preferably, the determining module includes:
an acquisition unit configured to acquire an actual human body height;
the judging unit is used for judging whether the actual human body height is larger than a preset human body height or not;
if the actual human body height is larger than the preset human body height, judging that the mobile phone user is an adult;
if the actual human body height is smaller than the preset human body height, the mobile phone user is judged to be a child.
The application also provides computer equipment, which comprises a memory and a processor, wherein the memory stores a computer program, and the processor realizes the steps of the method for closing the screen of the smart phone when executing the computer program.
The present application also provides a computer readable storage medium having stored thereon a computer program which when executed by a processor implements the steps of the smartphone screen closing method described above.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by hardware associated with a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium provided herein and used in embodiments may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual speed data rate SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or method that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, apparatus, article, or method. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, apparatus, article or method that comprises the element.
The foregoing description is only of the preferred embodiments of the present application, and is not intended to limit the scope of the claims, and all equivalent structures or equivalent processes using the descriptions and drawings of the present application, or direct or indirect application in other related technical fields are included in the scope of the claims of the present application.
Claims (10)
1. The method for closing the screen of the smart phone is characterized by comprising the following steps of:
acquiring a face image of a mobile phone user;
judging whether the face image is a child image or not according to the face image;
if the facial feature information is a child image, acquiring facial feature information of the child image, wherein the facial feature information comprises five-sense organ distribution feature information, facial feature information and five-sense organ shape feature information;
inputting the facial feature information into an age estimation model to obtain an estimated age of the child;
inputting the estimated age of the child into a database to be matched with an entertainment schedule, so as to obtain entertainment duration;
and setting the automatic closing time of the mobile phone screen according to the entertainment duration.
2. The method of claim 1, wherein the step of determining whether the face image is a child image comprises:
extracting a face width in the face image;
extracting binocular feature values and binocular weight coefficients from the face image;
extracting an oronasal characteristic value and an oronasal weight coefficient in the facial image;
calculating the facial feature value of the user according to the facial width, the binocular feature value, the binocular weight coefficient, the oronasal feature value and the oronasal weight coefficient, wherein the calculation formula is as follows:
;
wherein E represents a facial feature value, H represents a facial width, L 1 Represents binocular eigenvalue, Q 1 Represents binocular weighting coefficient, L 2 Represents binocular eigenvalue, Q 2 Representing binocular weight coefficients;
judging whether the facial feature value is smaller than a preset feature value or not;
and if the facial feature value is smaller than the preset feature value, judging the facial image corresponding to the facial feature value as a child image.
3. The smart phone screen closing method of claim 2, wherein the step of extracting the face width in the face image comprises:
extracting a mobile phone focal length when shooting face images;
extracting the distance between the face and the mobile phone screen when the face image is shot;
acquiring the face imaging height of a mobile phone user according to the face image;
calculating the face width according to the focal length of the mobile phone, the distance between the face and the mobile phone screen and the face imaging height, wherein the calculation formula is as follows:
;
wherein, H represents the face width, H represents the face imaging height, D represents the distance between the face and the mobile phone screen, and F represents the focal length of the mobile phone.
4. The method for closing a screen of a smart phone according to claim 1, wherein the step of inputting the facial feature information into an age estimation model to obtain an estimated age of a child comprises:
acquiring a child face characteristic value;
acquiring a child five-sense organ distribution characteristic value corresponding to the facial features of the child;
acquiring adult five sense organs distribution standard characteristic values;
calculating estimated age of the child according to the child facial feature value, the child five sense organ distribution feature value and the adult five sense organ distribution standard feature value;
wherein, the calculation formula is:
;
wherein,indicating estimated age, ->Representing the distribution characteristic value of the five sense organs of children +.>The characteristic value of the adult five sense organs distribution standard is represented, and z represents the characteristic value of the face.
5. The method for closing a screen of a smart phone according to claim 4, wherein the step of obtaining a distribution feature value of a five sense organs of a child corresponding to the facial feature of the child comprises:
acquiring the area size of the face of the child;
obtaining the distance between the binocular eyes of the child and the nose tip;
obtaining the distance between the binocular eyes of the child and the corners of the mouth;
obtaining the distance from the nose tip of the child to the corner of the mouth;
calculating the distribution characteristic value of the five sense organs of the child according to the face area size, the distance between the binocular and the nose tip, the distance between the binocular and the mouth corner and the distance between the nose tip and the mouth corner, wherein the calculation formula is as follows:
;
wherein,representing the distribution characteristic value of the five sense organs of children +.>Represents the distance between the eyes and the tip of the nose, +.>Represents the distance between the eyes and the tip of the nose, +.>Represents the distance between the eyes and the tip of the nose, +.>Representing the distance between the eyes and the tip of the nose.
6. The method of claim 1, wherein the step of inputting the estimated age of the child into a database to match an entertainment schedule to obtain an entertainment duration comprises:
obtaining an age table, wherein the age table comprises young children, young children and teenagers;
setting up an entertainment schedule according to the young children, the young children and the teenagers respectively to obtain one-hour entertainment time, three-hour entertainment time and five-hour entertainment time;
and inputting the estimated age of the child into an age table to obtain the actual entertainment duration.
7. A smart phone screen closing system, comprising:
the first acquisition module is used for acquiring a face image of a mobile phone user;
a determining module for determining adults and children from the facial image;
the second acquisition module is used for acquiring facial feature information of the child, wherein the facial feature information comprises facial feature distribution feature information, facial feature information and facial feature shape feature information;
the first input module is used for inputting the facial feature information into the age estimation model to obtain the estimated age of the child;
the second input module is used for inputting the estimated age of the child into a database to be matched with an entertainment schedule, so as to obtain entertainment duration;
and the setting module is used for setting the automatic closing time of the mobile phone screen according to the entertainment duration.
8. The smartphone screen shut down system of claim 7, wherein the determination module comprises:
the first acquisition unit is used for acquiring the face width of a mobile phone user;
the first acquisition unit is used for acquiring binocular characteristic values and binocular weight coefficients of a mobile phone user;
the first acquisition unit acquires an oral-nasal characteristic value and an oral-nasal weight coefficient of a mobile phone user;
the calculating unit is used for calculating the facial feature value of the user according to the facial width, the binocular feature value, the binocular weight coefficient, the oronasal feature value and the oronasal weight coefficient;
the judging unit is used for judging whether the facial feature value is larger than a preset feature value or not;
if the facial feature value is larger than a preset feature value, determining the mobile phone user corresponding to the facial feature value as an adult;
if the facial feature value is smaller than the preset feature value, determining the mobile phone user corresponding to the facial feature value as a child.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 6 when the computer program is executed.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311298662.7A CN117354417A (en) | 2023-10-09 | 2023-10-09 | Smart phone screen closing method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311298662.7A CN117354417A (en) | 2023-10-09 | 2023-10-09 | Smart phone screen closing method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117354417A true CN117354417A (en) | 2024-01-05 |
Family
ID=89370482
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311298662.7A Pending CN117354417A (en) | 2023-10-09 | 2023-10-09 | Smart phone screen closing method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117354417A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107346408A (en) * | 2016-05-05 | 2017-11-14 | 鸿富锦精密电子(天津)有限公司 | Age recognition methods based on face feature |
CN108882037A (en) * | 2018-08-08 | 2018-11-23 | 安克创新科技股份有限公司 | TV programme screen method and relevant apparatus and electronic equipment |
CN111090477A (en) * | 2019-12-16 | 2020-05-01 | 北京无忧创想信息技术有限公司 | Intelligent terminal capable of automatically switching modes and implementation method thereof |
CN111914761A (en) * | 2020-08-04 | 2020-11-10 | 南京华图信息技术有限公司 | Thermal infrared face recognition method and system |
CN114596611A (en) * | 2022-02-10 | 2022-06-07 | 同盾科技有限公司 | Method, system, device and medium for identifying minor of multi-scale face picture |
-
2023
- 2023-10-09 CN CN202311298662.7A patent/CN117354417A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107346408A (en) * | 2016-05-05 | 2017-11-14 | 鸿富锦精密电子(天津)有限公司 | Age recognition methods based on face feature |
CN108882037A (en) * | 2018-08-08 | 2018-11-23 | 安克创新科技股份有限公司 | TV programme screen method and relevant apparatus and electronic equipment |
CN111090477A (en) * | 2019-12-16 | 2020-05-01 | 北京无忧创想信息技术有限公司 | Intelligent terminal capable of automatically switching modes and implementation method thereof |
CN111914761A (en) * | 2020-08-04 | 2020-11-10 | 南京华图信息技术有限公司 | Thermal infrared face recognition method and system |
CN114596611A (en) * | 2022-02-10 | 2022-06-07 | 同盾科技有限公司 | Method, system, device and medium for identifying minor of multi-scale face picture |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101482919B (en) | Face collation apparatus | |
US7855743B2 (en) | Image capturing and displaying apparatus and image capturing and displaying method | |
CN106507021A (en) | Method for processing video frequency and terminal device | |
US20150002696A1 (en) | Photographing method and apparatus | |
US20170163953A1 (en) | Method and electronic device for processing image containing human face | |
CN114040098A (en) | Method for obtaining an image and electronic device for performing the method | |
CN109639893A (en) | Play parameter method of adjustment, device, electronic equipment and storage medium | |
CN105357631A (en) | Terminal use time control method and associated equipment | |
CN105549967A (en) | Myopia prevention method of intelligent electronic device | |
CN108921856B (en) | Image cropping method and device, electronic equipment and computer readable storage medium | |
EP3328062A1 (en) | Photo synthesizing method and device | |
CN113850726A (en) | Image transformation method and device | |
CN111161131A (en) | Image processing method, terminal and computer storage medium | |
CN104167196A (en) | Backlight brightness adjusting method and device and electronic device | |
CN111447497A (en) | Intelligent playing device and energy-saving control method thereof | |
CN114432683A (en) | Intelligent voice playing method and equipment | |
CN117354417A (en) | Smart phone screen closing method and system | |
US20220210318A1 (en) | Composition method and system of photographing device, and storage medium | |
CN106886276A (en) | viewing processing method and intelligent glasses based on intelligent glasses | |
CN108765551B (en) | Method and terminal for realizing face pinching of 3D model | |
CN114494556A (en) | Special effect rendering method, device and equipment and storage medium | |
CN113132632A (en) | Auxiliary shooting method and device for pets | |
CN109547706A (en) | Glasses device and system | |
CN108462831A (en) | Image processing method, device, storage medium and electronic equipment | |
CN115147339A (en) | Human body key point detection method and related device |
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 |