CN106528742A - Information query method and device - Google Patents

Information query method and device Download PDF

Info

Publication number
CN106528742A
CN106528742A CN201610965612.3A CN201610965612A CN106528742A CN 106528742 A CN106528742 A CN 106528742A CN 201610965612 A CN201610965612 A CN 201610965612A CN 106528742 A CN106528742 A CN 106528742A
Authority
CN
China
Prior art keywords
target text
text image
image
checked
content
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610965612.3A
Other languages
Chinese (zh)
Inventor
郑战海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201610965612.3A priority Critical patent/CN106528742A/en
Publication of CN106528742A publication Critical patent/CN106528742A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/338Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/56Extraction of image or video features relating to colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/40Document-oriented image-based pattern recognition

Abstract

The embodiment of the invention discloses an information query method and device. The information query method comprises the steps that a target text image is determined; the target text image is identified, and text information contained in the target text image is determined according to an identification result; querying is performed according to the text information to obtain a querying result, and the querying result is displayed in a projection display mode. By the adoption of the technical scheme, information querying is achieved, the information querying result is directly displayed on the periphery of a content to be queried, and the result reading convenience of a user is improved.

Description

A kind of information query method and device
Technical field
The present embodiments relate to image processing techniquess, more particularly to a kind of information query method and device.
Background technology
Great majority possess the smart machine of learning functionality, be input into content to be learned (such as word enquiring, statement translation and Exercise question answer etc.) mode mainly use camera and take pictures input, then second selecting word to be inquired about, needs on screen The sentence of translation needs exercise question of answer etc., can just carry out specific aim inquiry, and show Query Result on screen.
But, for the small screen smart machine of such as intelligent watch and Intelligent bracelet etc, Query Result is included The inconvenience read can be caused in the small screen.
The content of the invention
The embodiment of the present invention provides a kind of information query method and device, to realize being directly displayed at information inquiry result Content periphery to be checked, improves the convenience of user's reading inquiry result.
In a first aspect, embodiments providing a kind of information query method, comprise the following steps:
Determine target text image;
The target text image is identified, and include in determining the target text image according to recognition result Word message;
Inquired about according to the Word message, obtain Query Result, and the inquiry is shown by Projection Display mode As a result.
Further, the target text image is identified, and the target text figure is determined according to recognition result The Word message included as in, including:
Using character recognition technology algorithm, Text region is carried out to the target text image, the target text is determined The Word message included in image;
Colour recognition is carried out to the target text image, it is determined that the domain color block of the identification target text image.
Alternatively, colour recognition is carried out to the target text image, determines the domain color block of the target text image Afterwards, including:
According to the domain color block of the target text image, the projected color of the Query Result is determined.
Further, it is determined that target text image, including:
Obtain the content to be checked of laser cursor alignment;
The content to be checked is scanned, the target text image is obtained.
Further, after obtaining the content to be checked of laser cursor alignment, including:
According to the position of the content to be checked, the projected position of the Query Result is determined.
Second aspect, the embodiment of the present invention additionally provide a kind of information query device, and the device includes:
Image collection module, for determining target text image;
Information identification module, for being identified to the target text image, and determines the mesh according to recognition result The Word message included in mark text image;
Result display module, for being inquired about according to the Word message, obtains Query Result, and passes through Projection Display Mode shows the Query Result.
Further, described information identification module, including:
Word recognition unit, for using Text region algorithm, carrying out Text region to the target text image, it is determined that The Word message included in the target text image;
Colour recognition unit, for carrying out colour recognition to the target text image, it is determined that the identification target text The domain color block of image.
Alternatively, described information inquiry unit includes:
Projected color determining module, for carrying out colour recognition to the target text image, determines the target text After the domain color block of this image, according to the domain color block of the target text image, the throwing of the Query Result is determined Shadow color.
Further, image collection module specifically for:
Obtain the content to be checked of laser cursor alignment;
The content to be checked is scanned, the target text image is obtained.
Further, described information inquiry unit includes:
Projected position determining module, for after the content to be checked for obtaining laser cursor alignment, according to described to be checked The position of content is ask, the projected position of the Query Result is determined
The embodiment of the present invention is inquired about according to the Word message of identification by determining and identifying target text image, and Query Result is shown in Projection Display mode, is solved the problems, such as that information inquiry and Query Result read inconvenience, is improved The convenience of user's Query Information and reading inquiry result.
Description of the drawings
Fig. 1 is a kind of flow chart of the information query method in the embodiment of the present invention one;
Fig. 2 is a kind of flow chart of the information query method in the embodiment of the present invention two;
Fig. 3 is a kind of structural representation of the information query device in the embodiment of the present invention three.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that, in order to just Part related to the present invention rather than entire infrastructure is illustrate only in description, accompanying drawing.
Embodiment one
A kind of flow chart of information query method that Fig. 1 is provided for the embodiment of the present invention one, the present embodiment are applicable to letter Breath inquiry and Query Result show that the method can be performed by information query device, and the device can be by software and/or hardware Mode realize that the device can be integrated in smart machine, especially in the small screen intellectual learning equipment, for example intelligent watch or Intelligent bracelet etc..Specifically include following steps:
S110, determine target text image.
Wherein, target text image is the image for including content to be checked, and which can be that the books to papery are clapped Take the photograph or scan and obtain, or directly read local disk related data and obtain, or acquire from respective server.
S120, the target text image is identified, and in determining the target text image according to recognition result Comprising Word message.
Wherein, identification is the process for carrying out information retrieval to the content in target text image, and which can be believed comprising word The extraction of breath, it is also possible to the extraction comprising the information such as color and/or pattern.
Specifically, after target text image is obtained, using the recognizer of setting in above-mentioned target text image Information be identified extract, obtain recognition result, then according to recognition result determine in the target text image word letter Breath.
S130, inquired about according to the Word message, obtain Query Result, and shown by Projection Display mode described Query Result.
Specifically, the Word message of the target text for being obtained according to above-mentioned steps, searches for the corresponding demand of the Word message Information, is obtained Search Results, i.e. Query Result, and is opened up the Query Result as project content by Projection Display mode Show, read for user.Wherein, inquiry can be that Word message according to target text in the local disk of smart machine is carried out After information search, or smart machine connection network, Word message is sent to into service end by network, service end according to The Word message of target text carries out information search.Projection can be realized by the projection module in smart machine, for projecting The display end of display is the unified flat-objects of surfacing and color, for example, can be books, desktop or wall of papery etc. Everyday objects, or special projection screen.
The technical scheme of the present embodiment, by determining and identifying target text image, is carried out according to the Word message of identification Inquiry, and Query Result is shown in Projection Display mode, solve information inquiry and Query Result reads asking for inconvenience Topic, improves the convenience of user's Query Information and reading inquiry result.
Embodiment two
A kind of flow chart of information query method that Fig. 2 is provided to the embodiment of the present invention two, the present embodiment is in above-mentioned enforcement On the basis of example one, a upper embodiment is illustrated and optimized.The embodiment of the present invention two is provided with reference to Fig. 2 Information query method illustrate, the method is comprised the following steps:
S210, determine target text image.
S220, using Text region algorithm, Text region is carried out to the target text image, the target text is determined The Word message included in image.
The object of Text region is the word segment in target text image, and Text region algorithm can be Text region skill The other forms of art (Optical Character Recognition, OCR), or such as artificial neural network algorithm Algorithm.Specifically, information query device obtain target text image after, using default Text region algorithm, to mesh Word segment in mark text image carries out Text region, to obtain its corresponding Word message, that is, determines target text image In the Word message that includes.
S230, colour recognition is carried out to the target text image, determine the domain color block of the target text image.
The object of colour recognition is other regions in target text image in addition to character area, and domain color block is in face Colour system in colour discrimination region in all colours belonging to the most color of proportion, such as white color system, red colour system, blue series or Green system etc..Colour recognition algorithm can directly read the RGB numerical value in the image-region on all pixels point, then pass through The mathematical statistics method such as averaging method, median method or histogram method determines topmost colour system in the image-region, i.e., main face Color lump.
Specifically, while Text region being carried out to target text image, can adopt default colour recognition algorithm Colour recognition is carried out to other regions in target text image in addition to character area, it is shared in target text image to obtain Colour system belonging to the most color of ratio, that is, determine the domain color block of target text image.
S240, according to the domain color block of the target text image, determine the projected color of the Query Result.
Projection text color when projected color is Projection Display.Specifically, it is determined that the domain color block of target text image Afterwards, according to color theory, projection text color is set as into the other colour system larger with the colour system contrast of domain color block In a kind of color.For example, the domain color block for determining in step S230 is the blueness in blue series, according to the face in color theory Colour circle, selectes with the yellow in the red or yellow class in the larger red colour system of blue series contrast as projection text color.
In addition to determining projection text color according to above-mentioned technical proposal, can also be by the projection of setting project content Background color is determining projection text color.Wherein, project the Show Color that background color is region to be projected.Specifically, background color will be projected It is set as a kind of color, and projection text color is set as into another kind of color larger with projection background color contrast.For example, throw Shadow background color is chosen to be the white in grey colour system, then projection text color can be set as the black in grey colour system, Huo Zhegen According to the color ring in color theory, projection text color is set as into the redness in red colour system, or the blueness in blue series etc..
S250, inquired about according to the Word message, obtain Query Result, and shown by Projection Display mode described Query Result.
Specifically, according to the projected color and projected position of Query Result, Query Result is shown by Projection Display mode. Wherein, definite opinion is subsequently illustrated projected position really.
On the basis of above-mentioned all technical schemes, determine that target text image S210 can include:Obtain laser cursor The content to be checked of alignment;The content to be checked is scanned, the target text image is obtained.
Wherein, sending for laser cursor can be realized by the laser module in smart machine, laser cursor alignment scope It is the region at content place to be checked;Scanning can be realized by the photographic head or probe in smart machine.Specifically, according to User's request, while laser and photographic head is opened, content to be checked, photographic head or scanning in laser cursor alignment papery books Head catches laser cursor, and is focused and locked according to the region of laser cursor alignment, that is, obtain treating for laser cursor alignment Inquiry content;After photographic head or probe lock content area to be checked, the content to be checked in ' locked ' zone is swept Retouch, to obtain the image of content to be checked, that is, obtain target text image.So arrange and be advantageous in that user can be by swashing Light cursor alignment function, directly selects content to be checked, without carrying out second selecting so that the inquiry operation of user is more Plus it is convenient.
Exemplarily, after obtaining the content to be checked of laser cursor alignment, according to the position of the content to be checked, really The projected position of the fixed Query Result.Wherein, projected position is the regional extent of Query Result Projection Display.Specifically, root According to the position of content to be checked, it is determined that by the Query Result Projection Display for obtaining in the peripheral extent of content to be checked.Need It is understood by, projected position here is also according to the physical packaging position in smart machine between laser module and projection module Relation is determining.For example, if projection module is arranged on below laser module in smart machine, Query Result Projection Display exists The Projection Display position of the lower zone of laser cursor alignment area, i.e. Query Result is in papery books under content to be checked Square region.So arrange and be advantageous in that the result for alloing user directly to see inquiry while laser cursor is aligned, Increase the convenience of user's reading inquiry result.Arbitrary technology that the technical scheme is provided in going for the embodiment of the present invention Scheme.
The technical scheme of the present embodiment, by carrying out colour recognition to target text image, determines according to recognition result and looks into The projected color of result Projection Display is ask, Query Result is enhanced while causing smart machine quickly to check Query Result and is shown The contrast shown, can make user more easily and clearly reading inquiry result.
Embodiment three
A kind of structural representation of information query device that Fig. 3 is provided for the embodiment of the present invention three, the device can include: Image collection module 310, for determining target text image;Information identification module 330, for entering to the target text image Row identification, and the Word message included in determining the target text image according to recognition result;Result display module 350, uses In being inquired about according to the Word message, Query Result is obtained, and the Query Result is shown by Projection Display mode.
Alternatively, information identification module 330 includes:
Word recognition unit 331, for using Text region algorithm, carrying out Text region to the target text image, The Word message included in determining the target text image;
Colour recognition unit 332, for the domain color block according to the target text image, determines the inquiry knot The projected color of fruit.
Alternatively, also include on the basis of said apparatus:
Projected color determining module 340, for carrying out colour recognition to the target text image, determines the target After the domain color block of text image, according to the domain color block of the target text image, the Query Result is determined Projected color.
Alternatively, image collection module 310 specifically for:
Obtain the content to be checked of laser cursor alignment;
The content to be checked is scanned, the target text image is obtained.
Alternatively, also include on the basis of said apparatus:
Projected position determining module 320, for, after the content to be checked for obtaining laser cursor alignment, treating according to described The position of inquiry content, determines the projected position of the Query Result.
By a kind of sequential working of each intermodule of information query device of the embodiment of the present invention three, realize using intelligence Equipment carries out information inquiry and Query Result being included, in content periphery to be checked, solving user carries out letter using smart machine The problem of inconvenience is read during breath inquiry, it is possible to increase the convenience of user's inquiry and reading inquiry result.
The device of the information inquiry provided by the embodiment of the present invention can perform the information provided by any embodiment of the present invention Querying method, possesses the corresponding functional module of execution method and beneficial effect.
Note, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes, Readjust and substitute without departing from protection scope of the present invention.Therefore, although the present invention is carried out by above example It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also More other Equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (10)

