CN103279262B - The method and apparatus extracting content from picture - Google Patents
The method and apparatus extracting content from picture Download PDFInfo
- Publication number
- CN103279262B CN103279262B CN201310148144.7A CN201310148144A CN103279262B CN 103279262 B CN103279262 B CN 103279262B CN 201310148144 A CN201310148144 A CN 201310148144A CN 103279262 B CN103279262 B CN 103279262B
- Authority
- CN
- China
- Prior art keywords
- content
- picture
- terminal
- conversion
- setting
- 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
- Processing Or Creating Images (AREA)
Abstract
The present invention is applicable to the communications field, it is provided that a kind of method and apparatus extracting content from picture, and described method includes: receive the region delimited on terminal picture;By preset, described picture part in the region delimited is identified that engine is converted into the content of setting form.The method and apparatus that the present invention provides delimit viewing area by touch screen, extracts the content in picture, user can be selected according to interest and demand in the way of user's needs.
Description
Technical field
The invention belongs to the communications field, particularly relate to a kind of method and apparatus extracting content from picture.
Background technology
Along with the development of electronic communication, becoming increasingly abundant and hommization of the function and application of mobile terminal, very big journey
Degree ground improves the convenience that people live, the social interactions of people, work, mobile terminal dependency is increased by amusement etc. day by day
By force, therefore mobile terminal progressively becomes the necessary of people's life.
The photographic head pixel of mobile terminal configuration generally improves, and people can utilize photographic head to shoot them whenever and wherever possible and need
Content to be paid close attention to, without using traditional approach, carries notebook, note paper and pen does extracts, copy, this very great Cheng
Spend life, the work being convenient for people to.But, owing to the photographic head picture capacity that takes up room is big, repeatedly shooting can take substantial amounts of
The capacity of mobile terminal, and in some cases, people need to realize the content on picture word extraction, converting form or
Person's local image zooming-out etc., similar above demand, it is capable of currently without terminal or application.
Summary of the invention
The purpose of the embodiment of the present invention is to provide a kind of method and apparatus extracting content from picture, it is intended to solve existing
The problem that some terminals cannot extract the content of the forms such as text from picture.
The embodiment of the present invention is achieved in that a kind of method extracting content from picture, and described method includes step:
Receive the region delimited on terminal picture;
By preset, described picture part in the region delimited is identified that engine is converted in setting form
Hold.
Further, the described part by picture in the region delimited is converted into setting by the identification engine preset
The content of form includes:
According to described by the coordinate range of defined area, and the screen of the coordinate range of described picture and described terminal
The mapping relations of coordinate range determine part to be extracted in described picture;
By part input to be extracted in described picture to described identification engine, for described identification engine according to setting form
Export corresponding content.
Further, the described form that sets is as text formatting, table format and/or picture format.
Further, converted by the identification engine preset in the described part by picture in the region delimited of execution
After content for setting form, also include:
Content after described conversion is edited.
Further, converted by the identification engine preset in the described part by picture in the region delimited of execution
After content for setting form, also include:
According to the content after described conversion, control after the other-end execution that is connected with described terminal and described conversion is interior
Hold corresponding operation.
The present invention also proposes a kind of device extracting content from picture, and described device includes:
Delimit module, for receiving the region delimited on terminal picture;
Conversion module, for being converted into described picture part in the region delimited by default identification engine
Set the content of form.
Further, described conversion module includes:
Extract picture element unit cell, be used for according to described by the coordinate range of defined area, and the coordinate range of described picture
Part to be extracted in described picture is determined with the mapping relations of the coordinate range of the screen of described terminal;
Recognition unit, for by part input extremely described identification engine to be extracted in described picture, drawing for described identification
Hold up according to setting the form corresponding content of output.
Further, the described form that sets is as text formatting, table format and/or picture format.
Further, described device also includes:
Editor module, for editing the content after described conversion.
Further, described device also includes:
Control module, for according to the content after described conversion, control the other-end execution that is connected with described terminal and
The operation that content after described conversion is corresponding.
In embodiments of the present invention, delimit viewing area by touch screen, need to extract in the way of content choosing user,
User can be selected according to interest and demand;To the content extracted, it is possible to compile flexibly according to setting rule
Volume, accomplish to extract accurately the content of demand, the simple and quick wish according to oneself can revise content simultaneously, meet people
Normal habitual requirement, improves the operating experience of user simultaneously significantly.
Accompanying drawing explanation
Fig. 1 is the flow chart of the method extracting content from picture that the embodiment of the present invention one provides;
Fig. 2 is the flow chart of the method extracting content from picture that the embodiment of the present invention two provides;
Fig. 3 is the flow chart of the method extracting content from picture that the embodiment of the present invention three provides;
Fig. 4 is the structure chart of the device extracting content from picture that the embodiment of the present invention four provides;
Fig. 5 is the structure chart of conversion module in the device extracting content from picture that the embodiment of the present invention four provides;
Fig. 6 is the structure chart of the device extracting content from picture that the embodiment of the present invention five provides;
Fig. 7 is the structure chart of the device extracting content from picture that the embodiment of the present invention six provides;
Fig. 8 is the schematic diagram of data transmission between two terminals that the embodiment of the present invention seven provides.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, right
The present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, and
It is not used in the restriction present invention.
Embodiment one
The embodiment of the present invention one proposes a kind of method that picture extracts content.As it is shown in figure 1, the method includes walking as follows
Rapid:
The region delimited on step S1, reception terminal picture;
Step S2, described picture part in the region delimited is converted into setting lattice by the identification engine preset
The content of formula.
In step S1, receive the region that user delimit in terminal, as enclosed by picture circle or side, or pass through diagonal
Delimit certain area, it is intended that the content on the picture in this defined area needs to be extracted.Can also first set a region,
Then resetting a region in the region of this setting, the content of rear setting regions need not be extracted, then first sets
Region remove after the region that sets, remaining part is then for the region delimited.
In step S2, according to the mapping relations between the coordinate range of the coordinate range of picture and the screen of terminal, calculate
Analyze the coordinate range of picture corresponding to the region delimited.Picture section in the coordinate range of the picture of this correspondence is extracted
Out, and be input to the identification engine preset.Identify that engine exports corresponding content, the lattice wherein set according to the form set
Formula can be text, form or the simply any-mode such as region sectional drawing.
In the embodiment of the present invention one, delimit viewing area by touch screen, extract in picture in the way of user's needs
Content, user can be selected according to interest and demand.Meet people's normal habitual requirement, carry significantly simultaneously
The operating experience of high user.
Embodiment two
The embodiment of the present invention two proposes a kind of method extracting content from picture.As in figure 2 it is shown, implement with the present invention
Example one is different, and the embodiment of the present invention two, on the basis of the embodiment of the present invention one, after performing step S2, may also include that
Step S3, the content after described conversion is edited.Can be the rule by setting, to identifying engine output
Content be marked, on the word content of output, such as draw horizontal line, oblique line or the form such as draw a circle, will draw a horizontal line, oblique line or
The content drawn a circle retains, and remaining is deleted;Being marked again or to the content of output, labeled content will be deleted;Also
The labelling inserting symbol can be stamped between the word content of output, it is allowed to this word content inserts, revises by user,
Add content.Other edit methods being considered that of those skilled in the art is equally applicable to the present invention.
The content extracted from picture can be edited flexibly by the embodiment of the present invention two according to setting rule,
Accomplish to extract accurately the content of demand, the simple and quick wish according to oneself can revise content simultaneously.
Embodiment three
The embodiment of the present invention three proposes a kind of method extracting content from picture.As it is shown on figure 3, and the embodiment of the present invention
One is different, and the embodiment of the present invention three, on the basis of the embodiment of the present invention one, after performing step S2, also includes:
Step S4, according to convert after content, control is connected with described terminal other-end execution and described conversion after
The corresponding operation of content.The content extracted from picture is matched by mobile terminal with the template preset, pairing
Correct content, according to the character of content, opens the application that mobile terminal is corresponding.If content is " address list ", user is selected to open
Be dynamically connected the second function, enters the address list menu of mobile terminal, and as content is: " XXX store ", user is selected starts connection the
Two functions, mobile terminal connects entrance " XXX store " webpage, if content is: " CCTV-1 ", user is selected starts connection second
Function, mobile terminal starts and controls TV functions, and image, to CCTV-1, if content is certain image, is arrived by switching TV channel
Search on network search engines, the result of search is shown on mobile terminal.
The embodiment of the present invention three, can be further according to the content start extracted in picture on the basis of the embodiment of the present invention one
Corresponding application or operation.
Embodiment four
The embodiment of the present invention four proposes a kind of device extracting content from picture.As shown in Figure 4, this device includes:
Delimit module 10, for receiving the region delimited on terminal picture;
Conversion module 20, is set for picture part in the region delimited being converted into by default identification engine
The content of the formula that fixes.
As it is shown in figure 5, described conversion module 20 includes:
Extracting picture element unit cell 21, for according to by the coordinate range of defined area, and the coordinate range of picture is with described
The mapping relations of the coordinate range of the screen of terminal determine part to be extracted in picture;
Recognition unit 22, for by part input to described identification engine, for identifying that engine is according to setting form output phase
The content answered.
Delimit module 10 and receive the region that user delimit in terminal, if user is by drawing circle or side's circle, or pass through
Diagonal delimit certain area, it is intended that the content on the picture in this defined area needs to be extracted.Can also first set
One region, then resets a zonule in the region of this setting, and the content of rear setting regions need not be extracted, that
The region that the region first set sets after removing, remaining part is then for the region delimited.
Conversion module 20, according to the mapping relations between the coordinate range of the coordinate range of picture and the screen of terminal, calculates
Analyze the coordinate range of picture corresponding to the region delimited.Particularly as follows: extract picture element unit cell 21 by the seat of the picture of this correspondence
Picture section in the range of mark extracts, recognition unit 22 be input to the identification engine preset, by identify engine according to
The form set exports corresponding content, and the form wherein set can be text, form or simply region sectional drawing etc. is arbitrarily
Mode.
In the embodiment of the present invention four, delimit viewing area by touch screen, extract in picture in the way of user's needs
Content, user can be selected according to interest and demand.Meet people's normal habitual requirement, carry significantly simultaneously
The operating experience of high user.
Embodiment five
The embodiment of the present invention five proposes a kind of device extracting content from picture.As shown in Figure 6, implement with the present invention
Example four is different, and the embodiment of the present invention five, on the basis of the embodiment of the present invention four, may also include editor module 30, for conversion
After content edit.It can be the rule by setting, and is marked, the content identifying engine output such as defeated
Drawing horizontal line, oblique line or the form such as draw a circle on the word content gone out, will draw horizontal line, oblique line or the content drawn a circle retains, remaining is deleted;
Being marked again or to the content of output, labeled content will be deleted;Can also be between the word content of output
Stamp the labelling inserting symbol, it is allowed to this word content is inserted, revises, adds content by user.Those skilled in the art
Other edit methods being considered that is equally applicable to the present invention.
The content extracted from picture can be edited flexibly by the embodiment of the present invention five according to setting rule,
Accomplish to extract accurately the content of demand, the simple and quick wish according to oneself can revise content simultaneously.
Embodiment six
The embodiment of the present invention six proposes a kind of device extracting content from picture.As it is shown in fig. 7, and the embodiment of the present invention
Four is different, and the embodiment of the present invention six, on the basis of the embodiment of the present invention four, also includes control module 40, after according to converting
Content, controls the operation corresponding with the content after the other-end execution that described terminal connects and described conversion.Control module
The content extracted from picture is matched by 40 with the template preset, and matches correct content, according to the character of content,
Open the application that mobile terminal is corresponding.If content is " address list ", the selected startup of user connects the second function, enters mobile terminal
Address list menu, as content is: " XXX store ", the selected startup of user connects the second function, and mobile terminal connects and enters " XXX
Store " webpage, if content is: " CCTV-1 ", the selected startup of user connects the second function, and mobile terminal starts and controls TV merit
Can, switching TV channel is to CCTV-1, if content is certain image, will search for, by search on image to network search engines
Result is shown on mobile terminal.
The embodiment of the present invention six, can be further according to the content start extracted in picture on the basis of the embodiment of the present invention four
Corresponding application or operation.
Embodiment seven
The embodiment of the present invention seven proposes a kind of method that picture extracts content.The method comprises the steps:
Receive the region delimited on terminal picture;
By preset, described picture part in the region delimited is identified that engine is converted in setting form
Hold;
According to the content after described conversion, control after the other-end execution that is connected with described terminal and described conversion is interior
Hold corresponding operation.
As shown in Figure 8, a terminal is mobile phone 100, and another terminal is TV 200.Mobile phone 100 is taken pictures an external image, outward
Word CCTV-1 is had on portion's image.User delimit the CCTV-1 that it is shown on mobile phone display screen, and CCTV-1 is in the district delimited
In territory, in figure, dotted line is only used for representing the region delimited.Mobile phone 100 is connected with each other with TV 200, between data transmission permissible
Pass through wired mode, it is also possible to wirelessly, or the combination of various mode.
Part in the region delimited is converted into by the identification engine preset and sets by the conversion module in mobile phone 100
The content of the formula that fixes.
Control module in mobile phone 100 by control to perform with TV 200 with described conversion after the corresponding operation of content,
Such as open or jump to CCTV-1 channel.Namely remotely control other-end carry out corresponding operating by mobile phone photograph.
The realization of part steps in embodiment seven, is referred to other embodiments.
In embodiments of the present invention, delimit viewing area by touch screen, need to extract in the way of content choosing user,
User can be selected according to interest and demand;To the content extracted, it is possible to compile flexibly according to setting rule
Volume, accomplish to extract accurately the content of demand, the simple and quick wish according to oneself can revise content simultaneously, meet people
Normal habitual requirement, improves the operating experience of user simultaneously significantly.Even, it is possible to remotely control other by terminal
Terminal carries out corresponding operating.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all essences in the present invention
Any amendment, equivalent and the improvement etc. made within god and principle, should be included within the scope of the present invention.
Claims (6)
1. the method extracting content from picture, it is characterised in that described method includes step:
Receive the region delimited on terminal picture;
By preset, described picture part in the region delimited is identified that engine is converted into the content of setting form;
Content after described conversion is edited, including the rule by setting, the content identifying engine output is marked
Note, or the content of output is marked, labeled content is deleted, or stamps slotting between the word content of output
Enter the labelling of symbol, so that this word content to be inserted, revise, to add content;
According to the content after described conversion, control the content phase after the other-end execution that is connected with described terminal and described conversion
Corresponding operation.
2. the method for claim 1, it is characterised in that the described part by picture in the region delimited is by pre-
If identify engine be converted into set form content include:
According to described by the coordinate range of defined area, and the coordinate of the screen of the coordinate range of described picture and described terminal
The mapping relations of scope determine part to be extracted in described picture;
By part input to be extracted in described picture to described identification engine, for described identification engine according to setting form output
Corresponding content.
3. method as claimed in claim 1 or 2, it is characterised in that described set form as text formatting, table format and/
Or picture format.
4. the device extracting content from picture, it is characterised in that described device includes:
Delimit module, for receiving the region delimited on terminal picture;
Conversion module, for being converted into setting by described picture part in the region delimited by default identification engine
The content of form;
Editor module, for editing the content after described conversion, including the rule by setting, to identifying engine output
Content be marked, or the content of output is marked, labeled content is deleted, or in the word of output
The labelling inserting symbol is stamped, so that this word content to be inserted, revise, to add content between appearance;
Control module, for according to the content after described conversion, the other-end controlling to be connected with described terminal performs with described
The operation that content after conversion is corresponding.
5. device as claimed in claim 4, it is characterised in that described conversion module includes:
Extract picture element unit cell, for according to described by the coordinate range of defined area, and the coordinate range of described picture and institute
The mapping relations of the coordinate range stating the screen of terminal determine part to be extracted in described picture;
Recognition unit, for by part input extremely described identification engine to be extracted in described picture, for described identification engine root
Corresponding content is exported according to setting form.
6. the device as described in claim 4 or 5, it is characterised in that described set form as text formatting, table format and/
Or picture format.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310148144.7A CN103279262B (en) | 2013-04-25 | 2013-04-25 | The method and apparatus extracting content from picture |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310148144.7A CN103279262B (en) | 2013-04-25 | 2013-04-25 | The method and apparatus extracting content from picture |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103279262A CN103279262A (en) | 2013-09-04 |
CN103279262B true CN103279262B (en) | 2016-12-28 |
Family
ID=49061811
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310148144.7A Active CN103279262B (en) | 2013-04-25 | 2013-04-25 | The method and apparatus extracting content from picture |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103279262B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105335416B (en) * | 2014-08-05 | 2018-11-02 | 佳能株式会社 | Method for extracting content, contents extraction device and the system for contents extraction |
CN105589635A (en) * | 2014-10-23 | 2016-05-18 | 深圳富泰宏精密工业有限公司 | Quick extraction system and method |
CN105045504B (en) * | 2015-07-23 | 2018-07-31 | 小米科技有限责任公司 | Picture material extracting method and device |
CN105653160A (en) * | 2016-02-25 | 2016-06-08 | 努比亚技术有限公司 | Text determining method and terminal |
CN105867763A (en) * | 2016-03-23 | 2016-08-17 | 努比亚技术有限公司 | Information processing method and terminal |
CN107678650A (en) * | 2017-09-29 | 2018-02-09 | 努比亚技术有限公司 | A kind of image identification method, mobile terminal and computer-readable recording medium |
CN107632773A (en) * | 2017-10-17 | 2018-01-26 | 北京百度网讯科技有限公司 | For obtaining the method and device of information |
CN108509957B (en) * | 2018-03-30 | 2022-08-05 | 深圳市阳日电子有限公司 | Character recognition method, terminal and computer readable medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101908136A (en) * | 2009-06-08 | 2010-12-08 | 比亚迪股份有限公司 | Table identifying and processing method and system |
CN102263706A (en) * | 2010-05-26 | 2011-11-30 | 腾讯科技(深圳)有限公司 | Image interception method and apparatus thereof |
CN102760054A (en) * | 2011-04-25 | 2012-10-31 | 深圳富泰宏精密工业有限公司 | Mobile telephone picture copying and processing method and system |
CN103037102A (en) * | 2012-12-21 | 2013-04-10 | 广东欧珀移动通信有限公司 | Free screen shot method of touch screen cellphone and cellphone |
CN103064824A (en) * | 2013-01-17 | 2013-04-24 | 深圳市中兴移动通信有限公司 | Method and device for adding content of file to be edited via screen capturing |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20060050729A (en) * | 2004-08-31 | 2006-05-19 | 엘지전자 주식회사 | Method and apparatus for processing document image captured by camera |
US8457347B2 (en) * | 2009-09-30 | 2013-06-04 | F. Scott Deaver | Monitoring usage of a computer by performing character recognition on screen capture images |
-
2013
- 2013-04-25 CN CN201310148144.7A patent/CN103279262B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101908136A (en) * | 2009-06-08 | 2010-12-08 | 比亚迪股份有限公司 | Table identifying and processing method and system |
CN102263706A (en) * | 2010-05-26 | 2011-11-30 | 腾讯科技(深圳)有限公司 | Image interception method and apparatus thereof |
CN102760054A (en) * | 2011-04-25 | 2012-10-31 | 深圳富泰宏精密工业有限公司 | Mobile telephone picture copying and processing method and system |
CN103037102A (en) * | 2012-12-21 | 2013-04-10 | 广东欧珀移动通信有限公司 | Free screen shot method of touch screen cellphone and cellphone |
CN103064824A (en) * | 2013-01-17 | 2013-04-24 | 深圳市中兴移动通信有限公司 | Method and device for adding content of file to be edited via screen capturing |
Also Published As
Publication number | Publication date |
---|---|
CN103279262A (en) | 2013-09-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103279262B (en) | The method and apparatus extracting content from picture | |
US10049147B2 (en) | Method, apparatus and terminal for processing documents | |
CN110557678B (en) | Video processing method, device and equipment | |
CN109729420A (en) | Image processing method and device, mobile terminal and computer readable storage medium | |
RU2703956C1 (en) | Method of managing multimedia files, an electronic device and a graphical user interface | |
CN102254550B (en) | Method and system for reading characters on webpage | |
EP2607994A1 (en) | Stylus device | |
US20170249934A1 (en) | Electronic device and method for operating the same | |
KR101949832B1 (en) | Picture displaying method, apparatus and terminal device | |
CN102656810A (en) | Method and system for generating data using a mobile device with a projection function | |
JP2010514023A (en) | How to automatically prefetch words while entering multimedia message text | |
WO2022057852A1 (en) | Method for interaction between multiple applications | |
KR101140419B1 (en) | Mobile phone display capturing method | |
JP2013242871A (en) | Function cooperating method for terminal and terminal supporting the same | |
KR20140026726A (en) | Method and apparatus for processing data using optical character reader | |
CN102959546B (en) | Method and apparatus for converted contents | |
KR20160118198A (en) | Real time auto translation system and method, terminal capable of real time translating | |
CN105468606B (en) | Webpage saving method and device | |
CN101902518A (en) | Method and system for simplifying mobile telephone registration of website account | |
CN103686404B (en) | A kind of method and system of mobile terminal playing set-top box picture | |
CN103488380A (en) | Method and device for displaying information | |
CN102307259A (en) | Content processing method based on mobile terminal application and mobile terminal | |
CN102209147A (en) | Method and system for customizing theme by mobile communication terminal browser | |
WO2020242197A1 (en) | Augmented reality content sharing system and driving method of same | |
JP2014137654A (en) | Translation system and translation method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: A District No. 9018 Han innovation building in Nanshan District high tech Zone in Shenzhen city of Guangdong Province, North Central Avenue, 518000 floor 10 Applicant after: Nubian Technologies Ltd. Address before: A District No. 9018 Han innovation building in Nanshan District high tech Zone in Shenzhen city of Guangdong Province, North Central Avenue, 518000 floor 10 Applicant before: Shenzhen ZTE Mobile Tech Co., Ltd. |
|
COR | Change of bibliographic data | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |