CN109816718A - A kind of method, apparatus and storage medium of play cuing - Google Patents

A kind of method, apparatus and storage medium of play cuing Download PDF

Info

Publication number
CN109816718A
CN109816718A CN201711174120.3A CN201711174120A CN109816718A CN 109816718 A CN109816718 A CN 109816718A CN 201711174120 A CN201711174120 A CN 201711174120A CN 109816718 A CN109816718 A CN 109816718A
Authority
CN
China
Prior art keywords
human eye
terminal device
spacing
user
video
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
CN201711174120.3A
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201711174120.3A priority Critical patent/CN109816718A/en
Publication of CN109816718A publication Critical patent/CN109816718A/en
Pending legal-status Critical Current

Links

Abstract

A kind of method, apparatus and storage medium of play cuing, the method are applied to terminal device, and the terminal device is equipped with photographic device, which comprises when user watches the display screen of described device, obtain the image of the photographic device shooting;When in described image including facial image, the human eye spacing in the facial image between human eye is obtained;Determine whether to meet implied condition according to the human eye spacing;After determination meets the implied condition, the user is prompted to adjust the physical distance between the terminal device.By using this programme, the viewing distance current to the user reminding for watching video that can be adaptive is improper, so that user adjusts viewing distance in time, and then reduces example fatigue or inpairment of vision.

Description

