CN108519834A - Method for displaying image, device, storage medium and electronic equipment - Google Patents
Method for displaying image, device, storage medium and electronic equipment Download PDFInfo
- Publication number
- CN108519834A CN108519834A CN201810302121.XA CN201810302121A CN108519834A CN 108519834 A CN108519834 A CN 108519834A CN 201810302121 A CN201810302121 A CN 201810302121A CN 108519834 A CN108519834 A CN 108519834A
- Authority
- CN
- China
- Prior art keywords
- image
- target image
- electronic equipment
- display
- module
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0412—Digitisers structurally integrated in a display
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/011—Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
- G06F3/013—Eye tracking input arrangements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0416—Control or interface arrangements specially adapted for digitisers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2203/00—Indexing scheme relating to G06F3/00 - G06F3/048
- G06F2203/048—Indexing scheme relating to G06F3/048
- G06F2203/04806—Zoom, i.e. interaction techniques or interactors for controlling the zooming operation
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the present application discloses a kind of method for displaying image, device, storage medium and electronic equipment;The method includes:Display target image, obtains focal zone of the eye focus on target image, and detection user is directed to the operation of touch controlled key triggering, in response to aforesaid operations, and display is reduced or amplified to the focal zone of target image.The embodiment of the present application can automatically determine the position for needing to operate in target image according to human eye, and be checked to target image to the operation of touch controlled key according to user, therefore user's operation can be reduced when checking image, and efficiency is checked to promote image.
Description
Technical field
This application involves electronic device fields, and in particular to a kind of method for displaying image, device, storage medium and electronics are set
It is standby.
Background technology
With the development of terminal technology, terminal have begun from simply provided in the past verbal system become gradually one it is logical
With the platform of running software.The platform no longer to provide call management as the main purpose, and be to provide one include call management,
Running environment including the types of applications softwares such as Entertainment, office account, mobile payment, is popularized with a large amount of, deep
Enter to people’s lives, the every aspect of work.
Currently, with universal, the function increasingly diversification of mobile terminal of mobile terminal (such as mobile phone), for example, moving
Function button, such as volume key, switch key etc. are more or less provided in dynamic terminal, user is by operating function button to moving
Dynamic terminal is carried out such as control volume, switching on and shutting down control.
Invention content
A kind of method for displaying image of the embodiment of the present application offer, device, storage medium and electronic equipment, can check figure
User's operation is reduced when picture, and efficiency is checked to promote image.
In a first aspect, the embodiment of the present application provides a kind of method for displaying image, it is applied to electronic equipment, the electronic equipment
With shell and the display being fixedly connected with the casing, it is provided with touch controlled key on the shell of the electronic equipment, including:
Display target image;
Obtain focal zone of the eye focus on the target image;
Detect the operation that user is directed to touch controlled key triggering;
In response to the operation, display is reduced or amplified to the focal zone of the target image.
Second aspect, the embodiment of the present application also provides a kind of image display devices, are applied to electronic equipment, the electronics
Equipment has shell and the display that is fixedly connected with the casing, and touch controlled key is provided on the shell of the electronic equipment, including:
Display module, acquisition module, detection module and control module;
The display module is used for display target image;
The acquisition module, for obtaining focal zone of the eye focus on the target image;
The detection module is directed to the operation of touch controlled key triggering for detecting user;
The control module, in response to the operation, being reduced to the focal zone of the target image
Or amplification display.
The third aspect, the embodiment of the present application also provide a kind of storage medium, are stored thereon with computer program, the calculating
The step of machine program realizes above-mentioned method for displaying image when being executed by processor.
Fourth aspect, the embodiment of the present application also provide a kind of electronic equipment, including shell;
Display screen, setting is on the housing;
Sensor, setting is on the housing;
Processor, the processor are of coupled connections with the display and the sensor, which is characterized in that the display
Screen is used for display target image, and the sensor is used to detect the operation of user, and the processor is for obtaining user's eye
Eyeball focuses on the focal zone on the target image, and for according to the operation of the user on the target image
Focal zone carries out zooming in or out display.
Method for displaying image provided by the embodiments of the present application display target image first obtains eye focus in target image
On focal zone, detection user be directed to touch controlled key triggering operation, in response to aforesaid operations, and to the focusing of target image
Region is reduced or is amplified display.The embodiment of the present application can be automatically determined according to human eye to be needed to operate in target image
Position, and target image is checked in the operation of touch controlled key according to user, therefore use can be reduced when checking image
Family operates, and efficiency is checked to promote image.
Description of the drawings
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present application, for
For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 is a kind of flow diagram of method for displaying image provided by the embodiments of the present application.
Fig. 2 is the schematic diagram of pressure responsive element provided by the embodiments of the present application.
Fig. 3 is the schematic diagram of circuit where pressure responsive element provided by the embodiments of the present application.
Fig. 4 is another flow diagram of method for displaying image provided by the embodiments of the present application.
Fig. 5 is a kind of structural schematic diagram of image display device provided by the embodiments of the present application.
Fig. 6 is another structural schematic diagram of image display device provided by the embodiments of the present application.
Fig. 7 is a kind of structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Fig. 8 is another structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Specific implementation mode
Schema is please referred to, wherein identical component symbol represents identical component, the principle of the application is to implement one
It is illustrated in computing environment appropriate.The following description be based on illustrated by the application specific embodiment, should not be by
It is considered as limitation the application other specific embodiments not detailed herein.
In the following description, the specific embodiment of the application will be with reference to by the step performed by one or multi-section computer
And symbol illustrates, unless otherwise stating clearly.Therefore, these steps and operation will have to mention for several times is executed by computer, this paper institutes
The computer execution of finger includes by representing with the computer processing unit of the electronic signal of the data in a structuring pattern
Operation.This operation is converted at the data or the position being maintained in the memory system of the computer, reconfigurable
Or in addition change the running of the computer in a manner of known to the tester of this field.The data structure that the data are maintained
For the provider location of the memory, there is the specific feature defined in the data format.But the application principle is with above-mentioned text
Word illustrates that be not represented as a kind of limitation, this field tester will appreciate that plurality of step as described below and behaviour
Also it may be implemented in hardware.
The principle of the application is grasped using many other wide usages or specific purpose operation, communication environment or configuration
Make.The known example suitable for the arithmetic system of the application, environment and configuration may include (but not limited to) hold phone,
Personal computer, server, multicomputer system, system, body frame configuration computer and distributed arithmetic ring based on micro computer
Border, which includes any above system or devices.
It will be described in detail respectively below.
Referring initially to Fig. 1, Fig. 1 is a kind of flow diagram of method for displaying image provided by the embodiments of the present application, wherein
Above-mentioned method for displaying image is applied to electronic equipment, is provided with touch controlled key on electronic equipment, includes the following steps:
Step S101, display target image.
Wherein, above-mentioned target image can be to be clapped according to the shooting instruction after electronic equipment receive the shooting instruction of user
The target image taken the photograph.For example, showing current picture of finding a view on screen after the shooting function of user's opening electronic equipment, work as user
It, can be by clicking the shooting button in screen when being shot, electronic equipment will start the bat on electronic equipment at this time
Module is taken the photograph, current find a view is obtained and picture and is shown on electronic equipment screen, as target image.
It should be noted that above-mentioned target image may include still image and dynamic image, the format of the target image
May include BMP (Bitmap, bitmap format) formula image information, JPG (JointPhotographicExpertGroup, joint
Photo expert group) formula image information etc..It is, of course, also possible to which other kinds of digital type image information, is not constituted to the application
Restriction.
In other embodiment, above-mentioned target image can also be the image that other modes are got, such as from interconnection
The image etc. of the image downloaded on the net or other electronic equipments.In addition, above-mentioned target image can be set by electronics
It is alternatively fixed, such as:Electronic equipment can from server provide multiple images in selection target image.
Step S102 obtains focal zone of the eye focus on target image.
In one embodiment, the mode of focal zone of the above-mentioned acquisition eye focus on target image can have more
Kind, for example the eye image of user is first obtained, and focus area of the human eye on target image is then determined according to eye image, it should
Focal position is focal zone of the eye focus on target image.
In one embodiment, the facial image of user can be first obtained, human eye figure is then extracted in the facial image
Picture can promote the speed and efficiency of eye image acquisition in this way.For example, by the front camera of electronic equipment come into pedestrian
Face is identified to obtain the facial image in target image, then extracts eye image, wherein recognition of face in the facial image again
It is a kind of biological identification technology that the facial feature information based on people carries out identification.Contained with video camera or camera acquisition
The image or video flowing of face, and automatic detect and track face in the picture, and then the face to detecting carries out face
A series of the relevant technologies, usually also referred to as Identification of Images, face recognition.In addition, recognition of face may be used based on Haar features
Adaboost (AdaptiveBoosting, adaptive enhance) algorithm is detected the face in original image, or adopts
The face in original image is detected with other algorithms, the present embodiment does not also limit this.
After extracting eye image, it can determine human eye on the target image according to eyeball tracking technology
Focus area.Above-mentioned eyeball tracking mode can also there are many, when according to the changing features on eyeball and eyeball periphery carry out with
Track, second is that according to iris angle change into line trace, third, actively projecting the light beams such as infrared ray to iris to extract feature.In essence
In terms of degree, infrared ray mode of delivery has bigger advantage, can be probably accurate on 30 inches of screen within 1 centimetre, auxiliary
With blink identification, watch the technologies such as identification attentively, it is already possible to substitute mouse, touch tablet to a certain extent, it is limited to carry out some
Operation.In addition, other image capture devices can also realize eye such as the camera on computer or mobile phone under the support of software
Ball tracks, but is different in accuracy, speed and stability.Therefore electronic equipment can be utilized in an embodiment
On infrared distance sensor realize eyeball tracking, so that it is determined that focus area of the human eye on the target image.
In one embodiment, the mode of focus area of the above-mentioned determining human eye on target image can there are many, for example,
It first passes through eye image and determines focus area of the human eye on electronic equipment screen, then according to the coke on the electronic equipment screen
The target image shown on point region and screen, determines focus area of the human eye on target image.
Step S103, detection user are directed to the operation of touch controlled key triggering.
The electronic equipment provided in the embodiment of the present application includes touch controlled key, and user can for the operation of touch controlled key triggering
Think pressing operation.In one embodiment, can pressure responsive element be set at the back side of the touch controlled key, by pressure sensitive member
The circuit board electrical connection of part and electronic equipment, pressure responsive element detect the pressing force transmitted from touch controlled key, and when pressing
Power sends out trigger signal when being more than preset value, in turn, circuit board according to the trigger signal of reception generate corresponding control signal with
Control electronics.Wherein, touch controlled key is essentially touch panel.The shell in electronic equipment can be arranged in the touch panel
On, wherein the front of button touch panel, which is used to press for user, generates deformation, and the back side of button touch panel is provided with pressure
Sensing element.
In one embodiment, the pressing force transmitted from button touch panel can be obtained, and is preset when pressing force is more than
Trigger signal is sent out when value, board receiver trigger signal simultaneously generates corresponding control signal with control electronics.Wherein, on
Stating and being directed to the preset value of pressing force is demarcated according to many experiments, is to belong to false triggering for defining current press power, still
Belong to user to be intended to independently trigger according to operation, when the pressure that pressure responsive element senses is more than the preset value, then to pressing
Pressure carries out corresponding response operation, when the pressure of pressure responsive element induction is not more than the preset value, then it is assumed that current triggering
For false triggering, such as the triggering etc. that is squeezed for the cloth in pocket, to not to the pressing force-responsive.
As a kind of possible realization method, a full-bridge electricity which can be made of four resistance
Road forms, to be set to the full-bridge circuit at the electronic equipment touch panel back side by this, in the depressed power of touch panel
When generating small deformation, bridge resistor judges the size for applying pressing force according to the variation of a pair of of resistance voltage difference of the two ends.
In the present embodiment, as shown in Fig. 2, when full-bridge circuit is by the identical varistor R1 of end to end resistance value, electricity
When hindering R2, resistance R3 and resistance R4 compositions, when varistor does not have depressed force effect, all resistance values are in electric bridge
Equal, the resistance value of two opposite resistance increases, and the resistance value of other two resistance will reduce, to turn the variable quantity of voltage
It is changed to corresponding voltage value, to know the size of pressing force according to the variation of voltage value.
For example, as shown in figure 3, when the value of the resistance of resistance R2 and resistance R3 receives pressing force and reduces 1%, electricity
The value of resistance R1 and resistance R4 then increases by 1%, then two " in " voltage value between point will become 2% from 0, it in turn, can be by the electricity
Amplified sensor output voltage is converted to number by pressure value by ADC in turn by the level of enhanced processing to suitable ADC
Formula, then the controller in circuit board or DSP processing are given, know current pressing force.
Step S104 in response to aforesaid operations, and reduces the focal zone of target image or is amplified display.
Wherein, above-mentioned touch controlled key can be for one or multiple, can basis when the touch controlled key is one
Different function, such as amplification target image when the single-point touch controlled key are realized to the different operation of the touch controlled key, this is double-clicked and touches
Target image is reduced when controlling button.Or different operations is executed according to the duration for pressing the touch controlled key, short-press (for example press
Press duration to be less than 1s) touch controlled key when amplification target image, when long-press (such as pressing duration the be more than 1s) touch controlled key contracts
Small object image.
In one embodiment, it when above-mentioned touch controlled key is multiple, can be executed not according to different touch controlled keys is pressed
Same operation, such as above-mentioned touch controlled key include the first touch controlled key and the second touch controlled key, are put when pressing the first touch controlled key
Big target image reduces target image when pressing the second touch controlled key.In other embodiments can also to the touch controlled key into
Row sliding is numerous to list herein to realize different functions.
Wherein, according to user for touch controlled key triggering focal zone of the operation on target image to target image into
Row is checked, for example, can operate the focal zone on target image for the first of touch controlled key triggering according to user
Image magnification is carried out, operating the focal zone on target image for the second of touch controlled key triggering according to user carries out image
It reduces.It is understood that above-mentioned can be directed to same touch controlled key for the first operation of touch controlled key and the second operation
Different touch controlled keys can be directed to.
In the embodiment of the present application, above-mentioned electronic equipment can be any intelligent electronic device with picture browsing function,
Such as:Mobile phone, tablet computer (Tablet Personal Computer), laptop computer (Laptop Computer), individual
Digital assistants (personal digital assistant, abbreviation PDA), mobile Internet access device (Mobile Internet
Device, MID) or wearable device (Wearable Device) etc..
From the foregoing, it will be observed that the embodiment of the present application can obtain focusing of the eye focus on target image with display target image
Region, detection user is directed to the operation of touch controlled key triggering, is carried out in response to aforesaid operations, and to the focal zone of target image
It reduces or amplification is shown.The embodiment of the present application can automatically determine the position for needing to operate in target image according to human eye, and
Target image is checked in the operation of touch controlled key according to user, therefore user's operation can be reduced when checking image,
Efficiency is checked to promote image.
According to the description of a upper embodiment, illustrate the method for displaying image of the application by further below.
Referring to Fig. 4, Fig. 4 is the flow diagram of another method for displaying image provided by the embodiments of the present application, including
Following steps:
Step S201 is obtained and is shown target image to be viewed.
Wherein, above-mentioned target image can be to be clapped according to the shooting instruction after electronic equipment receive the shooting instruction of user
The target image taken the photograph.For example, showing current picture of finding a view on screen after the shooting function of user's opening electronic equipment, work as user
It, can be by clicking the shooting button in screen when being shot, electronic equipment will start the bat on electronic equipment at this time
Module is taken the photograph, current find a view is obtained and picture and is shown on electronic equipment screen, as target image.
Step S202, obtains the eye image of user, and extracts the eyeball characteristic information in eye image.
In one embodiment, the facial image that front camera obtains user can be first passed through, then in the facial image
Eye image is extracted in the middle, can promote the speed and efficiency of eye image acquisition in this way.For example, passing through the preposition of electronic equipment
Camera carries out recognition of face to obtain the facial image in target image, then extracts human eye figure in the facial image again
Picture, and then the eyeball characteristic information in eye image can be extracted.Wherein, eyeball characteristic information may include pupil in human eye
Position.
Step S203 determines focal position of the eye focus on electronic equipment screen according to eyeball characteristic information.
Specifically, focal position of the location determination human eye on electronic equipment screen according to pupil in human eye.At it
, can also be according to the changing features on eyeball and eyeball periphery into line trace in his embodiment, or can be become according to iris angle
Change into line trace, can also actively project the light beams such as infrared ray to iris to extract feature to determine human eye in electronic equipment screen
On focal position.
Step S204 determines eyes according to focal position of the eye focus on electronic equipment screen and target image
Focus on the focal zone on target image.
After determining focal position of the human eye on electronic equipment screen, further obtain when screen display target image
Corresponding position on the target image, as focal zone of the eye focus on the target image.For example, determining human eye
Coordinate information of the focal position on current screen is obtained behind focal position on electronic equipment screen, then according to the seat
Mark information and target image determine focal zone of the eye focus on the target image.
Step S205 is received and is triggered the first operation of touch controlled key generation according to first gesture and triggered according to second gesture
The second operation that touch controlled key generates.
In embodiments of the present invention, electronic equipment includes touch controlled key, and user can be with for the operation of touch controlled key triggering
For pressing operation.In one embodiment, can pressure responsive element be set at the back side of the touch controlled key, by pressure responsive element
With the circuit board electrical connection of electronic equipment, pressure responsive element detects the pressing force transmitted from touch controlled key, and works as pressing force
Trigger signal is sent out when more than preset value, in turn, circuit board generates corresponding control signal to control according to the trigger signal of reception
Electronic equipment processed.Wherein, touch controlled key is essentially touch panel.The shell in electronic equipment can be arranged in the touch panel
On, wherein the front of button touch panel, which is used to press for user, generates deformation, and the back side of button touch panel is provided with pressure
Sensing element.
Wherein, above-mentioned first gesture and second gesture can be the different gestures that user is directed to the same touch controlled key, than
It such as clicks and double-clicks, left cunning and right cunning, or user is directed to the gesture of different touch controlled keys, for example clicks the first touch-control
Button and click the second touch controlled key.
Step S206 is amplified target image according to the focal zone of the first operation and target image, according to second
The focal zone of operation and target image reduces target image.
For example, when the single-point touch controlled key at focal position amplification target image, in focus when double-clicking the touch controlled key
Target image is reduced at position.Or different operations is executed according to the duration for pressing the touch controlled key, short-press (for example press
Duration is less than 1s) touch controlled key when at focal position amplification target image, long-press (such as pressing duration be more than 1s) this touch
Target image is reduced when controlling button at focal position.
From the foregoing, it will be observed that the embodiment of the present application can obtain and show target image to be viewed, the human eye figure of user is obtained
Picture, and the eyeball characteristic information in eye image is extracted, determine eye focus in electronic equipment screen according to eyeball characteristic information
On focal position eyes are determined according to focal position of the eye focus on the electronic equipment screen and target image
It focuses on the focal zone on target image, receives and the first operation that touch controlled key generates is triggered according to first gesture and according to the
Two gesture trigger touch controlled keys generate second operation, according to first operation and target image focal zone to target image into
Row amplification reduces target image according to the focal zone of the second operation and target image.The embodiment of the present application can root
Automatically determine the position for needing to operate in target image according to human eye, and according to user to the operation of touch controlled key to target image into
Row is checked, therefore user's operation can be reduced when checking image, and efficiency is checked to promote image.
For the ease of preferably implementing method for displaying image provided by the embodiments of the present application, the embodiment of the present application also provides
A kind of device based on above-mentioned method for displaying image.Wherein the meaning of noun is identical with above-mentioned method for displaying image, specific real
Existing details can be with the explanation in reference method embodiment.
Referring to Fig. 5, Fig. 5 is a kind of structural schematic diagram of image display device provided by the embodiments of the present application, the image
Display device 30 is applied and electronic equipment, the display that electronic equipment has shell and is fixedly connected with the casing, electronic equipment
Touch controlled key is provided on shell, including:Display module 301, acquisition module 302, detection module 303 and control module 304;
The display module 301 is used for display target image;
The acquisition module 302, for obtaining focal zone of the eye focus on the target image;
The detection module 303 is directed to the operation of touch controlled key triggering for detecting user;
The control module 304, in response to the operation, being reduced to the focal zone of the target image
Or amplification display.
With continued reference to Fig. 6, in an embodiment, acquisition module 302 can specifically include:Acquisition submodule 3021,
One determination sub-module 3022 and the second determination sub-module 3023;
The acquisition submodule 3021, the eye image for obtaining user, and extract the letter of the eyeball feature in eye image
Breath;
First determination sub-module 3022, for determining eye focus in electronic equipment screen according to eyeball characteristic information
Focal position;
Second determination sub-module 3023 is used for the focal position on electronic equipment screen and mesh according to eye focus
Logo image determines focal zone of the eye focus on the target image.
In one embodiment, detection module 303 are specifically used for detection triggers that touch controlled key generates according to first gesture the
One operation and the second operation that touch controlled key generation is triggered according to second gesture.
In one embodiment, control module 304 can specifically include:Amplification module 3041 and diminution module 3042;
The amplification module 3041, for being carried out to target image according to the focal zone of the first operation and target image
Amplification;
The diminution module 3042, for being carried out to target image according to the focal zone of the second operation and target image
It reduces.
From the foregoing, it will be observed that image display device 30 provided by the embodiments of the present application can be by 301 display target figure of display module
Picture, acquisition module 302 obtain focal zone of the eye focus on target image, and detection module 303 detects user and is directed to touch-control
The operation of button triggering, control module 304 are reduced or are put in response to aforesaid operations, and to the focal zone of target image
Big display.The embodiment of the present application can automatically determine the position for needing to operate in target image according to human eye, and according to user couple
Target image is checked in the operation of touch controlled key, therefore user's operation can be reduced when checking image, to promote figure
Picture checks efficiency.
The application also provides a kind of storage medium, is stored thereon with computer program, which is characterized in that the computer journey
The method for displaying image that implementation method embodiment provides when sequence is executed by processor.
The application also provides a kind of electronic equipment, including shell;
Display screen is arranged on shell;
Sensor is arranged on shell;
Processor, processor are of coupled connections with display and sensor, which is characterized in that display screen is used for display target figure
Picture, sensor are used to detect the operation of user, and processor is used to obtain the focal zone that eyes of user focuses on target image,
And the focal zone on target image is carried out for depending on the user's operation to zoom in or out display.
A kind of electronic equipment is also provided in the another embodiment of the application, which can be smart mobile phone, tablet
Apparatus such as computer.As shown in fig. 7, electronic equipment 400 includes processor 401, memory 402.Wherein, processor 401 and storage
Device 402 is electrically connected.
Processor 401 is the control centre of electronic equipment 400, utilizes various interfaces and the entire electronic equipment of connection
Various pieces by the application program of operation or load store in memory 402, and are called and are stored in memory 402
Data, execute electronic equipment various functions and processing data, to electronic equipment carry out integral monitoring.
In the present embodiment, processor 401 in electronic equipment 400 can according to following step, by one or one with
On the corresponding instruction of process of application program be loaded into memory 402, and be stored in memory by processor 401 to run
Application program in 402, to realize various functions:
Display target image;
Obtain focal zone of the eye focus on the target image;
Detect the operation that user is directed to touch controlled key triggering;
In response to the operation, display is reduced or amplified to the focal zone of the target image.
Referring to Fig. 8, Fig. 8 is electronic devices structure schematic diagram provided by the embodiments of the present application.The electronic equipment 500 can be with
Including radio frequency (RF, Radio Frequency) circuit 501, include one or more computer readable storage mediums
Memory 502, input unit 503, display unit 504, sensor 504, voicefrequency circuit 506, Wireless Fidelity (WiFi,
Wireless Fidelity) module 507, include there are one or more than one processing core processor 508 and power supply
509 equal components.It will be understood by those skilled in the art that electronic devices structure shown in Fig. 8 is not constituted to electronic equipment
It limits, may include either combining certain components or different components arrangement than illustrating more or fewer components.
Radio circuit 501 can be used for receiving and sending messages or communication process in signal send and receive, particularly, by base station
Downlink information receive after, transfer to one or more than one processor 508 processing;In addition, the data for being related to uplink are sent
To base station.In general, radio circuit 501 includes but not limited to antenna, at least one amplifier, tuner, one or more oscillations
Device, subscriber identity module (SIM, Subscriber Identity Module) card, transceiver, coupler, low noise amplification
Device (LNA, Low Noise Amplifier), duplexer etc..In addition, radio circuit 501 can also by radio communication with network
It is communicated with other equipment.The wireless communication can use any communication standard or agreement, including but not limited to global mobile communication
System (GSM, Global System of Mobile communication), general packet radio service (GPRS, General
Packet Radio Service), CDMA (CDMA, Code Division Multiple Access), wideband code division it is more
Location (WCDMA, Wideband Code Division Multiple Access), long term evolution (LTE, Long Term
Evolution), Email, short message service (SMS, Short Messaging Service) etc..
Memory 502 can be used for storing application program and data.Include that can hold in the application program that memory 502 stores
Line code.Application program can form various functions module.Processor 508 is stored in the application journey of memory 502 by operation
Sequence, to perform various functions application and data processing.Memory 502 can include mainly storing program area and storage data
Area, wherein storing program area can storage program area, needed at least one function application program (such as sound-playing function,
Image player function etc.) etc.;Storage data field can be stored uses created data (such as audio number according to electronic equipment
According to, phone directory etc.) etc..In addition, memory 502 may include high-speed random access memory, can also include non-volatile deposit
Reservoir, for example, at least a disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memory
502 can also include Memory Controller, to provide the access of processor 508 and input unit 503 to memory 502.
Input unit 503 can be used for receiving number, character information or the user's characteristic information (such as fingerprint) of input, and
Generate keyboard related with user setting and function control, mouse, operating lever, optics or the input of trace ball signal.Specifically
Ground, in a specific embodiment, input unit 503 may include touch sensitive surface and other input equipments.Touch sensitive surface,
Referred to as touch display screen or Trackpad, collect user on it or neighbouring touch operation (such as user using finger, touch
The operations of any suitable object or attachment on touch sensitive surface or near touch sensitive surface such as pen), and according to preset
Formula drives corresponding attachment device.Optionally, touch sensitive surface may include both touch detecting apparatus and touch controller.
Wherein, the touch orientation of touch detecting apparatus detection user, and the signal that touch operation is brought is detected, transmit a signal to touch
Controller;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processing
Device 508, and order that processor 508 is sent can be received and executed.
Display unit 504 can be used for showing information input by user or the information and electronic equipment that are supplied to user
Various graphical user interface, these graphical user interface can be made of figure, text, icon, video and its arbitrary combination.
Display unit 504 may include display panel.Optionally, liquid crystal display (LCD, Liquid Crystal may be used
Display), the forms such as Organic Light Emitting Diode (OLED, Organic Light-Emitting Diode) configure display surface
Plate.Further, touch sensitive surface can cover display panel, when touch sensitive surface detects on it or after neighbouring touch operation,
Processor 508 is sent to determine the type of touch event, is followed by subsequent processing device 508 according to the type of touch event in display panel
It is upper that corresponding visual output is provided.Although in fig. 8, touch sensitive surface and display panel are realized as two independent components
Input and input function, but in some embodiments it is possible to it is touch sensitive surface and display panel is integrated and realize and input and defeated
Go out function.
Electronic equipment may also include at least one sensor 505, such as optical sensor, motion sensor and other sensings
Device.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel, and proximity sensor can close display surface when electronic equipment is moved in one's ear
Plate and/or backlight.As a kind of motion sensor, gravity accelerometer can detect in all directions (generally three axis)
The size of acceleration can detect that size and the direction of gravity when static, the application that can be used to identify mobile phone posture is (such as vertical and horizontal
Shield switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;As for electronics
The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor that equipment can also configure, it is no longer superfluous herein
It states.
Voicefrequency circuit 506 can provide the audio interface between user and electronic equipment by loud speaker, microphone.Audio-frequency electric
The audio data received can be converted into electric signal by road 506, be transferred to loud speaker, and it is defeated to be converted to voice signal by loud speaker
Go out;On the other hand, the voice signal of collection is converted to electric signal by microphone, and audio is converted to after being received by voicefrequency circuit 506
Data, then by audio data output processor 508 processing after, through radio circuit 501 to be sent to such as another electronic equipment, or
Person exports audio data to memory 502 to be further processed.Voicefrequency circuit 506 is also possible that earphone jack, to carry
For the communication of peripheral hardware earphone and electronic equipment.
Wireless Fidelity (WiFi) belongs to short range wireless transmission technology, and electronic equipment can be with by wireless fidelity module 507
Help user to send and receive e-mail, browse webpage and access streaming video etc., it has provided wireless broadband internet to the user
It accesses.Although Fig. 8 shows wireless fidelity module 507, but it is understood that, and it is not belonging to the necessary structure of electronic equipment
At, completely can as needed do not change invention essence range in and omit.
Processor 508 is the control centre of electronic equipment, utilizes each of various interfaces and the entire electronic equipment of connection
A part by running or execute the application program being stored in memory 502, and is called and is stored in memory 502
Data execute the various functions and processing data of electronic equipment, to carry out integral monitoring to electronic equipment.Optionally, it handles
Device 508 may include one or more processing cores;Preferably, processor 508 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 508.
Electronic equipment further includes the power supply 509 (such as battery) powered to all parts.Preferably, power supply can pass through electricity
Management system and processor 508 are logically contiguous, to realize management charging, electric discharge and power consumption by power-supply management system
The functions such as management.Power supply 509 can also include one or more direct current or AC power, recharging system, power supply event
Hinder the random components such as detection circuit, power supply changeover device or inverter, power supply status indicator.
Although being not shown in Fig. 8, electronic equipment can also include camera, bluetooth module etc., and details are not described herein.
When it is implemented, the above modules can be realized as independent entity, arbitrary combination can also be carried out, is made
It is realized for same or several entities, the specific implementation of the above modules can be found in the embodiment of the method for front, herein not
It repeats again.
It should be noted that one of ordinary skill in the art will appreciate that whole in the various methods of above-described embodiment or
Part steps are relevant hardware can be instructed to complete by program, which can be stored in computer-readable storage medium
It in matter, is such as stored in the memory of terminal, and is executed by least one processor in the terminal, can be wrapped in the process of implementation
Include the flow of the embodiment such as method for displaying image.Wherein, storage medium may include:Read-only memory (ROM, Read Only
Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
A kind of method for displaying image provided by the embodiments of the present application, device, storage medium and electronic equipment are carried out above
It being discussed in detail, each function module can be integrated in a processing chip, can also be that modules physically exist alone,
Can also two or more modules be integrated in a module.The form that hardware had both may be used in above-mentioned integrated module is real
It is existing, it can also be realized in the form of software function module.Used herein principle and implementation of the specific case to the application
Mode is expounded, the description of the example is only used to help understand the method for the present application and its core ideas;Meanwhile
For those skilled in the art, according to the thought of the application, change is had in specific embodiments and applications
Place, in conclusion the contents of this specification should not be construed as limiting the present application.
Claims (11)
1. a kind of method for displaying image, it is applied to electronic equipment, the electronic equipment has shell and is fixedly connected with the casing
Display is provided with touch controlled key on the shell of the electronic equipment, which is characterized in that include the following steps:
Display target image;
Obtain focal zone of the eye focus on the target image;
Detect the operation that user is directed to touch controlled key triggering;
In response to the operation, display is reduced or amplified to the focal zone of the target image.
2. method for displaying image according to claim 1, which is characterized in that the acquisition eye focus is in the target figure
As upper focal zone, including:
The eye image of user is obtained, and extracts the eyeball characteristic information in the eye image;
Focal position of the eye focus on the electronic equipment screen is determined according to the eyeball characteristic information;
According to focal position of the eye focus on the electronic equipment screen and target image, determine eye focus described
Focal zone on target image.
3. method for displaying image according to claim 2, which is characterized in that the eyeball characteristic information includes the pupil
Position in the human eye;
It is described that focal position of the eye focus on the electronic equipment screen is determined according to the eyeball characteristic information, including:
According to location determination eye focus focal position on the electronic equipment screen of the pupil in the human eye.
4. method for displaying image according to claim 1, which is characterized in that the detection user is directed to the touch controlled key
The operation of triggering includes:
Detection triggers the first operation of the touch controlled key generation according to first gesture and triggers the touch-control according to second gesture
The second operation that button generates.
5. method for displaying image according to claim 4, which is characterized in that it is described in response to the operation, to the mesh
The focal zone of logo image is reduced or is amplified display, including:
The target image is amplified according to the focal zone of first operation and the target image;
The target image is reduced according to the focal zone of second operation and the target image.
6. a kind of image display device, it is applied to electronic equipment, the electronic equipment has shell and is fixedly connected with the casing
Display is provided with touch controlled key on the shell of the electronic equipment, which is characterized in that including:Display module, acquisition module,
Detection module and control module;
The display module is used for display target image;
The acquisition module, for obtaining focal zone of the eye focus on the target image;
The detection module is directed to the operation of touch controlled key triggering for detecting user;
The control module, in response to the operation, the focal zone of the target image reduce or
Amplification display.
7. image display device according to claim 6, which is characterized in that the acquisition module includes:Acquisition submodule,
First determination sub-module and the second determination sub-module;
The acquisition submodule, the eye image for obtaining user, and extract the eyeball characteristic information in the eye image;
First determination sub-module, for determining eye focus in the electronic equipment screen according to the eyeball characteristic information
On focal position;
Second determination sub-module is used for the focal position on the electronic equipment screen and target according to eye focus
Image determines focal zone of the eye focus on the target image.
8. image display device according to claim 6, which is characterized in that
The detection module, specifically for detect according to first gesture trigger the first operation that the touch controlled key generates and according to
Second gesture triggers the second operation that the touch controlled key generates.
9. image display device according to claim 8, which is characterized in that the control module includes:Amplification module and
Reduce module;
The amplification module, for operating the focal zone with the target image to the target figure according to described first
As being amplified;
The diminution module, for operating the focal zone with the target image to the target figure according to described second
As being reduced.
10. a kind of storage medium, is stored thereon with computer program, which is characterized in that the computer program is held by processor
It is realized when row such as the step of any one of claim 1-5 the method.
11. a kind of electronic equipment, including:
Shell;
Display screen, setting is on the housing;
Sensor, setting is on the housing;
Processor, the processor are of coupled connections with the display and the sensor, which is characterized in that the display screen is used
In display target image, the sensor is used to detect the operation of user, and the processor is poly- for obtaining the eyes of user
Focal zone of the coke on the target image, and for according to the operation of the user to the focusing on the target image
Region carries out zooming in or out display.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810302121.XA CN108519834A (en) | 2018-04-04 | 2018-04-04 | Method for displaying image, device, storage medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810302121.XA CN108519834A (en) | 2018-04-04 | 2018-04-04 | Method for displaying image, device, storage medium and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108519834A true CN108519834A (en) | 2018-09-11 |
Family
ID=63432152
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810302121.XA Pending CN108519834A (en) | 2018-04-04 | 2018-04-04 | Method for displaying image, device, storage medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108519834A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109242778A (en) * | 2018-09-18 | 2019-01-18 | 北京旷视科技有限公司 | A kind of picture mark control method, device and its storage medium |
CN111221409A (en) * | 2019-11-12 | 2020-06-02 | 维沃移动通信有限公司 | Information display method, information display device, electronic equipment and storage medium |
CN111258825A (en) * | 2018-11-30 | 2020-06-09 | 上海海拉电子有限公司 | Device and method for arranging test points in circuit board |
CN111915637A (en) * | 2020-05-14 | 2020-11-10 | 五八有限公司 | Picture display method and device, electronic equipment and storage medium |
CN112817441A (en) * | 2021-01-14 | 2021-05-18 | 深圳卡多希科技有限公司 | Method and device for combining key and human eye identification |
CN114968060A (en) * | 2022-04-28 | 2022-08-30 | 北京小米移动软件有限公司 | Touch method and device, electronic equipment and storage medium |
CN115567770A (en) * | 2021-07-02 | 2023-01-03 | 北京小米移动软件有限公司 | Image scaling method and device, electronic equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1694045A (en) * | 2005-06-02 | 2005-11-09 | 北京中星微电子有限公司 | Non-contact type visual control operation system and method |
CN104145232A (en) * | 2012-01-04 | 2014-11-12 | 托比技术股份公司 | System for gaze interaction |
CN105278772A (en) * | 2014-07-25 | 2016-01-27 | 南京瀚宇彩欣科技有限责任公司 | Method for detecting finger input, outer touch cover and handheld electronic device |
CN107608556A (en) * | 2017-09-28 | 2018-01-19 | 厦门天马微电子有限公司 | A kind of display panel and display device |
CN107797664A (en) * | 2017-10-27 | 2018-03-13 | 广东欧珀移动通信有限公司 | Content display method, device and electronic installation |
-
2018
- 2018-04-04 CN CN201810302121.XA patent/CN108519834A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1694045A (en) * | 2005-06-02 | 2005-11-09 | 北京中星微电子有限公司 | Non-contact type visual control operation system and method |
CN104145232A (en) * | 2012-01-04 | 2014-11-12 | 托比技术股份公司 | System for gaze interaction |
CN105278772A (en) * | 2014-07-25 | 2016-01-27 | 南京瀚宇彩欣科技有限责任公司 | Method for detecting finger input, outer touch cover and handheld electronic device |
CN107608556A (en) * | 2017-09-28 | 2018-01-19 | 厦门天马微电子有限公司 | A kind of display panel and display device |
CN107797664A (en) * | 2017-10-27 | 2018-03-13 | 广东欧珀移动通信有限公司 | Content display method, device and electronic installation |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109242778A (en) * | 2018-09-18 | 2019-01-18 | 北京旷视科技有限公司 | A kind of picture mark control method, device and its storage medium |
CN111258825A (en) * | 2018-11-30 | 2020-06-09 | 上海海拉电子有限公司 | Device and method for arranging test points in circuit board |
CN111258825B (en) * | 2018-11-30 | 2023-11-14 | 上海海拉电子有限公司 | Device and method for arranging test points in circuit board |
CN111221409A (en) * | 2019-11-12 | 2020-06-02 | 维沃移动通信有限公司 | Information display method, information display device, electronic equipment and storage medium |
CN111915637A (en) * | 2020-05-14 | 2020-11-10 | 五八有限公司 | Picture display method and device, electronic equipment and storage medium |
CN111915637B (en) * | 2020-05-14 | 2024-03-12 | 五八有限公司 | Picture display method and device, electronic equipment and storage medium |
CN112817441A (en) * | 2021-01-14 | 2021-05-18 | 深圳卡多希科技有限公司 | Method and device for combining key and human eye identification |
CN115567770A (en) * | 2021-07-02 | 2023-01-03 | 北京小米移动软件有限公司 | Image scaling method and device, electronic equipment and storage medium |
CN114968060A (en) * | 2022-04-28 | 2022-08-30 | 北京小米移动软件有限公司 | Touch method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108519834A (en) | Method for displaying image, device, storage medium and electronic equipment | |
CN104967790B (en) | Method, photo taking, device and mobile terminal | |
CN109062467A (en) | Split screen application switching method, device, storage medium and electronic equipment | |
CN108549519A (en) | split screen processing method, device, storage medium and electronic equipment | |
CN108984095A (en) | gesture interaction method, device, storage medium and electronic equipment | |
CN107292235B (en) | fingerprint acquisition method and related product | |
CN108921941A (en) | Image processing method, device, storage medium and electronic equipment | |
CN106527949B (en) | A kind of unlocked by fingerprint method, apparatus and terminal | |
CN109086680A (en) | Image processing method, device, storage medium and electronic equipment | |
CN108704308A (en) | Control method, device, storage medium and the electronic equipment of shooting game | |
CN108984064A (en) | Multi-screen display method, device, storage medium and electronic equipment | |
CN109508399A (en) | A kind of facial expression image processing method, mobile terminal | |
CN109062464A (en) | touch operation method, device, storage medium and electronic equipment | |
CN107450841B (en) | Interactive object control method and device | |
CN109067981A (en) | Split screen application switching method, device, storage medium and electronic equipment | |
KR102680936B1 (en) | Object display methods and electronic devices | |
CN108958606A (en) | Multi-screen display method, device, storage medium and electronic equipment | |
CN103714161A (en) | Image thumbnail generation method and device and terminal | |
CN109062466A (en) | Split screen window adjusting method, device, storage medium and electronic equipment | |
CN107241552A (en) | A kind of image acquiring method, device, storage medium and terminal | |
CN108932093A (en) | Split screen application switching method, device, storage medium and electronic equipment | |
CN109062468A (en) | Multi-screen display method, device, storage medium and electronic equipment | |
CN108932094A (en) | Split screen application switching method, device, storage medium and electronic equipment | |
CN109871358A (en) | A kind of management method and terminal device | |
CN108958583A (en) | A kind of method for sorting and terminal device of icon |
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: 20180911 |