1. a kind of information query method, it is characterised in that include:
Determine target text image;
The target text image is identified, and the word included in determining the target text image according to recognition result Information;
Inquired about according to the Word message, obtain Query Result, and the Query Result is shown by Projection Display mode.
2. method according to claim 1, it is characterised in that described that the target text image is identified, and according to The Word message included in the target text image is determined according to recognition result, including:
Using Text region algorithm, Text region is carried out to the target text image, wrapped in determining the target text image The Word message for containing;
Colour recognition is carried out to the target text image, the domain color block of the target text image is determined.
3. method according to claim 2, it is characterised in that colour recognition is carried out to the target text image, it is determined that After the domain color block of the target text image, including:
According to the domain color block of the target text image, the projected color of the Query Result is determined.
4. the method according to any one of claim 1-3, it is characterised in that determine target text image, including:
Obtain the content to be checked of laser cursor alignment;
The content to be checked is scanned, the target text image is obtained.
5. method according to claim 4, it is characterised in that after obtaining the content to be checked of laser cursor alignment, bag Include:
According to the position of the content to be checked, the projected position of the Query Result is determined.
6. a kind of information query device, it is characterised in that include:
Image collection module, for determining target text image;
Information identification module, for being identified to the target text image, and determines the target text according to recognition result The Word message included in this image;
Result display module, for being inquired about according to the Word message, obtains Query Result, and by Projection Display mode Show the Query Result.
7. device according to claim 6, it is characterised in that described information identification module, including:
Word recognition unit, for using Text region algorithm, carrying out Text region to the target text image, it is determined that described The Word message included in target text image;
Colour recognition unit, for carrying out colour recognition to the target text image, it is determined that the identification target text image Domain color block.
8. device according to claim 7, it is characterised in that include:
Projected color determining module, for carrying out colour recognition to the target text image, determines the target text figure After the domain color block of picture, according to the domain color block of the target text image, the projection face of the Query Result is determined Color.
9. the device according to any one of claim 6-8, it is characterised in that described image acquisition module specifically for:
Obtain the content to be checked of laser cursor alignment;
The content to be checked is scanned, the target text image is obtained.
10. device according to claim 9, it is characterised in that include:
Projected position determining module, for after the content to be checked for obtaining laser cursor alignment, according to described to be checked interior The position of appearance, determines the projected position of the Query Result.
CN201610965612.3A 2016-11-04 2016-11-04 Information query method and device Pending CN106528742A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610965612.3A CN106528742A (en) 2016-11-04 2016-11-04 Information query method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610965612.3A CN106528742A (en) 2016-11-04 2016-11-04 Information query method and device