A kind of method, apparatus and storage medium of play cuing
Technical field
This application involves the method, apparatus and storage of terminal and applied technical field more particularly to a kind of play cuing to be situated between Matter.
Background technique
With the development of internet technology, user's habit watches video on the terminal device, plays the behaviour such as game or work Make.When user's display screen of opposite terminal device for a long time, it is easy to appear visual fatigue, or changing due to body posture Become, the display screen to terminal device slowly is close, these can all bring certain damage to the eyesight of user.With the time Passage, user itself are difficult subjective or subconscious realize the non-health distance that itself has been in viewing display screen State, terminal device can not prompt the user with the distance between active user and display screen not Health distance range it It is interior.
Summary of the invention
This application provides a kind of method, apparatus of play cuing and storage medium, it is able to solve user in the prior art When currently viewing display screen, the unsound problem of viewing distance that can not effectively remind user current.
The application first aspect provides a kind of method of play cuing, and the method is applied to terminal device, the terminal Equipment is equipped with photographic device, and the terminal device plays video, which comprises
When user watches the display screen of described device, the image of the photographic device shooting is obtained;
When in described image including facial image, the human eye spacing in the facial image between human eye is obtained;
Determine whether to meet implied condition according to the human eye spacing;
When determine meet the implied condition after, prompt the user adjust the physics between the terminal device away from From.
The application second aspect provides a kind of device for play cuing, has and realizes that corresponding to above-mentioned first aspect mentions The function of the method for the play cuing of confession.The function can also be executed corresponding soft by hardware realization by hardware Part is realized.Hardware or software include one or more modules corresponding with above-mentioned function, the module can be software and/or Hardware.
In a kind of possible design, the device for play cuing is equipped with photographic device, and described device plays video, The terminal device includes:
Module being obtained, when for watching the display screen of described device as user, obtaining the image of the photographic device shooting;
Processing module, for obtaining the people in the facial image between human eye when in described image including facial image Eye spacing;
Determine whether to meet implied condition according to the human eye spacing;
When determine meet the implied condition after, prompt the user adjust the physics between the terminal device away from From.
The another aspect of the application provides a kind of computer installation comprising processor, the memory of at least one connection And transceiver, wherein the memory is used to call the program in the memory for storing program code, the processor Code executes method described in above-mentioned first aspect.
The another aspect of the application provides a kind of computer storage medium comprising instruction, when it runs on computers When, so that computer executes method described in above-mentioned first aspect.
The another aspect of the application provides a kind of computer program product comprising instruction, when it runs on computers When, so that computer executes method described in above-mentioned various aspects.
Compared to the prior art, in scheme provided by the present application, in the display screen of user's viewing terminal equipment, terminal is set Whether the image in standby starting photographic device shooting field range, then judge comprising facial image in captured image, if It determines in the image of shooting there is facial image, then calculates the human eye spacing in the facial image, go to sentence further according to human eye spacing It is disconnected whether to meet implied condition, if meeting the implied condition, suggest that the physical distance that user goes between adjustment and terminal device. By using this adaptive scheme, the current viewing distance of the user reminding to viewing video that can be adaptive does not conform to It is suitable, so that user adjusts viewing distance in time, and then reduce asthenopia or inpairment of vision.
Detailed description of the invention
Fig. 1 is a kind of flow diagram of the method for play cuing in the embodiment of the present application;
Fig. 2-1 is the configuration diagram that camera captures in the embodiment of the present application;
Fig. 2-2 is the schematic diagram that camera captures suitable facial image in the embodiment of the present application;
Fig. 3 is the schematic diagram that effective human eye spacing in facial image is calculated in the embodiment of the present application;
Fig. 4 is a kind of schematic diagram of prompt adjustment viewing distance in the embodiment of the present application;
Fig. 5 is a kind of schematic diagram of prompt adjustment viewing distance in the embodiment of the present application;
Fig. 6 is a kind of schematic diagram of prompt adjustment viewing distance in the embodiment of the present application;
Fig. 7 is a kind of schematic diagram of prompt adjustment viewing distance in the embodiment of the present application;
Fig. 8 is a kind of schematic diagram of prompt adjustment viewing distance in the embodiment of the present application;
Fig. 9 is a kind of schematic diagram of prompt adjustment viewing distance in the embodiment of the present application;
Figure 10 is a kind of structural schematic diagram of the device of play cuing in the embodiment of the present application;
Figure 11 is a kind of structural schematic diagram of the device of play cuing in the embodiment of the present application;
Figure 12 is a kind of structural schematic diagram that the mobile phone of play cuing is executed in the embodiment of the present application.
Specific embodiment
The description and claims of this application and term " first " in above-mentioned attached drawing, " second " etc. are for distinguishing Similar object, without being used to describe a particular order or precedence order.It should be understood that the data used in this way are in appropriate feelings It can be interchanged under condition, so that the embodiments described herein can be real with the sequence other than the content for illustrating or describing herein It applies.In addition, term " includes " and " having " and their any deformation, it is intended that cover it is non-exclusive include, for example, packet The process, method, system, product or equipment for having contained series of steps or module those of be not necessarily limited to be clearly listed step or Module, but may include other steps being not clearly listed or intrinsic for these process, methods, product or equipment or Module, the division of module appeared in the application, only a kind of division in logic can have when realizing in practical application Other division mode, such as multiple modules can be combined into or are integrated in another system, or some features can be ignored, Or do not execute, in addition, shown or discussion mutual coupling, direct-coupling or communication connection can be by one A little interfaces, the indirect coupling or communication connection between module can be electrical or other similar form, do not make in the application It limits.Also, module or submodule can be the separation that may not be physically as illustrated by the separation member, can be It can not be physical module, or can be distributed in multiple circuit modules, portion therein can be selected according to the actual needs Point or whole module realize the purpose of application scheme.
The application has supplied the method, apparatus and storage medium of a kind of play cuing, is used for terminal and applied technical field, main To be used to improve the visual fatigue of the display screen of user's long-time viewing terminal equipment, or reduce the damage to eyesight.Below It is described in detail.
Since in video display process, the body of user is easy the terminal device for being increasingly closer to play video, cause Human eye is too close from the display screen of terminal device, influences the eyesight of human eye.In order to solve the above technical problems, the application mainly provide with Lower technical solution:
The principle for utilizing " near big and far smaller " is examined during terminal device plays video by the camera of terminal device Human eye spacing of the user when watching video is surveyed, true physics spacing of the human eye from terminal device is calculated, when in camera When the human eye spacing of image is greater than 350px, then it is considered that current physics spacing of the human eye apart from terminal device is less than Safe distance 40cm, at this moment, terminal device or the application being mounted on the terminal device (such as third-party application or screen Player) prompting can be made, and it is the interface progress Fuzzy Processing of video to currently playing, and then user is prevented to continue by close up It sees, affects vision.
Referring to Fig.1, a kind of method of play cuing provided by the embodiments of the present application introduced below, the method can be applied to Terminal device, the terminal device are equipped with photographic device, currently can play video on the terminal device, be also possible to play trip Other states such as play, work, the application do not limit terminal device for video broadcasting field, as long as can be to using terminal equipment Sight protectio or visual fatigue of the user when playing viewing display screen adjustment all can, below in embodiments herein with It is illustrated for the scene (such as shown in Fig. 2-1) of broadcasting video, the scene of other states can refer to the field for playing video The introduction of scape.The embodiment of the present application can include:
101, start photographic device.
Optionally, photographic device can be start by set date, be also possible to trigger starting after terminal device starting plays video, It is also possible to user voluntarily to start, specific the application is not construed as limiting.
102, when user watches the display screen of the terminal device, the image of the photographic device shooting is obtained.
For example, the photographic device of the terminal device can capture the camera shooting during user's using terminal device plays video Then the image captured is passed to terminal device by the image in the field range of device.
In view of during the terminal device plays video, possible user is left, the camera of the terminal device may In the image captured and facial image is not present, alternatively, when user is subjected to displacement variation, face that photographic device captures Situations such as image is imperfect.The image captured in the case of these, which may be considered, will not meet implied condition, that is, not Need the case where playing out prompt to user.For reduce the transmitting of such image, reduce terminal device computational load and The validity and necessity for improving prompt, can also define: when capturing complete or most facial image, the camera shooting The image captured can be reported to terminal device by device.
Such as shown in a in Fig. 2-2, user plays film using mobile phone, and the camera of the mobile phone can start camera, fixed When or capture image in the field range of the camera always, when capturing the image as shown in b, c in Fig. 2-2, no The processor for needing to be transmitted to the mobile phone then needs to be transmitted to the place of the mobile phone when capturing the image as shown in the d in Fig. 2-2 Manage device.
In some embodiments, photographic device can be video state, when the field range for having face to appear in video recording When interior, start shooting function, to obtain the image for having face.The photographic device can also timing starting shooting, it is specific to shoot Frequency the application be not construed as limiting, photographic device is in timed shooting or video state the application is also not construed as limiting.The camera shooting Device can be affixed on the terminal device, be also possible to the peripheral hardware ancillary equipment of the terminal device, can be converted Shooting angle also only shoots the image that can watch the angle of the video played on the terminal device certainly under normal circumstances, The angle specifically shot can be determined that specific the application is not construed as limiting by the display properties of the display screen of terminal device.
103, when in described image including facial image, the human eye spacing in the facial image between human eye is obtained.
A facial image taken by photographic device as shown in Figure 3, wherein triangle wire indicates recognition of face, Wherein, the d segment table in wire is leted others have a look at a spacing, which indicates the human eye spacing in facial image shown in Fig. 3, not The human eye spacing of the corresponding biological people of facial image.
104, determine whether to meet implied condition according to the human eye spacing.
Specifically, determine whether to meet implied condition according to the human eye spacing, it may include:
(1) according to human eye spacing and first threshold multilevel iudge:
When determining that the human eye spacing is greater than or equal to first threshold, determination meets the implied condition.For example, can determine Adopted first threshold is 350 pixels (full name in English: pixel, English abbreviation: px), can be true as the human eye spacing >=350px Determine that terminal device of the active user from the broadcasting video is too close, need to prompt to the terminal device: paying attention to the distance of adjustment viewing, Or stop the operations such as viewing video.
(2) according to physics spacing and second threshold multilevel iudge:
It, can be according to the human eye spacing, human eye spacing pass corresponding with physics spacing after calculating the human eye spacing System, obtains the physics spacing between the corresponding face of presently described facial image and the terminal device.
Then judge whether the physics spacing is less than or equal to second threshold, when determining that the physics spacing is less than or waits When second threshold, it is determined that meet the implied condition.Wherein, the second threshold refer to human eye viewing video health away from 35-45 centimetres can be taken from value, such as Health distance.
In some embodiments, the corresponding relationship of the human eye spacing, human eye spacing and physics spacing passes through following public affairs Formula is realized:
Y=a-b*x, wherein x indicates the physics spacing between face and the terminal device, and y indicates the photographic device The human eye spacing of human eye in the facial image got, a and b are constant.It is also based on the formula provided to be deformed, add Enter other parameters or variable, specific the application is not construed as limiting.
For example, the corresponding relationship of above-mentioned human eye spacing and physics spacing may is that y=2236.67-47.2x.
105, after determination meets the implied condition, the user is prompted to adjust the physics between the terminal device Distance.
Wherein, suggested object can be the corresponding user of the facial image.
Optionally, in some embodiments, user's adjustment and the end are prompted by way of following at least one Physical distance between end equipment:
(1) clarity of the currently playing video of the terminal device is reduced.
(2) video currently playing to the terminal device carries out Fuzzy Processing, such as carries out Gaussian Blur processing.
As shown in figure 4, a in Fig. 4 is currently playing video clip figure, the b in Fig. 4 is the view carried out after Fuzzy Processing Frequency surface chart.
(3) brightness of the display screen of the terminal device is reduced, as shown in figure 5, a in Fig. 5 is currently playing video Surface chart, the b in Fig. 5 are the video clip figures adjusted after the brightness of display screen.
(4) it issues caution sound or shows eye-catching icon, such as the figures such as pop-up lightning, yellow exclamation mark, explosion, tool Body the application is not construed as limiting.As shown in fig. 6, a in Fig. 6 is currently playing video clip figure, the b in Fig. 6 is display lightning Video clip figure after icon.
(5) backlight of the display screen is flashed, as shown in fig. 7, a in Fig. 7 is currently playing video clip figure, Fig. 7 In b be flashing after video image overlapping video clip figure.
(6) color of the color of the display screen or video playing interface is changed to specific color, such as Fig. 8 institute Show, a in Fig. 8 is currently playing video clip figure, and the b in Fig. 8 is the video after the backcolor change of video player Surface chart, such as green, yellow can be changed to etc., specific the application is not construed as limiting.
Optionally, in some embodiments, eyeshield mode can also be preset, when meeting implied condition, automatically Broadcasting video interface on pop-up dialog box for user select.As shown in figure 9, the broadcast interface pop-out of video player Mouthful: eyeshield mode whether is opened, " saying again later " or " enabling immediately " may be selected in user, when user's selection " enabling immediately " After icon, corresponding function can be opened.Child mode can also be set, it can the various predefined viewings of free switching Mode, specific watching mode the application are not construed as limiting.
Compared to current mechanism, in the embodiment of the present application, in the display screen of user's viewing terminal equipment, terminal device is opened Then whether the image in dynamic photographic device shooting field range judges in captured image comprising facial image, however, it is determined that Have facial image in the image of shooting, then calculate the human eye spacing in the facial image, further according to human eye spacing go judgement be It is no to meet implied condition, if meeting the implied condition, suggest that the physical distance that user goes between adjustment and terminal device.Pass through Using this adaptive scheme, the viewing distance current to the user reminding for watching video that can be adaptive is improper, with Just user adjusts viewing distance in time, and then reduces asthenopia or inpairment of vision.
In the embodiment of the present application, when terminal device is switched on or starts with the interaction of user, terminal device can be with The active user is determined as if there is active user in short-sighted frequency by the operation that photographic device starting shoots short-sighted frequency Validated user excludes the erroneous judgement scene for taking human face photo static in house.
Human eye spacing in the image got when photographic device is subsequent is less than first threshold or physics spacing is greater than the After two threshold values, terminal device can exit the adjustment operation for watching user video, such as restore the clear of currently playing screen interface Clear degree exits eyeshield mode, the eye-catching icon of concealment, the picture color for restoring video playing interface, it is a series of to stop flashing etc. Adjustment operation.In some embodiments, eyeshield mode, child mode and other effects can also be retained.
Optionally, in some embodiments of the present application, the method also includes:
The brightness for detecting the interface of currently playing video, when the brightness at the interface for determining currently playing video is greater than or equal to When third threshold value, the user is prompted to adjust the physical distance between the terminal device.Such as when terminal device or end The video player installed in end equipment detects that the interface of currently playing video is too bright, then the user can be prompted needs to adjust The distance of viewing or the brightness for reducing video playing determine that the adjustment operation after need to completely meeting the implied condition can refer to figure Embodiment shown in any one of 3- Fig. 9, does not repeat specifically.
Optionally, in some embodiments of the present application, the method also includes:
The time for obtaining currently playing video mentions when determining that the time of currently playing video is in time predefined section Show the physical distance between user's adjustment and the terminal device.Such as detect the time of currently playing video at night When between 12 points to 6 points of morning, the user can be prompted needs to adjust the distance of viewing, or reduces the brightness of video playing, Or the operation such as exit video playing.Equally, under this scene, adjustment operation be can refer to shown in any one of Fig. 3-Fig. 9 Embodiment does not repeat specifically.
The arbitrary characteristics occurred in embodiment corresponding to any one of above-mentioned Fig. 1-Fig. 9 are applied equally in the application Figure 10 and Figure 11 corresponding to embodiment, subsequent similar place repeats no more.
The method of play cuing a kind of in the application is illustrated above, below to the method for executing above-mentioned play cuing Device be described.The device can be mounted in the application on terminal device, which can be video playing application, It can be any application that can play video, such as the application can be browser, video player, a telecommunication customer end Deng the application is also possible to interactive application.The device can also be the terminal device for being mounted with to play the application of video, Specific the application is not construed as limiting.
The device of play cuing is used for shown in 0 referring to Fig.1, described device to be equipped with photographic device, and described device is currently broadcast Video is put, described device includes:
Module being obtained, when for watching the display screen of described device as user, obtaining the image of the photographic device shooting;
Processing module, for obtaining the people in the facial image between human eye when in described image including facial image Eye spacing;
Determine whether to meet implied condition according to the human eye spacing;
When determine meet the implied condition after, prompt the user adjust the physics between the terminal device away from From.
In the embodiment of the present application, in the display screen of user's viewing terminal equipment, processing module starts photographic device shooting Then whether the image in field range judges in captured image comprising facial image, however, it is determined that have in the image of shooting Facial image, then calculate the human eye spacing in the facial image, goes to judge whether to meet implied condition further according to human eye spacing, If meeting the implied condition, the physical distance that user goes between adjustment and terminal device is suggested that.By using this adaptive Scheme, the current viewing distance of the user reminding to viewing video that can be adaptive is improper, so that user adjusts in time Viewing distance, and then reduce asthenopia or inpairment of vision.
Optionally, in some embodiments of the present application, the processing module is specifically used for:
When determining that the human eye spacing is greater than or equal to first threshold, determination meets the implied condition.
Optionally, in some embodiments of the present application, the processing module is used for:
According to the corresponding relationship of the human eye spacing, human eye spacing and physics spacing, presently described facial image pair is obtained The physics spacing between face and the terminal device answered;
When determining that the physics spacing is less than or equal to second threshold, determines and meet the implied condition, described second Threshold value refers to the Health distance value of human eye viewing video.
Optionally, in some embodiments of the present application, the processing module at least executes one of following operation:
Reduce the clarity of the currently playing video of the terminal device;
Alternatively, the video currently playing to the terminal device carries out Fuzzy Processing;
Alternatively, reducing the brightness of the display screen of the terminal device;
Alternatively, issuing caution sound;
Alternatively, flashing the backlight of the display screen;
Alternatively, the color of the display screen is changed to specific color.
Optionally, in some embodiments of the present application, the human eye spacing, human eye spacing are corresponding with physics spacing to be closed System is realized by following formula:
Y=a-b*x, wherein x indicates the physics spacing between face and the terminal device, and y indicates the photographic device The human eye spacing of human eye in the facial image got, a and b are constant.
Above from the angle of modular functionality entity to the network authentication server and terminal device in the embodiment of the present application It is described, below from the angle of hardware handles respectively to the network authentication server and terminal device in the embodiment of the present application It is described.
Figure 11 is another structural schematic diagram of the device provided by the embodiments of the present application for play cuing, wherein can be wrapped Include at least one processor, at least one network interface or other communication interfaces, memory, at least one communication bus, extremely A few transceiver is for realizing the connection communication between these devices.Above-mentioned processor stores in above-mentioned memory for executing Executable module, such as computer program.Above-mentioned memory may comprising high-speed random access memory (full name in English: Random Access Memory, English abbreviation: RAM), it is also possible to it further include non-labile memory (non-volatile Memory), a for example, at least magnetic disk storage.
As shown in figure 11, in some embodiments, program instruction is stored in above-mentioned memory, above procedure instruction can To be executed by above-mentioned processor, by calling the program instruction of memory storage, above-mentioned processing implement body executes the application implementation The program code for needing to call when the method for the play cuing in example.
It should be noted that the corresponding entity device of transceiver module in the embodiment corresponding to the application Figure 10 can be with For input-output unit, the corresponding entity device of processing module can be processor.Each device shown in Fig. 10 can have Structure as shown in figure 11, when one of device has structure as shown in figure 11, the processor and input in Figure 11 are defeated Unit realizes the processing module and the same or similar function of transceiver module that the Installation practice of the aforementioned correspondence device provides out, The program code for needing to call when memory storage processor in Figure 11 executes the method for above-mentioned play cuing.
The embodiment of the present application also provides another terminal devices, as shown in figure 12, for ease of description, illustrate only with The relevant part of the embodiment of the present application, it is disclosed by specific technical details, please refer to the embodiment of the present application method part.The terminal Equipment can be include mobile phone, tablet computer, personal digital assistant (full name in English: Personal Digital Assistant, English abbreviation: PDA), point-of-sale terminal (full name in English: Point of Sales, English abbreviation: POS), vehicle-mounted computer etc. it is any eventually End equipment, taking the terminal as an example:
Figure 12 shows the block diagram of the part-structure of mobile phone relevant to terminal device provided by the embodiments of the present application.Ginseng Figure 12 is examined, mobile phone includes: radio frequency (full name in English: Radio Frequency, English abbreviation: RF) circuit 1212, memory 1220, input unit 1230, display unit 1240, sensor 1250, voicefrequency circuit 1260, Wireless Fidelity (full name in English: Wireless fidelity, English abbreviation: WiFi) components such as module 1270, processor 1280 and power supply 1290.This field Technical staff is appreciated that handset structure shown in Figure 12 does not constitute the restriction to mobile phone, may include more than illustrating Or less component, perhaps combine certain components or different component layouts.
It is specifically introduced below with reference to each component parts of the Figure 12 to mobile phone:
RF circuit 1212 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station After downlink information receives, handled to processor 1280;In addition, the data for designing uplink are sent to base station.In general, RF circuit 1212 include but is not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (full name in English: Low Noise Amplifier, English abbreviation: LNA), duplexer etc..In addition, RF circuit 1212 can also by wireless communication with net Network and other equipment communication.Any communication standard or agreement can be used in above-mentioned wireless communication, and including but not limited to the whole world is mobile Communication system (full name in English: Global System of Mobile communication, English abbreviation: GSM), general point Group wireless service (full name in English: General Packet Radio Service, English abbreviation: GPRS), CDMA (English Full name: Code Division Multiple Access, English abbreviation: CDMA), wideband code division multiple access (full name in English: Wideband Code Division Multiple Access, English abbreviation: WCDMA), long term evolution (full name in English: Long Term Evolution, English abbreviation: LTE), Email, short message service (full name in English: Short Messaging Service, English abbreviation: SMS) etc..
Memory 1220 can be used for storing software program and module, and processor 1280 is stored in memory by operation 1220 software program and module, thereby executing the various function application and data processing of mobile phone.Memory 1220 can be led It to include storing program area and storage data area, wherein storing program area can be needed for storage program area, at least one function Application program (such as sound-playing function, image player function etc.) etc.;Storage data area, which can be stored, uses institute according to mobile phone Data (such as audio data, phone directory etc.) of creation etc..In addition, memory 1220 may include high random access storage Device, can also include nonvolatile memory, and a for example, at least disk memory, flush memory device or other volatibility are solid State memory device.
Input unit 1230 can be used for receiving the number or character information of input, and generate with the user setting of mobile phone with And the related key signals input of function control.Specifically, input unit 1230 may include touch panel 1231 and other inputs Equipment 1232.Touch panel 1231, also referred to as touch screen collect touch operation (such as the user of user on it or nearby Use the behaviour of any suitable object or attachment such as finger, stylus on touch panel 1231 or near touch panel 1231 Make), and corresponding attachment device is driven according to preset formula.Optionally, touch panel 1231 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it It is converted into contact coordinate, then gives processor 1280, and order that processor 1280 is sent can be received and executed.In addition, Touch panel 1231 can be realized using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch surface Plate 1231, input unit 1230 can also include other input equipments 1232.Specifically, other input equipments 1232 may include But in being not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. It is one or more.
Display unit 1240 can be used for showing information input by user or be supplied to user information and mobile phone it is each Kind menu.Display unit 1240 may include display panel 1241, optionally, can using liquid crystal display (full name in English: Liquid Crystal Display, English abbreviation: LCD), Organic Light Emitting Diode (full name in English: Organic Light- Emitting Diode, English abbreviation: OLED) etc. forms configure display panel 1241.Further, touch panel 1231 can Covering display panel 1241 sends processor to after touch panel 1231 detects touch operation on it or nearby 1280, to determine the type of touch event, are followed by subsequent processing device 1280 and are provided on display panel 1241 according to the type of touch event Corresponding visual output.Although touch panel 1231 and display panel 1241 are come as two independent components in Figure 12 Realize the input and input function of mobile phone, but in some embodiments it is possible to by touch panel 1231 and display panel 1241 It is integrated and that realizes mobile phone output and input function.
Mobile phone may also include at least one sensor 1250, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light Light and shade adjust the brightness of display panel 1241, proximity sensor can close display panel when mobile phone is moved in one's ear 1241 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally three axis) and add The size of speed can detect that size and the direction of gravity when static, can be used to identify application (such as the horizontal/vertical screen of mobile phone posture Switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Also as mobile phone The other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared sensor, details are not described herein.
Voicefrequency circuit 1260, loudspeaker 1261, microphone 1262 can provide the audio interface between user and mobile phone.Audio Electric signal after the audio data received conversion can be transferred to loudspeaker 1261, be converted by loudspeaker 1261 by circuit 1260 For voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 1262, by voicefrequency circuit 1260 Audio data is converted to after reception, then by after the processing of audio data output processor 1280, through RF circuit 1212 to be sent to ratio Such as another mobile phone, or audio data is exported to memory 1220 to be further processed.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronics postal by WiFi module 1270 Part, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Figure 12 is shown WiFi module 1270, but it is understood that, and it is not belonging to must be configured into for mobile phone, it can according to need do not changing completely Become in the range of the essence of invention and omits.
Processor 1280 is the control centre of mobile phone, using the various pieces of various interfaces and connection whole mobile phone, By running or execute the software program and/or module that are stored in memory 1220, and calls and be stored in memory 1220 Interior data execute the various functions and processing data of mobile phone, to carry out integral monitoring to mobile phone.Optionally, processor 1280 may include one or more processing units;Preferably, processor 1280 can integrate application processor and modulation /demodulation processing Device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is mainly located Reason wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 1280.
Mobile phone further includes the power supply 1290 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply Management system and processor 1280 are logically contiguous, to realize management charging, electric discharge and power consumption pipe by power-supply management system The functions such as reason.
Although being not shown, mobile phone can also include camera, bluetooth module etc., and details are not described herein.
In the embodiment of the present application, processor 1280 included by the mobile phone also there is control to execute above by for playing Method flow performed by the device of prompt.
For example, the processor 1280 can call the instruction of the storage in memory 1220, following operation is executed:
The image of the photographic device shooting is obtained by the input unit 1230;
When in described image including facial image, the human eye spacing in the facial image between human eye is obtained;
Determine whether to meet implied condition according to the human eye spacing;
When determine meet the implied condition after, prompt the user adjust the physics between the terminal device away from From.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the module It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple module or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or module It closes or communicates to connect, can be electrical property, mechanical or other forms.
The module as illustrated by the separation member may or may not be physically separated, aobvious as module The component shown may or may not be physical module, it can and it is in one place, or may be distributed over multiple On network module.Some or all of the modules therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
It, can also be in addition, can integrate in a processing module in each functional module in each embodiment of the application It is that modules physically exist alone, can also be integrated in two or more modules in a module.Above-mentioned integrated mould Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as Fruit realizes and that when sold or used as an independent product can store can in a computer in the form of software function module It reads in storage medium.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.
The computer program product includes one or more computer instructions.Load and execute on computers the meter When calculation machine program instruction, entirely or partly generate according to process or function described in the embodiment of the present application.The computer can To be general purpose computer, special purpose computer, computer network or other programmable devices.The computer instruction can be deposited Storage in a computer-readable storage medium, or from a computer readable storage medium to another computer readable storage medium Transmission, for example, the computer instruction can pass through wired (example from a web-site, computer, server or data center Such as coaxial cable, optical fiber, Digital Subscriber Line (DSL)) or wireless (such as infrared, wireless, microwave) mode to another website Website, computer, server or data center are transmitted.The computer readable storage medium can be computer and can deposit Any usable medium of storage either includes that the data storages such as one or more usable mediums integrated server, data center are set It is standby.The usable medium can be magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or partly lead Body medium (such as solid state hard disk Solid State Disk (SSD)) etc..
Technical solution provided herein is described in detail above, specific case is applied in the application to this The principle and embodiment of application is expounded, the present processes that the above embodiments are only used to help understand and Its core concept;At the same time, for those skilled in the art in specific embodiment and is answered according to the thought of the application With in range, there will be changes, in conclusion the contents of this specification should not be construed as limiting the present application.

