CN110458890A - Control method, device, electronic equipment and storage medium - Google Patents

Control method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN110458890A
CN110458890A CN201910755278.2A CN201910755278A CN110458890A CN 110458890 A CN110458890 A CN 110458890A CN 201910755278 A CN201910755278 A CN 201910755278A CN 110458890 A CN110458890 A CN 110458890A
Authority
CN
China
Prior art keywords
user
distance
user characteristics
electronic equipment
control method
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
CN201910755278.2A
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.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
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 Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN201910755278.2A priority Critical patent/CN110458890A/en
Publication of CN110458890A publication Critical patent/CN110458890A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S17/00Systems using the reflection or reradiation of electromagnetic waves other than radio waves, e.g. lidar systems
    • G01S17/02Systems using the reflection of electromagnetic waves other than radio waves
    • G01S17/06Systems determining position data of a target
    • G01S17/08Systems determining position data of a target for measuring distance only
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • G06T7/73Determining position or orientation of objects or cameras using feature-based methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/161Detection; Localisation; Normalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/168Feature extraction; Face representation
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/18Status alarms
    • G08B21/24Reminder alarms, e.g. anti-loss alarms
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Electromagnetism (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Remote Sensing (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Environmental & Geological Engineering (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

This disclosure relates to field of computer technology, and in particular to a kind of control method, device, electronic equipment and storage medium.The control method that the disclosure provides includes: firstly, obtaining the image data of picture pick-up device;Secondly, identifying user characteristics to image data application face recognition technology, and electronic equipment is detected at a distance from face;Finally, enabling eyesight protection function when distance is less than or equal to safety distance threshold and reminding user;Wherein, safety distance threshold is determined based on user characteristics, or enable eyesight protection function corresponding with user characteristics based on user characteristics.It can be seen that; the disclosure is able to detect user and watches the distance of electronic equipment and identify user characteristics; by determining corresponding safety distance threshold or eyesight protection function according to user characteristics, personalized sight protectio scheme can be matched for user, protect user's to use eye health.

Description

Control method, device, electronic equipment and storage medium
Technical field
This disclosure relates to field of computer technology, and in particular to a kind of control method, device, electronic equipment and storage are situated between Matter.
Background technique
With the universal and development of intelligent electronic device, the master excessively to be become younger using electronic equipment at adolescent myopia Want one of reason.Existing some electronic equipments and application program can limit the use time of user, but do not have protection and use The function of family eye health, it is close at a distance from screen to be especially a lack of the children of the self-control eyes in contacting electronic equipments, The screen-picture that closely viewing flashing is changed for a long time, has aggravated eyes burden, has been easy to cause myopia.
Summary of the invention
The Summary is provided so that with brief form introduction design, these designs will be in specific implementation below Mode part is described in detail.The Summary is not intended to identify the key feature of claimed technical solution or must Feature is wanted, is intended to be used to limit the range of the technical solution of required protection.
On the one hand, present disclose provides a kind of control methods, which comprises
Obtain the image data of picture pick-up device;
User characteristics are identified to described image data application face recognition technology;
Electronic equipment is detected at a distance from face;
When the distance is less than or equal to safety distance threshold, enables eyesight protection function and remind user;
Wherein, determine the safety distance threshold based on the user characteristics, or based on the user characteristics enable with The corresponding eyesight protection function of the user characteristics.
Second aspect, present disclose provides a kind of control device, described device includes:
Acquiring unit is configured to obtain the image data of picture pick-up device;
Face identification unit is configured to identify user characteristics to described image data application face recognition technology;
Distance measuring unit is configured to detection electronic equipment at a distance from face;
Control unit is configured to enable eyesight protection function when the distance is less than or equal to safety distance threshold and mention Wake up user;Wherein, the safety distance threshold is determined based on the user characteristics, or based on user characteristics enabling and institute State the corresponding eyesight protection function of user characteristics.
The third aspect, present disclose provides a kind of electronic equipment, the electronic equipment includes: at least one processor and extremely A few processor;Wherein, the memory is for storing program code, and the processor is for calling the memory to be deposited The program code of storage is to execute above-mentioned control method.
Fourth aspect, present disclose provides a kind of computer storage medium, the computer storage medium is stored with program Code, said program code is for executing above-mentioned control method.
The control method that the disclosure provides includes: firstly, obtaining the image data of picture pick-up device;Secondly, to image data User characteristics are identified using face recognition technology, and detect electronic equipment at a distance from face;Finally, when distance is less than or equal to When safety distance threshold, enables eyesight protection function and remind user;Wherein, safety distance threshold is determined based on user characteristics, or Person is based on user characteristics and enables eyesight protection function corresponding with user characteristics.As it can be seen that the disclosure, which is able to detect user, watches electricity The distance of sub- equipment simultaneously identifies user characteristics, by determining corresponding safety distance threshold or sight protectio function according to user characteristics Can, personalized sight protectio scheme can be matched for user, protect user's to use eye health.
Detailed description of the invention
In conjunction with attached drawing and refer to following specific embodiments, the above and other feature, advantage of each embodiment of the disclosure and Aspect will be apparent.In attached drawing, the same or similar appended drawing reference indicates the same or similar element.It should manage Solution attached drawing is schematically that original part and element are not necessarily drawn to scale.
Fig. 1 is the flow chart for the control method that one embodiment of the disclosure provides;
Fig. 2 is the flow chart for the control method that another embodiment of the disclosure provides;
Fig. 3 is the flow chart for the control method that the another embodiment of the disclosure provides;
Fig. 4 is the flow chart for the control method that disclosure another embodiment provides;
Fig. 5 is the exemplary structure block diagram for the control device that one embodiment of the disclosure provides;
Fig. 6 is the structural schematic diagram for realizing the electronic equipment of the embodiment of the present disclosure.
Specific embodiment
Embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the certain of the disclosure in attached drawing Embodiment, it should be understood that, the disclosure can be realized by various forms, and should not be construed as being limited to this In the embodiment that illustrates, providing these embodiments on the contrary is in order to more thorough and be fully understood by the disclosure.It should be understood that It is that being given for example only property of the accompanying drawings and embodiments effect of the disclosure is not intended to limit the protection scope of the disclosure.
It should be appreciated that each step recorded in disclosed method embodiment can execute in a different order, And/or parallel execution.In addition, method implementation may include additional step and/or omit the step of execution is shown.This public affairs The range opened is not limited in this respect.
Terms used herein " comprising " and its deformation are that opening includes, i.e., " including but not limited to ".Term "based" It is " being based at least partially on ".Term " one embodiment " expression " at least one embodiment ";Term " another embodiment " indicates " at least one other embodiment ";Term " some embodiments " expression " at least some embodiments ".The correlation of other terms is fixed Justice provides in will be described below.
It is noted that the concepts such as " first " that refers in the disclosure, " second " are only used for different devices, module or list Member distinguishes, and is not intended to limit the sequence or relation of interdependence of function performed by these devices, module or unit.
It is noted that referred in the disclosure "one", the modification of " multiple " be schematically and not restrictive this field It will be appreciated by the skilled person that being otherwise construed as " one or more " unless clearly indicate otherwise in context.
The being merely to illustrate property of title of the message or information that are interacted between multiple devices in disclosure embodiment Purpose, and be not used to limit the range of these message or information.
The control method that the embodiment of the present disclosure provides is used for controlling electronic devices, including but not limited to such as TV, wisdom Large-size screen monitors, mobile phone, computer, electronic reader, PDA (personal digital assistant), PAD (tablet computer), host, set-top box, TV box The electronic equipments such as son.With reference to Fig. 1, it illustrates the control methods 100 that the embodiment of the present disclosure provides, including step S101- step S104:
Step S101: the image data of picture pick-up device is obtained.Wherein, picture pick-up device can be what electronic equipment itself was equipped with Camera lens or third party's picture pick-up device independently of electronic equipment.Electronic equipment passes through wired or wireless mode and the picture pick-up device Connection, obtains image data captured by picture pick-up device, which includes static image data and dynamic video counts According to.
Step S102: user characteristics are identified to image data application face recognition technology.Wherein, user characteristics include user Age, gender, user whether the facial characteristics such as wearing spectacles.
Step S103: detection electronic equipment is at a distance from face.Specifically, monocular can be utilized by aforementioned picture pick-up device Camera ranging or binocular camera ranging technology detection face are at a distance from electronic equipment.It should be noted that the disclosure The unlimited above method of method of face distance is detected, for example, face can also be detected by laser ranging or sound ranging technology At a distance from electronic equipment.
Step S104: it when distance is less than or equal to safety distance threshold, enables eyesight protection function and reminds user;Its In, safety distance threshold is determined based on user characteristics, or enables sight protectio corresponding with user characteristics based on user characteristics Function.Safety distance threshold is the distance threshold value that user watches electronic equipment, be less than at a distance from face when electronic equipment or When equal to safe distance distance threshold, then it is considered being likely to result in damage to the eyesight of user, enables sight protectio function at this time Energy.Eyesight protection function includes reminding user in the form of dialog box voice or on the display apparatus, such as " please note that Eyesight is protected, should not be too close from TV " perhaps suspend or exit currently playing content or a period of time after a period of time Closing measures, the above-mentioned measures such as display device afterwards can be applicable in alone or in combination.Above-mentioned eyesight protection function is used only to example Property illustrate the embodiment of the present disclosure, other suitable mode call user's attention eye health can also be taken, the disclosure is implemented Example is not limited only to this.In the embodiments of the present disclosure, different eyesight protection functions is set previously according to different user characteristics, when When electronic equipment is less than or equal to safety distance threshold at a distance from face, then according to by using face recognition technology identification User characteristics enable corresponding eyesight protection function.For example, being in advance the user setting of children or wearing spectacles compared to adult User or the stringenter eyesight protection function of the user not worn glasses, be less than at a distance from user when detecting electronic equipment or When equal to safety distance threshold, if the user is children or wearing spectacles, corresponding stringent sight protectio function is enabled Energy.Similarly, in the embodiments of the present disclosure, different safety distance thresholds is set previously according to user characteristics, and according to application The user characteristics of face recognition technology identification are applicable in corresponding safety distance threshold.For example, being in advance children or wearing spectacles The user setting safety distance threshold (such as bigger threshold value) stringenter compared to adult human user or the user that does not wear glasses User before detecting camera lens is children or wearing spectacles, then is applicable in corresponding stringent safety distance threshold.
In addition, the embodiment of the present disclosure can in real time or according to certain time interval periodically or in response to The instruction of user carries out recognition of face to the image data of picture pick-up device and detects electronic equipment at a distance from face.
It watches the distance of electronic equipment as it can be seen that the embodiment of the present disclosure is able to detect user and identifies user characteristics, pass through root Corresponding safety distance threshold or eyesight protection function are determined according to user characteristics, and personalized sight protectio can be matched for user Scheme protects user's to use eye health.
In some embodiments, user characteristics include user age and/or user whether wearing spectacles.
In some embodiments, eyesight protection function includes: output prompt information;And/or after the preset period Reduce display picture;And/or stop showing content being played on after the preset period.Wherein, prompt information is exported Including exporting voice, image, vibration, flash message, for example mentioned in the form of dialog box voice or on the display apparatus Awake user such as " please notes that protection eyesight, should not be too close from TV ";It reduces display picture and refers to scaled current display The display picture of device;Stop showing that content being played on includes the currently playing content of pause, or exits and currently showing The application shown, or close display picture.The above-mentioned eyesight protection function of embodiment of the disclosure can be individually enabled, can also be with Cooperation enables, for example, exporting prompt information " please noting that protection eyesight, should not be too close from TV " first, then reduces after 30 seconds aobvious Show picture or stops showing content being played on.
In some embodiments, reducing display picture includes being reduced to show at a distance from face according to electronic equipment detected Show picture.In general, suitable viewing distance is related with the display size of display device, different display sizes corresponds to different push away Recommend viewing distance.For example, 40 cun of television recommendations viewing distance is greater than 2 meters, 50 cun of television recommendations viewing distance is greater than 2.5 Rice, 55 cun of television recommendations viewing distance are greater than 3 meters, and 65 cun of recommendation viewing distance is greater than 3.5 meters.If display device is original 50 cun are shown dimensions as, when detecting user at a distance from electronic equipment is 2 meters, then the size of picture can will be shown by original 50 cun are contracted to corresponding 40 cun.It should be noted that above-mentioned diminution shows that the mode of picture is intended to illustratively illustrate this public affairs Embodiment is opened, can also by other means or standard reduces display picture, the embodiment of the present disclosure is without being limited thereto.
In some embodiments, the control method that the disclosure provides further includes the display size for obtaining display device, display The display size of device is for determining the safety distance threshold.The screen ruler for showing dimensions as display device of display device It is very little, display size can be characterized by the length of screen diagonal.As previously mentioned, suitable viewing distance and display device Display size is related, and the disclosure is by obtaining the display size of display device to determine safety distance threshold.
In some embodiments, detection electronic equipment includes: to image data application recognition of face skill at a distance from face The Pixel Information of art acquisition user's face;Distance is calculated according to Pixel Information and corresponding relationship;Wherein, corresponding relationship is pixel letter The corresponding relationship of breath and distance.The Pixel Information of user's face includes Pixel Information or the part face organ of entire face Pixel Information, such as eye, nose etc..According near big and far smaller Perspective Principles, user's then facial pixel more close from picture pick-up device is more, User's then facial pixel more remote from picture pick-up device is fewer, can preset facial Pixel Information pass corresponding with distance based on this System obtains the Pixel Information of the face of active user according to application face recognition technology, can be calculated by this kind of corresponding relationship User is obtained at a distance from electronic equipment.
The specific implementation of the embodiment of the present disclosure will be described in detail below.
With reference to Fig. 2, the control method 200 that another embodiment of the disclosure provides is shown, a smart television, the intelligence are applied to Energy TV has wide-angle lens and screen, and method 200 includes step S201-S206:
Step S201: the image data of smart television acquisition wide-angle lens;
Step S202: user characteristics are identified to image data application face recognition technology;
Step S203: corresponding safety distance threshold is determined according to the user characteristics;
Step S204: the Pixel Information of active user's face is obtained by face recognition technology and is believed according to preset pixel Breath and the corresponding relationship of distance calculate face at a distance from smart television;
Step S205: judging whether the distance is less than identified safety distance threshold, if it is less than safety distance threshold Then follow the steps S206, on the contrary then return step S201;
Step S206: display reminding information on the screen.
In this way, the embodiment of the present disclosure is applicable in corresponding safe distance threshold by the user characteristics obtained according to recognition of face Value is used by display reminding information reminding on the screen when the viewing distance of user is less than the specific safety distance threshold Family pays attention to using eye health, so as to provide personalized sight protectio scheme for different users.
Fig. 3 shows the control method 300 that another embodiment of the disclosure provides, and is applied to smart television, the smart television With wide-angle lens and screen, method 300 includes step S301-S306:
Step S301: the image data of smart television acquisition wide-angle lens;
Step S302: user characteristics are identified to image data application face recognition technology;
Step S303: the Pixel Information of active user's face is obtained by face recognition technology and is believed according to preset pixel Breath and the corresponding relationship of distance calculate face at a distance from smart television;
Step S304: obtaining the display size of screen and determines safety distance threshold according to the display size;
Step S305: judging whether the distance is less than identified safety distance threshold, if it is less than safety distance threshold Then follow the steps S306, on the contrary then return step S301;
Step S306: display reminding information on the screen.
In this way, the embodiment of the present disclosure is by determining corresponding safety distance threshold according to screen display size, when user's When viewing distance is less than the specific safety distance threshold, paid attention on the screen by display reminding information reminding user strong with eye Health, so as to provide personalized sight protectio scheme according to user.
Fig. 4 shows the control method 400 that another embodiment of the disclosure provides, and is applied to smart television, the smart television With wide-angle lens and screen, method 400 includes step S401-S408:
Step S401: the image data of smart television acquisition wide-angle lens;
Step S402: user characteristics are identified to image data application face recognition technology;
Step S403: the Pixel Information of active user's face is obtained by face recognition technology and is believed according to preset pixel Breath and the corresponding relationship of distance calculate face at a distance from smart television;
Step S405: the processor of smart television judges whether the distance is less than safety distance threshold, if it is less than safety Distance threshold thens follow the steps S406, on the contrary then return step S401;
Step S406: determining eyesight protection function according to the user characteristics identified, if user characteristics are children, holds Row step S407 thens follow the steps S408 if user is adult;
Pause shows content being played on after step S407:30 seconds;
Display picture is reduced after step S408:30 seconds.
In this way, the user characteristics that the embodiment of the present disclosure passes through recognition of face are children or adult, to determine corresponding view Try hard to keep protective function, so as to match different sight protectio schemes for different users, be conducive to user with eye health.
Corresponding control method provided by the above embodiment, the disclosure also provide a kind of control device 500, as shown in figure 5, dress It sets 500 and is applied to electronic equipment, including acquiring unit 501, face identification unit 502, distance measuring unit 503 and control unit 504. Wherein:
Acquiring unit 501 is configured to obtain the image data of picture pick-up device.Picture pick-up device can be electronic equipment itself and match Standby camera lens or the picture pick-up device independently of electronic equipment.Electronic equipment by with the picture pick-up device in a wired or wireless manner Connection obtains image data captured by picture pick-up device, which includes static image data and dynamic video counts According to.
Face identification unit 502 is configured to identify user characteristics to image data application face recognition technology.Wherein, it uses Family feature include age of user, gender, user whether the facial characteristics such as wearing spectacles.
Distance measuring unit 503 is configured to detection electronic equipment at a distance from face.Specifically, it can be set by aforementioned camera shooting It is standby to detect face at a distance from electronic equipment using monocular cam ranging or binocular camera ranging technology, it can also pass through Face recognition technology obtains current user's face Pixel Information and obtains face and electronic equipment according to scale of view relationship Distance.It should be noted that the unlimited above method of method of disclosure detection face distance for example can also pass through Laser Measuring Away from or sound ranging technology detection face at a distance from electronic equipment.
Control unit 505 is configured to enable eyesight protection function when distance is less than or equal to safety distance threshold and remind User;Wherein, safety distance threshold is determined based on user characteristics, or corresponding with the user characteristics based on user characteristics enabling Eyesight protection function.Wherein, safety distance threshold is the distance threshold value that user watches electronic equipment, when electronic equipment and people When the distance of face is less than or equal to safe distance distance threshold, then it is considered being likely to result in damage to the eyesight of user, at this time Enable eyesight protection function.Control unit 505 further comprises prompt subelement 5051, adjustment subelement 5052 and stops sub single Member 5053.Prompt subelement 5051 is configured as output to prompt information, including by voice or on the display apparatus with dialog box Form remind user, such as " please noting that protection eyesight, should not be too close from TV ".Adjustment subelement 5052 is configured to by pre- If period after reduce display picture.Stop subelement 5053, is configured to stopping display after the preset period The content of broadcasting including the currently playing content of pause, or exits the application being currently displaying, or closes display picture.
Device 500 further comprises detection unit 504, is configured to obtain the display size of display device, the display ruler It is very little to be used to determine the safety distance threshold.
Below with reference to Fig. 6, it illustrates the structural representations for the electronic equipment 600 for being suitable for being used to realize the embodiment of the present disclosure Figure.Terminal device in the embodiment of the present disclosure can include but is not limited to such as TV, wisdom large-size screen monitors, mobile phone, computer, electronics and read Read the electronic equipment of device, PDA (personal digital assistant), PAD (tablet computer) etc. with display device, further include such as host, Set-top box, TV box etc. can be by connecting with other display devices to control the display device in a wired or wireless manner The electronic equipment of image content.Electronic equipment shown in Fig. 6 is only an example, should not function to the embodiment of the present disclosure and Use scope brings any restrictions.
As shown in fig. 6, electronic equipment 600 may include processing unit (such as central processing unit, graphics processor etc.) 601, random access can be loaded into according to the program being stored in read-only memory (ROM) 602 or from storage device 606 Program in memory (RAM) 603 and execute various movements appropriate and processing.In RAM603, it is also stored with electronic equipment Various programs and data needed for 600 operations.Processing unit 601, ROM602 and RAM603 are connected with each other by bus 604. Input/output (I/O) interface 605 is also connected to bus 604.
In general, following device can connect to I/O interface 605: including such as touch screen, touch tablet, keyboard, mouse, taking the photograph As the input unit 606 of head, microphone, accelerometer, gyroscope etc.;Including such as liquid crystal display (LCD), loudspeaker, vibration The output device 607 of dynamic device etc.;Storage device 606 including such as tape, hard disk etc.;And communication device 609.Communication device 609, which can permit electronic equipment 600, is wirelessly or non-wirelessly communicated with other equipment to exchange data.Although Fig. 6 shows tool There is the electronic equipment 600 of various devices, it should be understood that being not required for implementing or having all devices shown.It can be with Alternatively implement or have more or fewer devices.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising being carried on non-transient computer can The computer program on medium is read, which includes the program code for method shown in execution flow chart.At this In the embodiment of sample, which can be downloaded and installed from network by communication device 609, or be filled from storage It sets 606 to be mounted, or is mounted from ROM602.When the computer program is executed by processing unit 601, it is real to execute the disclosure Apply the above-mentioned function of limiting in the method for example.
It should be noted that the above-mentioned computer-readable medium of the disclosure can be computer-readable signal media or meter Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wires Taking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storage Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device, Or above-mentioned any appropriate combination.In the disclosure, computer readable storage medium can be it is any include or storage journey The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And at this In open, computer-readable signal media may include in a base band or as the data-signal that carrier wave a part is propagated, In carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limited to Electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable and deposit Any computer-readable medium other than storage media, the computer-readable signal media can send, propagate or transmit and be used for By the use of instruction execution system, device or device or program in connection.Include on computer-readable medium Program code can transmit with any suitable medium, including but not limited to: electric wire, optical cable, RF (radio frequency) etc. are above-mentioned Any appropriate combination.
In some embodiments, client, server can use such as HTTP The network of any currently known or following research and development of (HyperTextTransferProtocol, hypertext transfer protocol) etc Agreement is communicated, and can be interconnected with the digital data communications (for example, communication network) of arbitrary form or medium.Communication network The example of network includes local area network (" LAN "), wide area network (" WAN "), Internet (for example, internet) and ad-hoc network (example Such as, adhoc ad-hoc network) and any currently known or following research and development network.
Above-mentioned computer-readable medium can be included in above-mentioned electronic equipment;It is also possible to individualism, and not It is fitted into the electronic equipment.
Above-mentioned computer-readable medium carries one or more program, when said one or multiple programs are by the electricity When sub- equipment executes, so that the electronic equipment: obtaining the image data of picture pick-up device;To described image data application recognition of face Technology identifies user characteristics;Electronic equipment is detected at a distance from face;When the distance is less than or equal to safety distance threshold, It enables eyesight protection function and reminds user;Wherein, the safety distance threshold is determined based on the user characteristics, or be based on institute It states user characteristics and enables eyesight protection function corresponding with the user characteristics.
Alternatively, above-mentioned computer-readable medium carries one or more program, when said one or multiple programs When being executed by the electronic equipment, so that the electronic equipment: obtaining the image data of picture pick-up device;To described image data application people Face identification technology identifies user characteristics;Electronic equipment is detected at a distance from face;When the distance is less than or equal to safe distance When threshold value, enables eyesight protection function and remind user;Wherein, the safety distance threshold is determined based on the user characteristics, or Person is based on the user characteristics and enables eyesight protection function corresponding with the user characteristics.
The calculating of the operation for executing the disclosure can be write with one or more programming languages or combinations thereof Machine program code, above procedure design language include but is not limited to object oriented program language-such as Java, Smalltalk, C++ further include conventional procedural programming language-such as " C " language or similar program design language Speech.Program code can be executed fully on the user computer, partly be executed on the user computer, as an independence Software package execute, part on the user computer part execute on the remote computer or completely in remote computer or It is executed on server.In situations involving remote computers, remote computer can pass through the network of any kind --- packet It includes local area network (LAN) or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as benefit It is connected with ISP by internet).
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the disclosure, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction Combination realize.
Being described in unit involved in the embodiment of the present disclosure can be realized by way of software, can also be by hard The mode of part is realized.Wherein, the title of unit does not constitute the restriction to the unit itself under certain conditions, for example, obtaining Unit is taken to be also described as " obtaining the unit of the image data of picture pick-up device ".
Function described herein can be executed at least partly by one or more hardware logic components.Example Such as, without limitation, the hardware logic component for the exemplary type that can be used include: field programmable gate array (FPGA), specially With integrated circuit (ASIC), Application Specific Standard Product (ASSP), system on chip (SOC), complex programmable logic equipment (CPLD) etc. Deng.
In the context of the disclosure, machine readable media can be tangible medium, may include or is stored for The program that instruction execution system, device or equipment are used or is used in combination with instruction execution system, device or equipment.Machine can Reading medium can be machine-readable signal medium or machine-readable storage medium.Machine readable media can include but is not limited to electricity Son, magnetic, optical, electromagnetism, infrared or semiconductor system, device or equipment or above content any conjunction Suitable combination.The more specific example of machine readable storage medium will include the electrical connection of line based on one or more, portable meter Calculation machine disk, hard disk, random access memory (RAM), read-only memory (ROM), Erasable Programmable Read Only Memory EPROM (EPROM Or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage facilities or Any appropriate combination of above content.
According to one or more other embodiments of the present disclosure, a kind of control method is provided, comprising: obtain the figure of picture pick-up device As data;User characteristics are identified to described image data application face recognition technology;Electronic equipment is detected at a distance from face;When When the distance is less than or equal to safety distance threshold, enables eyesight protection function and remind user;Wherein, special based on the user Sign determines the safety distance threshold, or enables sight protectio function corresponding with the user characteristics based on the user characteristics Energy.
According to one or more other embodiments of the present disclosure, the user characteristics include user age and/or user whether Wearing spectacles.
According to one or more other embodiments of the present disclosure, the eyesight protection function includes: output prompt information;And/or Display picture is reduced after the preset period;And/or stop showing content being played on after the preset period.
According to one or more other embodiments of the present disclosure, the diminution shows that picture includes: to reduce to show according to the distance Show picture.
According to one or more other embodiments of the present disclosure, a kind of control method is provided, further includes: obtain display device Display size, the display size is for determining the safety distance threshold.
According to one or more other embodiments of the present disclosure, the detection electronic equipment includes: to described at a distance from face The Pixel Information of image data application face recognition technology acquisition user's face;It is calculated according to the Pixel Information and corresponding relationship The distance;Wherein, the corresponding relationship is the corresponding relationship of the Pixel Information and the distance.
According to one or more other embodiments of the present disclosure, a kind of control device is provided, comprising: acquiring unit is configured to Obtain the image data of picture pick-up device;Face identification unit is configured to identify described image data application face recognition technology User characteristics;Distance measuring unit is configured to detection electronic equipment at a distance from face;Control unit is configured to when described apart from small When safety distance threshold, enables eyesight protection function and remind user;Wherein, based on described in user characteristics determination Safety distance threshold;Or eyesight protection function corresponding with the user characteristics is enabled based on the user characteristics.
According to one or more other embodiments of the present disclosure, the user characteristics include user age and/or user whether Wearing spectacles.
According to one or more other embodiments of the present disclosure, provide a kind of electronic equipment, comprising: at least one processor and At least one processor;Wherein, the memory is for storing program code, and the processor is for calling the memory institute The program code of storage is to execute control method described in any of the above embodiments.
According to one or more other embodiments of the present disclosure, a kind of computer storage medium, the computer storage are provided Media storage has program code, and said program code is for executing control method described in any of the above embodiments.
Above description is only the preferred embodiment of the disclosure and the explanation to institute's application technology principle.Those skilled in the art Member is it should be appreciated that the open scope involved in the disclosure, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic Scheme, while should also cover in the case where not departing from design disclosed above, it is carried out by above-mentioned technical characteristic or its equivalent feature Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed in the disclosure Can technical characteristic replaced mutually and the technical solution that is formed.
Although this is not construed as requiring these operations with institute in addition, depicting each operation using certain order The certain order that shows executes in sequential order to execute.Under certain environment, multitask and parallel processing may be advantageous 's.Similarly, although containing several specific implementation details in being discussed above, these are not construed as to this public affairs The limitation for the range opened.Certain features described in the context of individual embodiment can also be realized in combination single real It applies in example.On the contrary, the various features described in the context of single embodiment can also be individually or with any suitable The mode of sub-portfolio is realized in various embodiments.
Although having used specific to this theme of the language description of structure feature and/or method logical action, answer When understanding that theme defined in the appended claims is not necessarily limited to special characteristic described above or movement.On on the contrary, Special characteristic described in face and movement are only to realize the exemplary forms of claims.

Claims (10)

1. a kind of control method, which is characterized in that the described method includes:
Obtain the image data of picture pick-up device;
User characteristics are identified to described image data application face recognition technology;
Electronic equipment is detected at a distance from face;
When the distance is less than or equal to safety distance threshold, enables eyesight protection function and remind user;
Wherein, determine the safety distance threshold based on the user characteristics, or based on the user characteristics enable with it is described The corresponding eyesight protection function of user characteristics.
2. control method as described in claim 1, which is characterized in that the user characteristics include age and/or the use of user Family whether wearing spectacles.
3. control method as described in claim 1, which is characterized in that the eyesight protection function includes:
Export prompt information;
And/or display picture is reduced after the preset period;
And/or stop showing content being played on after the preset period.
4. control method as claimed in claim 3, which is characterized in that the diminution shows that picture includes:
Display picture is reduced according to the distance.
5. control method as described in claim 1, which is characterized in that the method also includes:
The display size of display device is obtained, the display size is for determining the safety distance threshold.
6. control method as described in claim 1, which is characterized in that the detection electronic equipment includes: at a distance from face
The Pixel Information of user's face is obtained to described image data application face recognition technology;
The distance is calculated according to the Pixel Information and corresponding relationship;Wherein, the corresponding relationship be the Pixel Information with The corresponding relationship of the distance.
7. a kind of control device, which is characterized in that described device includes:
Acquiring unit is configured to obtain the image data of picture pick-up device;
Face identification unit is configured to identify user characteristics to described image data application face recognition technology;
Distance measuring unit is configured to detection electronic equipment at a distance from face;
Control unit is configured to enable eyesight protection function when the distance is less than or equal to safety distance threshold and remind use Family;Wherein, the safety distance threshold is determined based on the user characteristics;Or it is enabled and the use based on the user characteristics The corresponding eyesight protection function of family feature.
8. control device as claimed in claim 7, which is characterized in that the user characteristics include age and/or the use of user Family whether wearing spectacles.
9. a kind of electronic equipment, which is characterized in that the electronic equipment includes:
At least one processor and at least one processor;
Wherein, the memory is for storing program code, the program that the processor is used to that the memory to be called to be stored Code is with control method described in any one of perform claim requirement 1 to 6.
10. a kind of computer storage medium, which is characterized in that the computer storage medium is stored with program code, the journey Sequence code is for control method described in any one of perform claim requirement 1 to 6.
CN201910755278.2A 2019-08-15 2019-08-15 Control method, device, electronic equipment and storage medium Pending CN110458890A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910755278.2A CN110458890A (en) 2019-08-15 2019-08-15 Control method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910755278.2A CN110458890A (en) 2019-08-15 2019-08-15 Control method, device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110458890A true CN110458890A (en) 2019-11-15

Family

ID=68486916

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910755278.2A Pending CN110458890A (en) 2019-08-15 2019-08-15 Control method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110458890A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112004151A (en) * 2020-08-20 2020-11-27 深圳前海茂佳软件科技有限公司 Control method of television device, television device and readable storage medium
CN113409560A (en) * 2021-07-30 2021-09-17 佛山市墨纳森智能科技有限公司 Monitoring method and device of electronic equipment, storage medium and electronic equipment
CN113535108A (en) * 2021-07-27 2021-10-22 深圳创维-Rgb电子有限公司 Eyesight protection method, display device, readable storage medium and system
CN113808377A (en) * 2021-09-13 2021-12-17 广东电网有限责任公司 Alarm prompting method, device, equipment and storage medium
CN113835665A (en) * 2021-09-27 2021-12-24 深圳Tcl新技术有限公司 Display control method, display control device, computer equipment and storage medium
CN114002697A (en) * 2020-07-28 2022-02-01 上海市眼病防治中心 Eye distance real-time tracking detection method and device
CN114419862A (en) * 2022-01-26 2022-04-29 高创(苏州)电子有限公司 Eyesight protection method and device for electronic equipment, electronic equipment and storage medium
CN115883924A (en) * 2022-11-16 2023-03-31 深圳创维-Rgb电子有限公司 Prompting method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101188665A (en) * 2007-11-05 2008-05-28 康佳集团股份有限公司 An intelligent adjusting method and device for TV set image
CN105872757A (en) * 2016-03-24 2016-08-17 乐视控股(北京)有限公司 Method and apparatus for reminding safe television watching distance
CN109191802A (en) * 2018-07-20 2019-01-11 北京旷视科技有限公司 Method, apparatus, system and storage medium for sight protectio prompt
CN109299645A (en) * 2018-07-20 2019-02-01 北京旷视科技有限公司 Method, apparatus, system and storage medium for sight protectio prompt

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101188665A (en) * 2007-11-05 2008-05-28 康佳集团股份有限公司 An intelligent adjusting method and device for TV set image
CN105872757A (en) * 2016-03-24 2016-08-17 乐视控股(北京)有限公司 Method and apparatus for reminding safe television watching distance
CN109191802A (en) * 2018-07-20 2019-01-11 北京旷视科技有限公司 Method, apparatus, system and storage medium for sight protectio prompt
CN109299645A (en) * 2018-07-20 2019-02-01 北京旷视科技有限公司 Method, apparatus, system and storage medium for sight protectio prompt

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114002697A (en) * 2020-07-28 2022-02-01 上海市眼病防治中心 Eye distance real-time tracking detection method and device
CN112004151A (en) * 2020-08-20 2020-11-27 深圳前海茂佳软件科技有限公司 Control method of television device, television device and readable storage medium
CN112004151B (en) * 2020-08-20 2023-10-03 深圳前海茂佳软件科技有限公司 Control method of television equipment, television equipment and readable storage medium
CN113535108A (en) * 2021-07-27 2021-10-22 深圳创维-Rgb电子有限公司 Eyesight protection method, display device, readable storage medium and system
CN113409560A (en) * 2021-07-30 2021-09-17 佛山市墨纳森智能科技有限公司 Monitoring method and device of electronic equipment, storage medium and electronic equipment
CN113808377A (en) * 2021-09-13 2021-12-17 广东电网有限责任公司 Alarm prompting method, device, equipment and storage medium
CN113835665A (en) * 2021-09-27 2021-12-24 深圳Tcl新技术有限公司 Display control method, display control device, computer equipment and storage medium
CN114419862A (en) * 2022-01-26 2022-04-29 高创(苏州)电子有限公司 Eyesight protection method and device for electronic equipment, electronic equipment and storage medium
CN115883924A (en) * 2022-11-16 2023-03-31 深圳创维-Rgb电子有限公司 Prompting method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110458890A (en) Control method, device, electronic equipment and storage medium
US11455830B2 (en) Face recognition method and apparatus, electronic device, and storage medium
EP3692461B1 (en) Removing personally identifiable data before transmission from a device
US9286726B2 (en) Mobile information gateway for service provider cooperation
US8619095B2 (en) Automatically modifying presentation of mobile-device content
KR101317047B1 (en) Emotion recognition appatus using facial expression and method for controlling thereof
CN109446876A (en) Sign language information processing method, device, electronic equipment and readable storage medium storing program for executing
US9665901B2 (en) Mobile information gateway for private customer interaction
CN110874129A (en) Display system
CN107783643A (en) A kind of method and device for protecting user's eyesight
US20140285402A1 (en) Social data-aware wearable display system
CN109086719A (en) Method and apparatus for output data
CN110570383B (en) Image processing method and device, electronic equipment and storage medium
KR20160035753A (en) Method and apparatus for automatically creating message
KR20140052263A (en) Contents service system, method and apparatus for service contents in the system
US10089684B2 (en) Mobile information gateway for customer identification and assignment
EP3087727B1 (en) An emotion based self-portrait mechanism
US11808941B2 (en) Augmented image generation using virtual content from wearable heads up display
CN105814550A (en) Method and apparatus for controlling user interface
CN104035544B (en) The method and electronic equipment of a kind of control electronics
CN111967436B (en) Image processing method and device
CN114844985A (en) Data quality inspection method, device, equipment and storage medium
CN107872619B (en) Photographing processing method, device and equipment
CN110188713A (en) Method and apparatus for output information
EP4329320A1 (en) Method and apparatus for video playback

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: 20191115