Publications (1)

Publication Number Publication Date
CN106528742A true CN106528742A (en) 2017-03-22

Family

ID=58326395

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610965612.3A Pending CN106528742A (en) 2016-11-04 2016-11-04 Information query method and device

Country Status (1)

Country Link
CN (1) CN106528742A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107438160A (en) * 2017-07-21 2017-12-05 上海明数数字出版科技有限公司 A kind of preview image scales the method and device into line character inquiry manually
CN108287895A (en) * 2018-01-19 2018-07-17 广东小天才科技有限公司 It is a kind of to search topic method and system, hand-held photographing device based on what dominant frame was adjusted
CN109035919A (en) * 2018-08-31 2018-12-18 广东小天才科技有限公司 It is a kind of to assist the intelligent apparatus that solves the problems, such as of user and system
CN110109576A (en) * 2019-05-09 2019-08-09 北京一数科技有限公司 A kind of content search method, apparatus, intelligent projection device and storage medium
CN110209762A (en) * 2018-02-11 2019-09-06 京东方科技集团股份有限公司 A kind of reading tables and reading method
CN110245294A (en) * 2019-05-31 2019-09-17 三角兽(北京)科技有限公司 Information-pushing method and device based on display content

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103838866A (en) * 2014-03-20 2014-06-04 广东小天才科技有限公司 Text transformation method and device
CN104239861A (en) * 2014-09-10 2014-12-24 深圳市易讯天空网络技术有限公司 Curly text image preprocessing method and lottery ticket scanning recognition method
CN104933068A (en) * 2014-03-19 2015-09-23 阿里巴巴集团控股有限公司 Method and device for information searching
US20160063354A1 (en) * 2014-08-29 2016-03-03 Ancestry.Com Operations Inc. System and method for transcribing handwritten records using word groupings based on feature vectors

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104933068A (en) * 2014-03-19 2015-09-23 阿里巴巴集团控股有限公司 Method and device for information searching
CN103838866A (en) * 2014-03-20 2014-06-04 广东小天才科技有限公司 Text transformation method and device
US20160063354A1 (en) * 2014-08-29 2016-03-03 Ancestry.Com Operations Inc. System and method for transcribing handwritten records using word groupings based on feature vectors
CN104239861A (en) * 2014-09-10 2014-12-24 深圳市易讯天空网络技术有限公司 Curly text image preprocessing method and lottery ticket scanning recognition method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107438160A (en) * 2017-07-21 2017-12-05 上海明数数字出版科技有限公司 A kind of preview image scales the method and device into line character inquiry manually
CN108287895A (en) * 2018-01-19 2018-07-17 广东小天才科技有限公司 It is a kind of to search topic method and system, hand-held photographing device based on what dominant frame was adjusted
CN110209762A (en) * 2018-02-11 2019-09-06 京东方科技集团股份有限公司 A kind of reading tables and reading method
CN109035919A (en) * 2018-08-31 2018-12-18 广东小天才科技有限公司 It is a kind of to assist the intelligent apparatus that solves the problems, such as of user and system
CN110109576A (en) * 2019-05-09 2019-08-09 北京一数科技有限公司 A kind of content search method, apparatus, intelligent projection device and storage medium
CN110245294A (en) * 2019-05-31 2019-09-17 三角兽(北京)科技有限公司 Information-pushing method and device based on display content