Claims (14)

1. a kind of method of play cuing, the method is applied to terminal device, and the terminal device is equipped with photographic device, special Sign is, which comprises
When the display screen of user's viewing terminal equipment, the image of the photographic device shooting is obtained;
When in described image including facial image, the human eye spacing in the facial image between human eye is obtained;
Determine whether to meet implied condition according to the human eye spacing;
After determination meets the implied condition, the terminal device prompts the user to adjust between the terminal device Physical distance.
2. the method according to claim 1, wherein described determine whether to meet prompt according to the human eye spacing Condition, comprising:
When determining that the human eye spacing is greater than or equal to first threshold, determination meets the implied condition.
3. the method according to claim 1, wherein in obtaining the facial image human eye human eye spacing it Afterwards, the method also includes:
According to the corresponding relationship of the human eye spacing, human eye spacing and physics spacing, it is corresponding to obtain presently described facial image Physics spacing between face and the terminal device;
It is described to determine whether to meet implied condition according to the human eye spacing, comprising:
When determining that the physics spacing is less than or equal to second threshold, determination meets the implied condition, the second threshold Refer to the Health distance value of human eye viewing video.
4. according to the method in claim 2 or 3, which is characterized in that prompt the user by way of following at least one Physical distance between adjustment and the terminal device:
Reduce the clarity of the currently playing video of the terminal device;
Alternatively, the video currently playing to the terminal device carries out Fuzzy Processing;
Alternatively, reducing the brightness of the display screen of the terminal device;
Alternatively, issuing caution sound;
Alternatively, flashing the backlight of the display screen;
Alternatively, the color of the display screen is changed to specific color.
5. according to the method described in claim 3, it is characterized in that, the corresponding relationship of the human eye spacing and physics spacing passes through Following formula are realized:
Y=a-b*x, wherein x indicates the physics spacing between face and the terminal device, and y indicates that the photographic device obtains To facial image in human eye human eye spacing, a and b are constant.
6. the method according to claim 1, wherein the method also includes:
The brightness for detecting the interface of currently playing video, when the brightness at the interface for determining currently playing video is greater than or equal to third When threshold value, the user is prompted to adjust the physical distance between the terminal device.
7. the method according to claim 1, wherein the method also includes:
The time for obtaining currently playing video prompts institute when determining that the time of currently playing video is in time predefined section State the physical distance between user's adjustment and the terminal device.
8. a kind of device for play cuing, described device is equipped with photographic device, which is characterized in that described device includes:
Module being obtained, when for watching the display screen of described device as user, obtaining the image of the photographic device shooting;
Processing module, for obtaining between the human eye in the facial image between human eye when in described image including facial image Away from;
Determine whether to meet implied condition according to the human eye spacing;
After determination meets the implied condition, the user is prompted to adjust the physical distance between the terminal device.
9. device according to claim 8, which is characterized in that the processing module is specifically used for:
When determining that the human eye spacing is greater than or equal to first threshold, determination meets the implied condition.
10. device according to claim 8, which is characterized in that the processing module is used for:
According to the corresponding relationship of the human eye spacing, human eye spacing and physics spacing, it is corresponding to obtain presently described facial image Physics spacing between face and the terminal device;
When determining that the physics spacing is less than or equal to second threshold, determination meets the implied condition, the second threshold Refer to the Health distance value of human eye viewing video.
11. device according to claim 9 or 10, which is characterized in that the processing module, which at least executes, operates it below One:
Reduce the clarity of the currently playing video of the terminal device;
Alternatively, the video currently playing to the terminal device carries out Fuzzy Processing;
Alternatively, reducing the brightness of the display screen of the terminal device;
Alternatively, issuing caution sound;
Alternatively, flashing the backlight of the display screen;
Alternatively, the color of the display screen is changed to specific color.
12. device according to claim 10, which is characterized in that the human eye spacing, human eye spacing and physics spacing Corresponding relationship is realized by following formula:
Y=a-b*x, wherein x indicates the physics spacing between face and the terminal device, and y indicates that the photographic device obtains To facial image in human eye human eye spacing, a and b are constant.
13. a kind of computer installation, which is characterized in that described device includes:
At least one processor, memory, receiver and transmitter;
Wherein, the memory is for storing program code, and the processor is for calling the program stored in the memory Code executes the method according to claim 1 to 7.
14. a kind of computer storage medium, which is characterized in that it includes instruction, when run on a computer, so that calculating Machine executes method as claimed in claim 1.
CN201711174120.3A 2017-11-22 2017-11-22 A kind of method, apparatus and storage medium of play cuing Pending CN109816718A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711174120.3A CN109816718A (en) 2017-11-22 2017-11-22 A kind of method, apparatus and storage medium of play cuing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711174120.3A CN109816718A (en) 2017-11-22 2017-11-22 A kind of method, apparatus and storage medium of play cuing

