CN109240570A - A kind of page turning method, device and terminal - Google Patents
A kind of page turning method, device and terminal Download PDFInfo
- Publication number
- CN109240570A CN109240570A CN201810998338.9A CN201810998338A CN109240570A CN 109240570 A CN109240570 A CN 109240570A CN 201810998338 A CN201810998338 A CN 201810998338A CN 109240570 A CN109240570 A CN 109240570A
- Authority
- CN
- China
- Prior art keywords
- terminal
- user
- page
- face
- image data
- 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/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0483—Interaction with page-structured environments, e.g. book metaphor
-
- 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/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- 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
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
This application discloses a kind of page turning method, device and terminals.Page turning method includes: the face image data for obtaining user;The depth value information of pixel based on the face image data, determines the page-turning instruction of the reading documents of the terminal;Page turning is carried out to the reading documents according to the page-turning instruction.Based on the application, user can carry out page turning by reading documents of the face action to terminal, due to without manual operation, therefore in the case where both hands cannot be idle, it can also be normally carried out reading, for user, it is more convenient to read, to obtain better reading experience.
Description
Technical field
This application involves terminal applies field more particularly to a kind of page turning methods, device and terminal.
Background technique
It is a kind of most commonly seen reading method of user that using terminal, which read,.At present user by sliding type or
Touch controlled key mode carries out page turning to the reading documents of terminal.
Both above-mentioned modes need user to touch the specified functional area of terminal screen with hand, therefore to operation by human hand
Accuracy requirement it is higher, just can not be right when the both hands of user are difficult to free out so that read in scenes many practical
The reading documents of terminal carry out page turning, occur so as to cause the phenomenon that reading interruption.
For this problem, a kind of more convenient and fast page turning mode is currently needed.
Summary of the invention
The first purpose of the embodiment of the present application is to provide a kind of page turning method, device and terminal, for solving current user
It can not be freed out in both hands,.
In a first aspect, embodiments herein provides a kind of page turning method, it is applied to terminal, comprising:
Obtain the face image data of user;
The depth value information of pixel based on the face image data determines that the page turning of the reading documents of the terminal refers to
It enables;
Page turning is carried out to the reading documents according to the page-turning instruction.
Second aspect, embodiments herein provide a kind of terminal, comprising:
Module is obtained, for obtaining the face image data of user;
Determining module determines readding for the terminal for the depth value information of the pixel based on the face image data
Read the page-turning instruction of document;
Page module, for carrying out page turning to the reading documents according to the page-turning instruction.
The third aspect, embodiments herein provide a kind of terminal, comprising: memory, processor and are stored in described deposit
On reservoir and the computer program that can run on the processor, the computer program are realized when being executed by the processor
It is above-mentioned by page turning method provided by the embodiments of the present application the step of.
Fourth aspect, embodiments herein provide a kind of computer readable storage medium, the computer-readable storage
It is stored with computer program on medium, the computer program is realized when being executed by processor above-mentioned to be provided by the embodiment of the present application
Page turning method the step of.
The embodiment of the present application use at least one above-mentioned technical solution can reach it is following the utility model has the advantages that
In the application, user can carry out page turning by reading documents of the face action to terminal, due to without behaviour manually
Make, therefore in the case where both hands cannot be idle, reading can also be normally carried out, for user, it is more convenient to read, from
And obtain better reading experience.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present application, constitutes part of this application, this Shen
Illustrative embodiments and their description please are not constituted an undue limitation on the present application for explaining the application.In the accompanying drawings:
Fig. 1 is the flow diagram of page turning method provided by the embodiments of the present application;
Fig. 2 is the schematic diagram for the face image data that terminal obtains user in page turning method provided by the embodiments of the present application;
Fig. 3 is the logical construction schematic diagram of leaf turner provided by the embodiments of the present application;
Fig. 4 is the hardware structural diagram of leaf turner provided by the embodiments of the present application.
Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with the application specific embodiment and
Technical scheme is clearly and completely described in corresponding attached drawing.Obviously, described embodiment is only the application one
Section Example, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not doing
Every other embodiment obtained under the premise of creative work out, shall fall in the protection scope of this application.
As previously mentioned, needing when user's using terminal is read at present through sliding type or touch controlled key mode
Page turning is carried out to reading documents.Both modes need user to touch the specified functional area of terminal screen with hand, therefore right
Accuracy requirement is higher, then can be because that can not lead to reading interruption due to page turning when user is difficult to idle both hands out.It is asked for this
Topic, the application provide a solution.
On the one hand, embodiments herein provides a kind of page turning method applied to terminal, as shown in Figure 1, comprising:
Step 102, the face image data of user is obtained;
For step 102:
Refering to what is shown in Fig. 2, the face image data of user can be obtained by the camera of terminal.
Step 104, the depth value information of the pixel based on the face image data, determines the reading documents of the terminal
Page-turning instruction;
For step 104:
User can by face action, come change face image data pixel depth value information, thus to terminal
Reading documents page-turning instruction.
For example, the depth value of the pixel of face image data can become when the face of user is relative to terminal rotation
Change, can be determined and page-turning instruction that user matches relative to terminal rotation direction based on the depth value than changing.
Step 106, page turning is carried out according to reading documents of the page-turning instruction to terminal.
For step 106:
Page turning specifically is carried out to reading documents according to page-turning instruction corresponding page turning direction.For example, the page turning of page-turning instruction
It to the left, then presses to reading documents page turning to the left in direction;Similarly, for example, page-turning instruction be page turning direction to the right, then to read text
Shelves page turning to the right.
In the present embodiment, user can be by face action, to change the depth value information of face image data, thus right
The reading documents of terminal carry out page turning,, can also be normal in the case where both hands cannot be idle due to being not necessarily to manual operation
It is read, for user, it is more convenient to read, to obtain better reading experience.
It describes in detail below to the page turning method of the present embodiment.
Specifically, the present embodiment is when executing step 102, comprising:
Step 1021, it is determined whether enter reading model;
It, can first gravity sensor or gyro sensors based on terminal when terminal shows reading documents in this step
Device, determines whether terminal moves;It indicates the currently used mobile phone of user if mobile, therefore is determining that terminal moves
When, the camera based on terminal detects the face of user;If detecting the face of user, then it represents that the positive brose and reading text of user
Shelves determine and enter reading model;Otherwise, it determines not entering reading model.When determination does not enter reading model, terminal is deactivated
Camera to reduce energy consumption, and locks the current page of the reading documents of terminal, prevents reading documents from not having in user
Page turning when reading.
Step 1022, determining that the camera based on terminal obtains the face-image number of user when entering reading model
According to.
The raw image data that this step septum reset image data may is that camera acquisition user's face obtains is gone
It makes an uproar, the data after the existing image optimization technical treatment such as signal enhancing.
As can be seen that the page turning method of the present embodiment, when entering reading model, the camera for enabling terminal, which obtains, to be used
The face action information at family, so that the power consumption that terminal carries into execution a plan is reduced, to improve the cruising ability of terminal.
After determining the face image data of user, the face action of user can be determined by face image data
Information.
It describes in detail below to the method for determining page-turning instruction,
Specifically, the depth value variation of pixel of the present embodiment based on face image data, to determine that the face of user turns
Dynamic direction, and then the page turning direction that the determining facial rotation direction with user matches.
When the face rotation of user, the depth value of the pixel in rotation direction side of user's face image be will increase,
It therefore can be based on the depth value of the pixel of family face-image, to determine the facial rotation direction of user.
For example, if the depth value of the pixel of the left face of face image data instruction user increases, it is determined that the face of user
Rotation direction to the left, and then determines that the page-turning instruction of the reading documents of terminal is page turning to the left;Similarly, if face image data refers to
Show that the depth value of the pixel of the right face of user increases, it is determined that the facial rotation direction of user to the right, and then determines readding for terminal
The page-turning instruction for reading document is page turning to the right;.
Similarly, if the depth value of the pixel of the upper face of face image data instruction user increases, it is determined that user's
Facial rotation direction is upward, and then determines that the page-turning instruction of the reading documents of terminal is to page up;If face image data refers to
Show that the depth value of the pixel of the lower half of face of user increases, it is determined that the facial rotation direction of user is downward, and then determines terminal
Reading documents page-turning instruction be downward page turning.
In the specific application process, user can deliberately change the depth of the pixel of its face-image by two ways
Value, to carry out page turning to reading documents.
One is users oneself to rotate face, to carry out page turning to reading documents;
Another kind is rotation terminal, rotates the facial relative termination of user, and which similarly can be to readding
It reads document and carries out page turning.
Obviously, both modes all do not need user and remove the functional area of touching terminal screen with hand, therefore operate
Than it is current slide page mode and touch controlled key page turning mode it is more convenient.
For example, under normal circumstances, a hand is needed to be responsible for for the scene that user records the reading documents of terminal
Minute book is buttressed, another hand is responsible for holding pen.In the prior art, it when user needs to carry out page turning to reading documents, needs to take out
The functional area on a hand touch control terminal screen, this process will disperse the attention of user out, and record is caused to interrupt.And it adopts
With the page turning method of the present embodiment, user only need with one lower face of rotation can page turning, do not need user's interruption logging.
Alternatively, taking the scene that public transport is read for subscriber station, under normal circumstances, need a hand negative
Duty holds handrail to guarantee that balance, another hand are responsible for holding terminal.For large-size screen monitors terminal, user is difficult to use to hold end
The hand at end goes the page-turning function region on contact screen, to go to enough touching page-turning function regions to be easy to allow terminal from hand with finger firmly
It falls off.The method of the present embodiment is used at this time, it is only necessary to which rotating terminal can be completed page turning.And this rotation terminal carries out page turning
The principle of mode is not detected using traditional gyro sensor based on determined by the change in depth of user's face image
Terminal rotating just carries out page turning to reading documents, therefore when being executed, when only user's face is read towards terminal screen
Terminal is rotated, just will do it page turning, this page turning mode accidentally turns over that rate is lower, and practicability is very high.
In addition, in order to which further decrease reading documents accidentally turns over rate, it can be in the depth for the pixel for determining user's face
After value increases lasting certain time length, the step of determining the facial rotation direction of user is being executed.
By taking the left and right face of user as an example.
When the depth value increase of the pixel of the left face of face image data instruction user and the increase duration reaches first
Preset time threshold, it is determined that the facial rotation direction of user to the left, and then determines that the page-turning instruction of reading documents of terminal is
Page turning to the left;
Similarly, when the depth value of the pixel of the right face of face image data instruction user increases and the increase duration reaches
Second preset time threshold, it is determined that the facial rotation direction of user to the right, and then determines that the page turning of the reading documents of terminal refers to
Enabling is page turning to the right.
In practical applications, above-mentioned first preset time threshold and the second preset time can carry out flexible according to use demand
Setting.It is found through practice, the first preset time threshold and the second preset time were advisable with 2 seconds, i.e. user's face rotation is for 2 seconds
Or rotation mobile phone it is for 2 seconds after, activate determine user facial rotation direction the step of.
It describes in detail below with reference to page turning method of the implementation to the present embodiment.
Implementation one
Step A1, first terminal open reading documents, while opening with camera, the face of trial identification user.
Step A2, if camera recognizes the face of user, judge user before terminal, and then determine user
Reading documents are read, closed into reading model and execute step A3.If the face that user is not detected in camera not
Into reading model, by the page locking of reading documents, can not automatic page turning, until after detecting the face of user, then execute
Step A3.
Step A3, user shake mobile phone or rotary head when reading, page turning can be realized.Detailed process are as follows: terminal
Rotation to the left or to the right, camera can detect that the depth value of the large area pixel of the left or right side of face increases, work as depth
Value increases when continuing preset time threshold, and system can recognize the page-turning instruction of user, carry out equidirectional page turning, when lasting
Between purpose be to prevent user from missing page turning when shaking terminal.
Implementation two
Step B1, judge whether it is reading model by gravity sensor.Preceding step is the same as example 1.Difference
It is after opening document, not open camera, but data got first by weight sensor judge whether there is movement.
If so, open again depth camera identification face be judged as if unidentified arrive into reading model, will not automatic page turning, directly
Stop to mobile, then carries out the judgement of next round;It is reading model if recognizing face, into next step.This process can be
Entire reading process persistently carries out, and avoids accidentally page turning.If user, by cell phone, can open turning over for camera using face
Page function
Step B2, double swerve opens depth camera and persistently obtains gravity sensor data, judges whether to move, if
It detecting movement, opens camera, identification face illustrates that user is not reading, then closes camera if not recognizing,
Page locking avoids accidentally page turning (camera will not all be opened during this).Until the gravity sensor data stabilization of acquisition
Get off, then starts the detection of a new round;If detecting face, left face and the right increased number of pixels of face depth value are detected, if
The pixel that left face depth value reaches preset standard is more, then page turning to the left, conversely, page turning to the right.
It is the example introduction to the page turning method of the present embodiment above, is merely to illustrate the original of the page turning method of the present embodiment
Reason, should not limit the protection scope of the present embodiment.Without departing from the principles of the present invention, it can also make several
Improvements and modifications, these improvements and modifications also should be regarded as the protection scope of the application.For example, user's face rotates in the present embodiment
Direction is not limited to the left or to the right, the page turning direction supported depending on terminal reading document.In addition, the face of the present embodiment
Action message can also be the pupil moving direction of user, and user passes through mobile eyes, can carry out page turning to reading documents.By
Identical in principle, no longer citing repeats herein.
Accordingly with above-mentioned page turning method, embodiments herein also provides a kind of leaf turner, as shown in Figure 3, comprising:
Module 31 is obtained, for obtaining the face image data of user;
Determining module 32 determines the reading documents of terminal for the depth value information of the pixel based on face image data
Page-turning instruction;
Page module 33, for for carrying out page turning to reading documents according to page-turning instruction.
In the present embodiment, user can be by face action, to change the depth value information of face image data, thus right
The reading documents of terminal carry out page turning,, can also be normal in the case where both hands cannot be idle due to being not necessarily to manual operation
It is read, for user, it is more convenient to read, to obtain better reading experience.
Wherein it is determined that unit is specifically used for:
If the face image data indicate the pixel of the left face of the user depth value increase or the face-image
Data indicate that the depth value of the pixel of the left face of the user increases and the increase duration reaches the first preset time threshold, then
The page-turning instruction for determining the reading documents of the terminal is page turning to the left;
If the face image data indicate the pixel of the right face of the user depth value increase or the face-image
Data indicate that the depth value of the pixel of the right face of the user increases and the increase duration reaches the second preset time threshold, then
The page-turning instruction for determining the reading documents of the terminal is page turning to the right.
Wherein, acquired unit is specifically used for:
Determine whether to enter reading model, comprising: when the terminal shows reading documents, the gravity based on the terminal
Sensor or gyro sensor, determine whether terminal moves;When determining that the terminal occurs mobile, it is based on the end
The camera at end identifies the face of the user;If recognizing the face of the user, it is determined that enter reading model;Otherwise,
Determination does not enter reading model.
When determination enters reading model, based on the camera of the terminal, the face image data of user is obtained.
Wherein, the leaf turner of the present embodiment further include:
Locking module, for determine do not enter reading model when, to the current pages of the reading documents of the terminal into
Row locking.
Obviously, the leaf turner of the present embodiment is the executing subject of above-mentioned page turning method provided by the present application, therefore this is turned over
Technical effect and step achieved by page method, the leaf turner of the present embodiment equally can be realized.
In addition, another embodiment of the present invention also provides a kind of terminal, as shown in Figure 4, comprising:
At least one processor 401, memory 402, at least one network interface 404 and user interface 403.Terminal 400
In various components be coupled by bus system 405.It is understood that bus system 405 is for realizing between these components
Connection communication.Bus system 405 further includes that power bus, control bus and status signal are total in addition to including data/address bus
Line.But for the sake of clear explanation, various buses are all designated as bus system 405 in Fig. 4.
Wherein, user interface 403 may include display, keyboard or pointing device (for example, mouse, trace ball
(trackball), touch-sensitive plate or touch screen etc..
It is appreciated that the memory 402 in the embodiment of the present invention can be volatile memory or nonvolatile memory,
It or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (ROM,
Read-Only Memory), programmable read only memory (PROM, Programmable), Erasable Programmable Read Only Memory EPROM
(EPROM, Erasable PROM), electrically erasable programmable read-only memory (EEPROM, Electrically EPROM) dodge
It deposits.Volatile memory can be random access memory (RAM, Random Access Memory), be used as external high speed
Caching.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random access memory
(SRAM, Static RAM), dynamic random access memory (DRAM, Dynamic RAM), Synchronous Dynamic Random Access Memory
(SDRAM, Synchronous DRAM), double data speed synchronous dynamic RAM (DDRSDRAM, Double
Data Rate SDRAM), enhanced Synchronous Dynamic Random Access Memory (ESDRAM, Enhanced SDRAM), synchronized links
Dynamic random access memory (SLDRAM, Synchlink DRAM) and direct rambus random access memory (DRRAM,
Direct Rambus RAM).The memory 402 of the system and method for description of the embodiment of the present invention is intended to include but is not limited to this
A little and any other suitable type memory.
In some embodiments, memory 402 stores following element, executable modules or data structures, or
Their subset of person or their superset: operating system 4021 and application program 4022.
Wherein, operating system 4021 include various system programs, such as ccf layer, core library layer, driving layer etc., are used for
Realize various basic businesses and the hardware based task of processing.Application program 4022 includes various application programs, such as media
Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention
The program of method may be embodied in application program 4022.
In embodiments of the present invention, terminal 400 further include: storage 402 and can be run on processor 401 on a memory
Computer program, computer program by processor 401 execute when realize following step:
Obtain the face action information of user;
Face action information based on the user, determines the page-turning instruction of the reading documents of the terminal;
Page turning is carried out to the reading documents according to the page-turning instruction.
Optionally, it is real when the computer program of the present embodiment executes the face action information for obtaining user by processor 401
Now following step:
Obtain the face image data of user;
The depth value information of pixel based on the face image data determines that the page turning of the reading documents of the terminal refers to
It enables;
Page turning is carried out to the reading documents according to the page-turning instruction.
Optionally, the computer program of the present embodiment executes the pixel based on the face image data by processor 401
Depth value information, when determining the page-turning instruction of the reading documents of the terminal, realize following step:
If the face image data indicate the pixel of the left face of the user depth value increase or the face-image
Data indicate that the depth value of the pixel of the left face of the user increases and the increase duration reaches the first preset time threshold, then
The page-turning instruction for determining the reading documents of the terminal is page turning to the left;
If the face image data indicate the pixel of the right face of the user depth value increase or the face-image
Data indicate that the depth value of the pixel of the right face of the user increases and the increase duration reaches the second preset time threshold, then
The page-turning instruction for determining the reading documents of the terminal is page turning to the right.
Optionally, it is real when the computer program of the present embodiment executes the face image data for obtaining user by processor 401
Now following step:
Determine whether to enter reading model;
When determination enters reading model, based on the camera of the terminal, the face image data of user is obtained.
Optionally, it when the computer program of the present embodiment is determined whether to enter reading model by the execution of processor 401, realizes
Following step:
When the terminal shows reading documents, gravity sensor or gyro sensor based on the terminal are determined
Whether terminal moves;
When determining that the terminal occurs mobile, based on the camera of the terminal, the face of the user is identified;
If recognizing the face of the user, it is determined that enter reading model;Otherwise, it determines not entering reading model.
When determination does not enter reading model, the current page of the reading documents of the terminal is locked.
Optionally, following step is also realized when the computer program of the present embodiment is executed by processor 401:
When determination does not enter reading model, the current page of the reading documents of the terminal is locked.
The embodiment for the page turning method being disclosed above can be applied in processor 401, or be realized by processor 401.
Processor 401 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each
Step can be completed by the integrated logic circuit of the hardware in processor 401 or the instruction of software form.Above-mentioned processing
Device 401 can be general processor, digital signal processor (DSP, Digital Signal Processor), dedicated integrated electricity
Road (ASIC, Application Specific Integrated Circuit), ready-made programmable gate array (FPGA, Field
Programmable Gate Array) either other programmable logic device, discrete gate or transistor logic, discrete
Hardware component.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.General procedure
Device can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with disclosed in the embodiment of the present invention
Method the step of can be embodied directly in hardware decoding processor and execute completion, or with hardware in decoding processor and soft
Part block combiner executes completion.Software module can be located at random access memory, and flash memory, read-only memory may be programmed read-only storage
In the computer readable storage medium of this fields such as device or electrically erasable programmable memory, register maturation.The computer
Readable storage medium storing program for executing is located at memory 402, and processor 401 reads the information in memory 402, completes above-mentioned side in conjunction with its hardware
The step of method.
It is understood that the embodiment of the present invention description these embodiments can with hardware, software, firmware, middleware,
Microcode or combinations thereof is realized.For hardware realization, processing unit be may be implemented in one or more specific integrated circuits, number
Signal processor, digital signal processing appts (DSPD, DSP Device), programmable logic device (PLD, Programmable
Logic Device), field programmable gate array (FPGA, Field-Programmable Gate Array), general procedure
In device, controller, microcontroller, microprocessor, other electronic units for executing herein described function or combinations thereof.
For software implementations, can by execute the embodiment of the present invention described in function module (such as process, function etc.) come
Realize technology described in the embodiment of the present invention.Software code is storable in memory and is executed by processor.Memory can
With portion realizes in the processor or outside the processor.
In addition, another embodiment of the present invention also provides a kind of computer readable storage medium, the computer-readable storage
Computer program is stored on medium, the computer program realizes following steps when being executed by processor:
Obtain the face image data of user;
The depth value information of pixel based on the face image data determines that the page turning of the reading documents of the terminal refers to
It enables;
Page turning is carried out to the reading documents according to the page-turning instruction.
Optionally, the computer program of the present embodiment is executed by processor the depth of the pixel based on the face image data
Angle value information when determining the page-turning instruction of the reading documents of the terminal, realizes following step:
If the face image data indicate the pixel of the left face of the user depth value increase or the face-image
Data indicate that the depth value of the pixel of the left face of the user increases and the increase duration reaches the first preset time threshold, then
The page-turning instruction for determining the reading documents of the terminal is page turning to the left;
If the face image data indicate the pixel of the right face of the user depth value increase or the face-image
Data indicate that the depth value of the pixel of the right face of the user increases and the increase duration reaches the second preset time threshold, then
The page-turning instruction for determining the reading documents of the terminal is page turning to the right.
Optionally, it when the computer program of the present embodiment is executed by processor the face image data for obtaining user, realizes
Following step:
Determine whether to enter reading model;
When determination enters reading model, based on the camera of the terminal, the face image data of user is obtained.
Optionally, the computer program of the present embodiment be executed by processor determine whether enter reading model when, realize such as
Under step:
When the terminal shows reading documents, gravity sensor or gyro sensor based on the terminal are determined
Whether terminal moves;
When determining that the terminal occurs mobile, based on the camera of the terminal, the face of the user is identified;
If recognizing the face of the user, it is determined that enter reading model;Otherwise, it determines not entering reading model.
When determination does not enter reading model, the current page of the reading documents of the terminal is locked.
Optionally, following step is also realized when the computer program of the present embodiment is executed by processor:
When determination does not enter reading model, the current page of the reading documents of the terminal is locked.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality
For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method
Part explanation.
The above description is only an example of the present application, is not intended to limit this application.For those skilled in the art
For, various changes and changes are possible in this application.All any modifications made within the spirit and principles of the present application are equal
Replacement, improvement etc., should be included within the scope of the claims of this application.
Claims (10)
1. a kind of page turning method is applied to terminal characterized by comprising
Obtain the face image data of user;
The depth value information of pixel based on the face image data, determines the page-turning instruction of the reading documents of the terminal;
Page turning is carried out to the reading documents according to the page-turning instruction.
2. page turning method according to claim 1, which is characterized in that
The depth value information of pixel based on the face image data, determines the page-turning instruction of the reading documents of the terminal,
Include:
If the face image data indicates the depth value increase or the face image data of the pixel of the left face of the user
Indicate that the depth value of the pixel of the left face of the user increases and the increase duration reaches the first preset time threshold, it is determined that
The page-turning instruction of the reading documents of the terminal is page turning to the left;
If the face image data indicates the depth value increase or the face image data of the pixel of the right face of the user
Indicate that the depth value of the pixel of the right face of the user increases and the increase duration reaches the second preset time threshold, it is determined that
The page-turning instruction of the reading documents of the terminal is page turning to the right.
3. page turning method according to claim 1, which is characterized in that
Obtain the face image data of user, comprising:
Determine whether to enter reading model;
When determination enters reading model, based on the camera of the terminal, the face image data of user is obtained.
4. page turning method according to claim 1, which is characterized in that
Determine whether to enter reading model, comprising:
When the terminal shows reading documents, gravity sensor or gyro sensor based on the terminal determine terminal
Whether move;
When determining that the terminal occurs mobile, based on the camera of the terminal, the face of the user is identified;
If recognizing the face of the user, it is determined that enter reading model;Otherwise, it determines not entering reading model.
5. page turning method according to claim 4, which is characterized in that further include:
When determination does not enter reading model, the current page of the reading documents of the terminal is locked.
6. a kind of leaf turner is applied to terminal characterized by comprising
Module is obtained, for obtaining the face image data of user;
Determining module determines the reading text of the terminal for the depth value information of the pixel based on the face image data
The page-turning instruction of shelves;
Page module, for carrying out page turning to the reading documents according to the page-turning instruction.
7. leaf turner according to claim 6, which is characterized in that
The determination unit is specifically used for:
If the face image data indicates the depth value increase or the face image data of the pixel of the left face of the user
Indicate that the depth value of the pixel of the left face of the user increases and the increase duration reaches the first preset time threshold, it is determined that
The page-turning instruction of the reading documents of the terminal is page turning to the left;
If the face image data indicates the depth value increase or the face image data of the pixel of the right face of the user
Indicate that the depth value of the pixel of the right face of the user increases and the increase duration reaches the second preset time threshold, it is determined that
The page-turning instruction of the reading documents of the terminal is page turning to the right.
8. leaf turner according to claim 7, which is characterized in that
The acquiring unit is specifically used for:
Determine whether to enter reading model;
When determination enters reading model, based on the camera of the terminal, the face image data of user is obtained.
9. leaf turner according to claim 8, which is characterized in that
The acquiring unit is specifically used for:
When the terminal shows reading documents, gravity sensor or gyro sensor based on the terminal determine terminal
Whether move;
When determining that the terminal occurs mobile, based on the camera of the terminal, the face of the user is identified;
If recognizing the face of the user, it is determined that enter reading model;Otherwise, it determines not entering reading model.
10. a kind of terminal characterized by comprising memory, processor and be stored on the memory and in the processing
The computer program run on device is realized when the computer program is executed by the processor as any in claim 1 to 5
The step of item page turning method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810998338.9A CN109240570A (en) | 2018-08-29 | 2018-08-29 | A kind of page turning method, device and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810998338.9A CN109240570A (en) | 2018-08-29 | 2018-08-29 | A kind of page turning method, device and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109240570A true CN109240570A (en) | 2019-01-18 |
Family
ID=65068051
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810998338.9A Pending CN109240570A (en) | 2018-08-29 | 2018-08-29 | A kind of page turning method, device and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109240570A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103365417A (en) * | 2013-06-20 | 2013-10-23 | 天津市莱科信息技术有限公司 | Mobile terminal and electronic book page turning method based on same |
US20140101611A1 (en) * | 2012-10-08 | 2014-04-10 | Vringo Lab, Inc. | Mobile Device And Method For Using The Mobile Device |
CN104866082A (en) * | 2014-02-25 | 2015-08-26 | 北京三星通信技术研究有限公司 | User behavior based reading method and device |
CN105677174A (en) * | 2015-12-30 | 2016-06-15 | 宇龙计算机通信科技(深圳)有限公司 | Terminal reading mode control method and device, and terminal |
CN106648042A (en) * | 2015-11-04 | 2017-05-10 | 重庆邮电大学 | Identification control method and apparatus |
CN108241434A (en) * | 2018-01-03 | 2018-07-03 | 广东欧珀移动通信有限公司 | Man-machine interaction method, device, medium and mobile terminal based on depth of view information |
-
2018
- 2018-08-29 CN CN201810998338.9A patent/CN109240570A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140101611A1 (en) * | 2012-10-08 | 2014-04-10 | Vringo Lab, Inc. | Mobile Device And Method For Using The Mobile Device |
CN103365417A (en) * | 2013-06-20 | 2013-10-23 | 天津市莱科信息技术有限公司 | Mobile terminal and electronic book page turning method based on same |
CN104866082A (en) * | 2014-02-25 | 2015-08-26 | 北京三星通信技术研究有限公司 | User behavior based reading method and device |
CN106648042A (en) * | 2015-11-04 | 2017-05-10 | 重庆邮电大学 | Identification control method and apparatus |
CN105677174A (en) * | 2015-12-30 | 2016-06-15 | 宇龙计算机通信科技(深圳)有限公司 | Terminal reading mode control method and device, and terminal |
CN108241434A (en) * | 2018-01-03 | 2018-07-03 | 广东欧珀移动通信有限公司 | Man-machine interaction method, device, medium and mobile terminal based on depth of view information |
Non-Patent Citations (1)
Title |
---|
数字通讯: "摩托罗拉W7 3G乐逍"摇"", 《数字通讯 下半月》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8924858B2 (en) | Touch-based system for transferring data | |
CN103488337B (en) | A kind of method of adjusting sensitivity of touch screen in pad pasting situation | |
US20200210059A1 (en) | Touch Screen Track Recognition Method And Apparatus | |
CN109976506A (en) | Awakening method, storage medium and the robot of a kind of electronic equipment | |
CN103488756A (en) | Picture classification method and terminal | |
TW201135736A (en) | Methods for calculating compensating voltage and adjusting threshold voltage and memory apparatus and controller | |
CN103076960A (en) | Method for controlling screen displaying direction and terminal thereof | |
US20140198032A1 (en) | Method and apparatus for displaying screen with eye tracking in portable terminal | |
CN107358111A (en) | A kind of method for secret protection and mobile terminal | |
CN103116400A (en) | Screen display state control method and electronic device | |
WO2019184140A1 (en) | Vr-based application program opening method, electronic apparatus, device and storage medium | |
CN108196722A (en) | A kind of electronic equipment and its touch control method, computer readable storage medium | |
CN105893185A (en) | Data backup method and device | |
CN103235701A (en) | Mobile-terminal-based picture browsing method and device | |
CN104809402A (en) | Fuzzy display method for information and terminal | |
CN102932596A (en) | Photographing method and device and mobile terminal | |
CN111970753A (en) | Intelligent terminal screen dormancy control method, storage medium, processor and intelligent terminal | |
CN103869963A (en) | Screen regulation method, device and user terminal | |
CN107679381B (en) | A kind of notification information processing method and mobile terminal | |
CN108008804A (en) | The screen control method and device of smart machine | |
CN105491282A (en) | Shooting control method in black screen state and mobile terminal | |
CN107451487A (en) | A kind of processing method of private information, device and mobile terminal | |
CN109240570A (en) | A kind of page turning method, device and terminal | |
CN109165619A (en) | A kind of processing method of image, device and electronic equipment | |
CN104035608A (en) | Touch panel sampling frequency adjusting device and method |
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: 20190118 |