Similar Documents

Publication Publication Date Title
CN106528742A (en) Information query method and device
KR102149050B1 (en) System and method for analyzing document using artificial intelligence based on ocr
CN106384095B (en) Fault of automobile indicator light recognition methods based on image shot by cell phone
EP3719694A1 (en) Neural network model-based human face living body detection
CN101295359B (en) Image processing method and image processing apparatus
CN101558416A (en) Text detection on mobile communications devices
Berezhnoy et al. Computer analysis of van Gogh’s complementary colours
JP4047579B2 (en) Accurate printing of owner sign patterns and colors
GB2331613A (en) Apparatus for capturing a fingerprint
KR20160063294A (en) Fourth dimension code, image identification systems and method by the fourth dimension code, search system and method
CN101983507A (en) Automatic redeye detection
JP2008257670A (en) Image-document retrieving apparatus, method of retrieving image document, program, and recording medium
CN101980242A (en) Human face discrimination method and system and public safety system
US20210366087A1 (en) Image colorizing method and device
CN109903210A (en) Minimizing technology, device and the server of watermark
Bouillon et al. Grayification: a meaningful grayscale conversion to improve handwritten historical documents analysis
CN112257685A (en) Face copying recognition method and device, electronic equipment and storage medium
RU2603495C1 (en) Classification of document images based on parameters of colour layers
KR20190142931A (en) Code authentication method of counterfeit print image and its application system
JPH11306348A (en) Method and device for object detection
JPH11306325A (en) Method and device for object detection
JP6855175B2 (en) Image processing equipment, image processing methods and programs
JPWO2004023397A1 (en) Visual assistance network server, visual assistance network system, visual assistance method, visual assistance system, color vision function notification system, color vision function notification program, color vision function notification method, color vision assistance system, color vision assistance program, and color vision assistance method
CN113487497A (en) Image processing method and device and electronic equipment
Salvador Shadow segmentation and tracking in real-world conditions

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170322

RJ01 Rejection of invention patent application after publication