Publications (1)

Publication Number Publication Date
CN109816718A true CN109816718A (en) 2019-05-28

Family

ID=66599797

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711174120.3A Pending CN109816718A (en) 2017-11-22 2017-11-22 A kind of method, apparatus and storage medium of play cuing

Country Status (1)

Country Link
CN (1) CN109816718A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112286411A (en) * 2020-09-30 2021-01-29 北京大米科技有限公司 Display mode control method and device, storage medium and electronic equipment
CN113029018A (en) * 2021-02-03 2021-06-25 深圳市优必选科技股份有限公司 Eye protection prompting method and device, terminal equipment and computer readable storage medium
CN113423013A (en) * 2021-06-21 2021-09-21 北京紫光展锐通信技术有限公司 Viewing distance reminding method and device, equipment and storage medium
CN114625456A (en) * 2020-12-11 2022-06-14 腾讯科技(深圳)有限公司 Target image display method, device and equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101409784A (en) * 2007-10-10 2009-04-15 联想(北京)有限公司 Camera device and information-prompting apparatus
CN103294910A (en) * 2013-05-23 2013-09-11 西北工业大学 Eye protection method for users in front of video display terminal
CN103295370A (en) * 2012-09-13 2013-09-11 上海工融贸易有限公司 Method and system for preventing myopia by monitoring distance between eyes and screen
CN104090656A (en) * 2014-06-30 2014-10-08 潘晓丰 Eyesight protecting method and system for smart device
CN105141775A (en) * 2015-09-14 2015-12-09 Tcl移动通信科技(宁波)有限公司 Mobile terminal, and control method and system for screen brightness of mobile terminal
CN105759971A (en) * 2016-03-08 2016-07-13 珠海全志科技股份有限公司 Method and system for automatically prompting distance from human eyes to screen
CN106022209A (en) * 2016-04-29 2016-10-12 杭州华橙网络科技有限公司 Distance estimation and processing method based on face detection and device based on face detection

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101409784A (en) * 2007-10-10 2009-04-15 联想(北京)有限公司 Camera device and information-prompting apparatus
CN103295370A (en) * 2012-09-13 2013-09-11 上海工融贸易有限公司 Method and system for preventing myopia by monitoring distance between eyes and screen
CN103294910A (en) * 2013-05-23 2013-09-11 西北工业大学 Eye protection method for users in front of video display terminal
CN104090656A (en) * 2014-06-30 2014-10-08 潘晓丰 Eyesight protecting method and system for smart device
CN105141775A (en) * 2015-09-14 2015-12-09 Tcl移动通信科技(宁波)有限公司 Mobile terminal, and control method and system for screen brightness of mobile terminal
CN105759971A (en) * 2016-03-08 2016-07-13 珠海全志科技股份有限公司 Method and system for automatically prompting distance from human eyes to screen
CN106022209A (en) * 2016-04-29 2016-10-12 杭州华橙网络科技有限公司 Distance estimation and processing method based on face detection and device based on face detection

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112286411A (en) * 2020-09-30 2021-01-29 北京大米科技有限公司 Display mode control method and device, storage medium and electronic equipment
CN114625456A (en) * 2020-12-11 2022-06-14 腾讯科技(深圳)有限公司 Target image display method, device and equipment
CN114625456B (en) * 2020-12-11 2023-08-18 腾讯科技(深圳)有限公司 Target image display method, device and equipment
CN113029018A (en) * 2021-02-03 2021-06-25 深圳市优必选科技股份有限公司 Eye protection prompting method and device, terminal equipment and computer readable storage medium
CN113423013A (en) * 2021-06-21 2021-09-21 北京紫光展锐通信技术有限公司 Viewing distance reminding method and device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108228032A (en) The control method and mobile terminal of a kind of display screen
CN108668083A (en) A kind of photographic method and terminal
CN109271121A (en) A kind of application display method and mobile terminal
CN108762640A (en) A kind of display methods and terminal of barrage information
CN110134356A (en) A kind of throwing screen method and terminal
CN108200289A (en) A kind of unread message processing method and mobile terminal
CN109816718A (en) A kind of method, apparatus and storage medium of play cuing
CN107801106B (en) A kind of video clip intercept method and electronic equipment
CN109768810A (en) A kind of signal processing circuit, terminal device and signal processing method
CN108062404A (en) Processing method, device, readable storage medium storing program for executing and the terminal of facial image
CN108089891A (en) A kind of application program launching method, mobile terminal
CN109639969A (en) A kind of image processing method, terminal and server
CN108287650A (en) One-handed performance method based on mobile terminal and mobile terminal
CN108574778A (en) Throw screen brightness adjusting method and Related product
CN110035149A (en) A kind of multiple antennas optimization method and mobile terminal
CN107908705A (en) A kind of information-pushing method, information push-delivery apparatus and mobile terminal
CN110213440A (en) A kind of images share method and terminal
CN109815819A (en) A kind of cheat detection method, device, terminal device and storage medium
CN108123999A (en) A kind of information push method and mobile terminal
CN109271297A (en) A kind of abnormal prompt method and mobile terminal
CN109658886A (en) A kind of control method and terminal of display screen
CN111064654A (en) Message display method and electronic equipment
CN108881719A (en) A kind of method and terminal device switching style of shooting
CN108012026A (en) One kind protection eyesight method and mobile terminal
CN107707760A (en) A kind of sending out notice processing method and mobile terminal

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