CN105159451B - The page turning method and device of a kind of digital reading - Google Patents
The page turning method and device of a kind of digital reading Download PDFInfo
- Publication number
- CN105159451B CN105159451B CN201510530316.6A CN201510530316A CN105159451B CN 105159451 B CN105159451 B CN 105159451B CN 201510530316 A CN201510530316 A CN 201510530316A CN 105159451 B CN105159451 B CN 105159451B
- Authority
- CN
- China
- Prior art keywords
- face
- real
- page turning
- default
- swing
- 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.)
- Active
Links
Landscapes
- Image Analysis (AREA)
- Image Input (AREA)
Abstract
This application discloses the page turning method and device of a kind of digital reading, wherein method includes:Utilize the dynamic image of default light sensation equipment, in real time acquisition user face;When often collecting dynamic image described in a frame, according to current face location reference frame, current face's real-time location coordinates information is determined;And the face's real-time location coordinates information determined according to this, judge the direction whether presently described user face is swung and swung;When judging to occur the swing, according to the direction of swing, according to default swaying direction and the mapping relations in page turning direction, page turning is carried out to the electronic document that the user currently reads.The present invention can realize the automatic page turning of digital reading.
Description
Technical field
The present invention relates to mobile communication technology, more particularly to the page turning method and device of a kind of digital reading.
Background technology
Digital reading refers to the digitlization read, mainly comprising two layers of meaning:As soon as the digitlization of reading object,
Be read content presented in a manner of digitized, as e-book, the network novel, electronic map, digital photograph, blog,
Webpage etc.;Second is that the digitlization of reading method, the carrier exactly read, terminal are not the paper of plane, but shown with screen
The electronic instrument shown, such as PC computers, PDA, MP3, MP4, laptop, mobile phone, reader.With traditional paper publication
Object is compared, digitalized electron publication have many advantages, such as amount of storage is big, retrieval is convenient, convenient for preserving, it is of low cost.So number
Wordization reading is increasingly subject to the welcome of various countries young man and pursues.
At present, used page turning method is typically to be led to by user using equipment such as button, touch screens during digital reading
Know that reader carries out page turning.The page turning method depends on use of the user to button or touch screen, can thus limit and set significantly
The distance between standby and user, when distance be more than user can with contact arrangement apart from when, will influence user carry out it is smooth from
So read.
The content of the invention
In view of this, it is a primary object of the present invention to provide a kind of method and dress for realizing digital reading automatic page turning
It puts, can realize the automatic page turning of digital reading.
In order to achieve the above object, technical solution proposed by the present invention is:
A kind of page turning method of digital reading, including:
Utilize the dynamic image of default light sensation equipment, in real time acquisition user face;
When often collecting dynamic image described in a frame, according to current face location reference frame, determine currently
Face's real-time location coordinates information;And the face's real-time location coordinates information determined according to this, judge presently described
The direction whether user face is swung and swung;When judging to occur the swing, according to the direction of swing, according to
Default swaying direction and the mapping relations in page turning direction carry out page turning to the electronic document that the user currently reads.
A kind of leaf turner of digital reading, including:
Image acquisition units for utilizing default light sensation equipment, gather the dynamic image of user face in real time;
Page turning control unit, for when often collecting dynamic image described in a frame, being referred to according to current face location
Coordinate system determines current face's real-time location coordinates information;And the face's real-time location coordinates determined according to this
Information judges the direction whether presently described user face is swung and swung;When judging to occur the swing, root
According to the direction of swing, according to default swaying direction and the mapping relations in page turning direction, the electronics currently read to the user
Document carries out page turning.
In conclusion the page turning method and device of digital reading proposed by the present invention, by the dynamic for gathering face in real time
Image based on the variation of location of pixels in facial image, is identified the swing behavior of face, and face occurs identifying
Page turning of the triggering to electronic document during swing so as to realize the automatic page turning to electronic document, carries out smooth convenient for user
Naturally read.
Description of the drawings
Fig. 1 is the method flow schematic diagram of the embodiment of the present invention one;
Fig. 2 is the device flow diagram of the embodiment of the present invention one.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, it is right below in conjunction with the accompanying drawings and the specific embodiments
The present invention is described in further detail.
The present invention core concept be:Feel that technology carries out real-time tracing to the face of user using body-sensing, and according to people
The recognition result of face swaying direction triggers the digitized document read to it and carries out page turning.In this way, it can realize the automatic of page turning
Change, break away from the influence to user's reading fluency caused by the use to button or touch screen.
Fig. 1 is the flow diagram of the embodiment of the present invention one, as shown in Figure 1, the embodiment mainly includes:
Step 101, the dynamic image using default light sensation equipment, in real time acquisition user face.
This step is right so as to the variation based on location of pixels in facial image for gathering the dynamic image of face in real time
The swing behavior of face is identified.
Here, specific light sensation equipment can be the equipment such as camera, but not limited to this, as long as the acquisition of image can be carried out
.
Step 102, when often collecting dynamic image described in a frame, according to current face location reference frame, really
Face's real-time location coordinates information before settled;And the face's real-time location coordinates information determined according to this, judge
The direction whether presently described user face is swung and swung;When judging to occur the swing, according to swing
Direction according to default swaying direction and the mapping relations in page turning direction, carries out the electronic document that the user currently reads
Page turning.
This step for each frame dynamic image that basis collects, judges whether user occurs yaw behavior, if
It is, then according to swaying direction, to perform the page turning to user institute read electronic documents.
Specifically, following methods may be employed to determine current face's real-time location coordinates information:
A1, when the light sensation equipment collects dynamic image described in a frame, determine that each pixel exists in the frame dynamic image
Coordinate information in current face location reference frame, the face location reference frame can with the light sensation equipment
Scope is regarded as coordinate plane.
A2, using the coordinate information set for each pixel determined as face's real-time location coordinates information.
Preferably, in order to improve the accuracy that Activity recognition is swung to user face, in definite user face real time position
During coordinate information, the filtering of background pixel is carried out to the pixel collected, specifically, following step realization may be employed:
B1, when the light sensation equipment collects dynamic image described in a frame, determine that each pixel exists in the frame dynamic image
The coordinate information that current face location reference coordinate is fastened, the face location reference frame can with the light sensation equipment
Scope is regarded as coordinate plane.
B2, from the coordinate information for each pixel currently determined, delete the background picture in addition to the user face
The coordinate information of element, using the coordinate information set of residual pixel as face's real-time location coordinates information.
It is preferred that in order to shift to an earlier date the accuracy that face swings identification, the origin of the face location reference frame can be with
For the center of the visual range of the light sensation equipment.
It is preferred that following methods dynamic setting face location reference frame may be employed:
X1, when each default coordinate system sets the cycle to reach, face's real-time location coordinates for being obtained from the last time
In information, pixel Ymin and the y value of pixel Xmax, y value minimum of pixel Xmin, x value maximum of x values minimum is determined
Maximum pixel Ymax.
X2, using the crosspoint of the line of the Xmin and Xmax and the line of Ymin and Ymax as the face of current setting
The origin of reference by location coordinate system, and using the line of the Xmin and Xmax as x-axis, using the line of the Ymin and Ymax as y
Axis.
In practical applications, the coordinate system sets the cycle that can according to actual needs be set by those skilled in the art
It puts, it is preferred that it can be 10 seconds that the coordinate system, which sets the duration in cycle,.
The method of above-mentioned setting face location reference frame, by periodically according to the newest real-time position of obtained face
Coordinate information is put, to determine new face location reference frame, in this way, the accurate of face location reference frame can be improved
Property, avoid user location adjustment and caused by face swing erroneous judgement.
The method of above-mentioned dynamic setting face location reference frame is only an example, in practical applications, can be utilized
All face images are obtained to determine face location reference frame, to further improve face location in a period of time recently
The accuracy of reference frame.
It is preferred that following methods, which may be employed, judges the side whether presently described user face is swung and swung
To:
Work as NNegative x, in real time-NNegative x, reference>=a and NPositive x, reference-NPositive x, in real timeDuring >=b, judge that active user face occurs to swing and direction is
It swings from right to left;Wherein, NNegative x, in real timeIn the face's real-time location coordinates information determined for this semiaxis is born positioned at x-axis
Number of pixels;NNegative x, referenceDuring to set current face location reference frame in used face's real-time location coordinates information
The number of pixels of semiaxis is born positioned at x-axis;NPositive x, in real timeIt is located at x-axis in the face's real-time location coordinates information determined for this
The number of pixels of positive axis;NPositive x, referenceUsed face's real-time location coordinates during to set current face location reference frame
It is located at the number of pixels of x-axis positive axis in information;A is default first threshold;B is default second threshold;a>0;b>0.
Work as NNegative x, reference-NNegative x, in real time>=c and NPositive x, in real time-NPositive x, referenceDuring >=d, judge that active user face occurs to swing and direction is
It swings from left to right;C is default 3rd threshold value;D is default 4th threshold value;c>0;d>0.
In above-mentioned determination methods, it is necessary to according to distribution variation degree of the facial image in reference coordinate system come accurate
Really judge swing behavior and the swaying direction of face.Specifically, described threshold value a, b, c, d can by those skilled in the art according to
The amplitude that user's face is swung in actual scene is flexibly set.
It is preferred that the mapping relations in the swaying direction and page turning direction can set it is as follows:
When user face swings from right to left, the page turning direction is downward page turning;
When user face swings from left to right, the page turning direction is to page up.
Above-mentioned mapping relations are only an examples, in practical applications, can be accustomed to being defined according to user.
Fig. 2 is the leaf turner structure diagram with the corresponding digital reading of the above method, as shown in Fig. 2, the device
Including:
Image acquisition units for utilizing default light sensation equipment, gather the dynamic image of user face in real time;
Page turning control unit, for when often collecting dynamic image described in a frame, being referred to according to current face location
Coordinate system determines current face's real-time location coordinates information;And the face's real-time location coordinates determined according to this
Information judges the direction whether presently described user face is swung and swung;When judging to occur the swing, root
According to the direction of swing, according to default swaying direction and the mapping relations in page turning direction, the electronics currently read to the user
Document carries out page turning.
It is preferred that the page turning control unit, is further used for working as NNegative x, in real time-NNegative x, reference>=a and NPositive x, reference-NPositive x, in real time≥b
When, judge that active user face occurs to swing and direction is to swing from right to left;Wherein, NNegative x, in real timeDescribed in determining for this
It is located at the number of pixels that x-axis bears semiaxis in face's real-time location coordinates information;NNegative x, referenceTo set current face location reference coordinate
It is located at the number of pixels that x-axis bears semiaxis when being in used face's real-time location coordinates information;NPositive x, in real timeIt is determined for this
It is located at the number of pixels of x-axis positive axis in face's real-time location coordinates information;NPositive x, referenceTo set current face location reference
It is located at the number of pixels of x-axis positive axis during coordinate system in used face's real-time location coordinates information;A is default first threshold
Value;B is default second threshold;a>0;b>0;
Work as NNegative x, reference-NNegative x, in real time>=c and NPositive x, in real time-NPositive x, referenceDuring >=d, judge that active user face occurs to swing and direction is
It swings from left to right;C is default 3rd threshold value;D is default 4th threshold value;c>0;d>0.
In conclusion the foregoing is merely a prefered embodiment of the invention, it is not intended to limit the scope of the present invention.
Within the spirit and principles of the invention, any modifications, equivalent replacements and improvements are made should be included in the present invention's
Within protection domain.
Claims (8)
1. a kind of page turning method of digital reading, which is characterized in that including:
Utilize the dynamic image of default light sensation equipment, in real time acquisition user face;
When often collecting dynamic image described in a frame, according to current face location reference frame, current face is determined
Real-time location coordinates information;And the face's real-time location coordinates information determined according to this, judge presently described user
The direction whether face is swung and swung;When judging to occur the swing, according to the direction of swing, according to default
Swaying direction and page turning direction mapping relations, page turning is carried out to the electronic document that the user currently reads;
The direction for judging whether presently described user face is swung and swung includes:
WhenAndWhen, judge that swing and direction occur for active user face
To swing from right to left;Wherein,It is born in the face's real-time location coordinates information determined for this positioned at x-axis
The number of pixels of semiaxis;Used face's real-time location coordinates during to set current face location reference frame
It is located at the number of pixels that x-axis bears semiaxis in information;In the face's real-time location coordinates information determined for this
Positioned at the number of pixels of x-axis positive axis;Used face is real-time during to set current face location reference frame
It is located at the number of pixels of x-axis positive axis in location coordinate information;A is default first threshold;B is default second threshold;a>
0;b>0;
WhenAndWhen, judge that swing and direction occur for active user face
To swing from left to right;C is default 3rd threshold value;D is default 4th threshold value;c>0;d>0.
2. according to the method described in claim 1, it is characterized in that, described determine current face's real-time location coordinates packet
It includes:
When the light sensation equipment collects dynamic image described in a frame, determine that each pixel is in current face in the frame dynamic image
Coordinate information in the reference frame of portion position, the face location reference frame using the visual range of the light sensation equipment as
Coordinate plane;
Using the coordinate information set for each pixel determined as face's real-time location coordinates information.
3. according to the method described in claim 1, it is characterized in that, described determine current face's real-time location coordinates packet
It includes:
When the light sensation equipment collects dynamic image described in a frame, determine that each pixel is in current face in the frame dynamic image
The coordinate information that portion position reference coordinate is fastened, the face location reference frame using the visual range of the light sensation equipment as
Coordinate plane;
From the coordinate information for each pixel currently determined, the coordinate of the background pixel in addition to the user face is deleted
Information, using the coordinate information set of residual pixel as face's real-time location coordinates information.
4. according to the method described in claim 1, it is characterized in that, the origin of the face location reference frame is the light
Feel the center of the visual range of equipment.
5. the according to the method described in claim 1, it is characterized in that, setting method bag of the face location reference frame
It includes:
When each default coordinate system sets the cycle to reach, in the face's real-time location coordinates information obtained from the last time,
Determine pixel Ymin and y the value maximum of pixel Xmax, y value minimum of pixel Xmin, x value maximum of x values minimum
Pixel Ymax;
Face location using the crosspoint of the line of the Xmin and Xmax and the line of Ymin and Ymax as current setting is joined
The origin of coordinate system is examined, and using the line of the Xmin and Xmax as x-axis, using the line of the Ymin and Ymax as y-axis.
6. according to the method described in claim 1, it is characterized in that, the coordinate system set the cycle when a length of 10 seconds.
7. according to the method described in claim 1, it is characterized in that, the swaying direction and the mapping pass in page turning direction include:
When user face swings from right to left, the page turning direction is downward page turning;
When user face swings from left to right, the page turning direction is to page up.
8. a kind of leaf turner of digital reading, which is characterized in that including:
Image acquisition units for utilizing default light sensation equipment, gather the dynamic image of user face in real time;
Page turning control unit, for when often collecting dynamic image described in a frame, according to current face location reference coordinate
System, determines current face's real-time location coordinates information;And the face's real-time location coordinates information determined according to this,
Judge the direction whether presently described user face is swung and swung;When judging to occur the swing, according to pendulum
Dynamic direction, according to default swaying direction and the mapping relations in page turning direction, the electronic document currently read to the user
Carry out page turning;
The page turning control unit is further used for working asAndWhen, judge
Active user face occurs to swing and direction is to swing from right to left;Wherein,The face determined for this is real
When location coordinate information in be located at x-axis and bear the number of pixels of semiaxis;During to set current face location reference frame
It is located at the number of pixels that x-axis bears semiaxis in used face's real-time location coordinates information;The institute determined for this
State the number of pixels for being located at x-axis positive axis in face's real-time location coordinates information;To set current face location reference
It is located at the number of pixels of x-axis positive axis during coordinate system in used face's real-time location coordinates information;A is default first threshold
Value;B is default second threshold;a>0;b>0;When AndWhen, judge
Active user face occurs to swing and direction is to swing from left to right;C is default 3rd threshold value;D is default 4th threshold value;
c>0;d>0.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510530316.6A CN105159451B (en) | 2015-08-26 | 2015-08-26 | The page turning method and device of a kind of digital reading |
HK16105722.6A HK1217791A1 (en) | 2015-08-26 | 2016-05-18 | Page turning method and apparatus for digital reading |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510530316.6A CN105159451B (en) | 2015-08-26 | 2015-08-26 | The page turning method and device of a kind of digital reading |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105159451A CN105159451A (en) | 2015-12-16 |
CN105159451B true CN105159451B (en) | 2018-05-22 |
Family
ID=54800331
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510530316.6A Active CN105159451B (en) | 2015-08-26 | 2015-08-26 | The page turning method and device of a kind of digital reading |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105159451B (en) |
HK (1) | HK1217791A1 (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011103742A1 (en) * | 2010-02-23 | 2011-09-01 | 华为终端有限公司 | Frame control method and electronic device |
CN102880290A (en) * | 2012-08-24 | 2013-01-16 | 中兴通讯股份有限公司 | Display control method, device and terminal |
CN102999164A (en) * | 2012-11-30 | 2013-03-27 | 广东欧珀移动通信有限公司 | E-book page turning control method and intelligent terminal |
CN104035548A (en) * | 2013-03-06 | 2014-09-10 | 中国移动通信集团公司 | Page turning method and device |
-
2015
- 2015-08-26 CN CN201510530316.6A patent/CN105159451B/en active Active
-
2016
- 2016-05-18 HK HK16105722.6A patent/HK1217791A1/en unknown
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011103742A1 (en) * | 2010-02-23 | 2011-09-01 | 华为终端有限公司 | Frame control method and electronic device |
CN102880290A (en) * | 2012-08-24 | 2013-01-16 | 中兴通讯股份有限公司 | Display control method, device and terminal |
CN102999164A (en) * | 2012-11-30 | 2013-03-27 | 广东欧珀移动通信有限公司 | E-book page turning control method and intelligent terminal |
CN104035548A (en) * | 2013-03-06 | 2014-09-10 | 中国移动通信集团公司 | Page turning method and device |
Also Published As
Publication number | Publication date |
---|---|
HK1217791A1 (en) | 2017-01-20 |
CN105159451A (en) | 2015-12-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104685462B (en) | Adaptive thresholding for image identification | |
KR102225192B1 (en) | Method and apparatus for generating security questions and verifying identities | |
CN104239860B (en) | A kind of sitting posture detection and based reminding method and device using during intelligent terminal | |
CN110136142A (en) | A kind of image cropping method, apparatus, electronic equipment | |
US20160094705A1 (en) | Message Read Confirmation Using Eye Tracking | |
CN106897713A (en) | A kind of method and mobile terminal for waking up mobile terminal screen | |
CN105956518A (en) | Face identification method, device and system | |
CN107977586B (en) | Display content processing method, first electronic device and second electronic device | |
CN104978133A (en) | Screen capturing method and screen capturing device for intelligent terminal | |
CN102118560A (en) | Photographic system and method | |
CN104754216A (en) | Photographing method and device | |
CN106095372B (en) | A kind of display control method and electronic equipment | |
CN102087582A (en) | Automatic scrolling method and device | |
CN108134903B (en) | Shooting method and related product | |
CN105893185A (en) | Data backup method and device | |
CN108540718A (en) | Image pickup method, device, mobile terminal and storage medium | |
CN103518156A (en) | Method and apparatus for reflection compensation | |
CN104991723A (en) | Transverse and vertical screen switching system and method | |
CN103455580A (en) | Information recommending method and information recommending device | |
CN103327246B (en) | A kind of multimedia shooting processing method, device and intelligent terminal | |
CN107682524A (en) | A kind of information displaying method and device, terminal and readable storage medium storing program for executing | |
WO2015032308A1 (en) | Image recognition method and user terminal | |
CN104484112A (en) | Work mode switching method and terminal | |
WO2016161905A1 (en) | Method and apparatus for magnifying and/or highlighting objects on screens | |
CN105159465B (en) | User reads level of understanding monitoring method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 1217791 Country of ref document: HK |
|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: GR Ref document number: 1217791 Country of ref document: HK |