CN106951226A - The method and system of word in a kind of display thumbnail - Google Patents

The method and system of word in a kind of display thumbnail Download PDF

Info

Publication number
CN106951226A
CN106951226A CN201710086040.6A CN201710086040A CN106951226A CN 106951226 A CN106951226 A CN 106951226A CN 201710086040 A CN201710086040 A CN 201710086040A CN 106951226 A CN106951226 A CN 106951226A
Authority
CN
China
Prior art keywords
word
thumbnail
picture
textbox
minimum resolution
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.)
Granted
Application number
CN201710086040.6A
Other languages
Chinese (zh)
Other versions
CN106951226B (en
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.)
Fujian Tianquan Educational Technology Ltd
Original Assignee
Fujian Tianquan Educational Technology 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 Fujian Tianquan Educational Technology Ltd filed Critical Fujian Tianquan Educational Technology Ltd
Priority to CN201710086040.6A priority Critical patent/CN106951226B/en
Publication of CN106951226A publication Critical patent/CN106951226A/en
Application granted granted Critical
Publication of CN106951226B publication Critical patent/CN106951226B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction 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
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/22Image preprocessing by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The present invention relates to the field of display thumbnail, the method and system of word in thumbnail are more particularly to shown.The present invention is by parsing the minimum resolution that word can be identified in picture;Obtain the corresponding thumbnail of the picture;Obtain the position of word and font size in the resolution ratio and the thumbnail of the thumbnail;Judge whether the minimum resolution is not more than the resolution ratio of the thumbnail, if so, then showing word according to the position, font size, minimum resolution;If it is not, setting textbox, and word is shown with the minimum resolution in the textbox.So as to ensure that the word in thumbnail can be identified.

Description

The method and system of word in a kind of display thumbnail
Technical field
The present invention relates to the field of display thumbnail, the method and system of word in thumbnail are more particularly to shown.
Background technology
If word content in current thumbnail, because the indiscriminate compression of picture can be caused word by prior art What can be compressed does not see Chu, and its real user of ordinary circumstance only needs to check abbreviated version just enough, but be due to that word is obscured, Cause to must look at artwork, cause extra operation;If mobile terminals such as mobile phones, this operation for checking artwork can also be caused The waste of flow.
The content of the invention
The technical problems to be solved by the invention are:Improve the Chinese word articulation of thumbnail.
In order to solve the above-mentioned technical problem, the technical solution adopted by the present invention is:
The present invention provides a kind of method for showing word in thumbnail, including step:
The minimum resolution that word can be identified in parsing picture;
Obtain the corresponding thumbnail of the picture;
Obtain the position of word and font size in the resolution ratio and the thumbnail of the thumbnail;
Judge whether the minimum resolution is not more than the resolution ratio of the thumbnail, if so, then according to the position, word Number, minimum resolution show word;If it is not, setting textbox, and text is shown with the minimum resolution in the textbox Word.
The present invention separately provides a kind of system for showing word in thumbnail, including:
Parsing module, for parsing the minimum resolution that word can be identified in picture;
Breviary module, for obtaining the corresponding thumbnail of the picture;
The position of word and font size in acquisition module, the resolution ratio and the thumbnail for obtaining the thumbnail;
Judge module, for judging whether the minimum resolution is not more than the resolution ratio of the thumbnail, if so, then root Word is shown according to the position, font size, minimum resolution;If it is not, textbox is set, and with the minimum in the textbox Resolution ratio shows word.
The beneficial effects of the present invention are:The minimum resolution that word can be identified in parsing picture, by thumbnail Word is all shown with described minimum resolution, if the resolution ratio of thumbnail in itself is more than or equal to described minimum resolution Rate, then in the case where not changing the position of the thumbnail word and word, thumbnail word is shown by minimum resolution;If small In then being shown by way of creating textbox.Ensure that word can be recognized accurately in thumbnail in this way, together The excessive extra data storage of Shi Buhui increases.
Brief description of the drawings
Fig. 1 is a kind of FB(flow block) for showing the embodiment of the method for word in thumbnail of the present invention;
Fig. 2 is a kind of system block diagram for showing the embodiment of the system of word in thumbnail of the present invention;
Label declaration:
1st, parsing module;2nd, breviary module;3rd, acquisition module;4th, judge module.
Embodiment
To describe technology contents, the objects and the effects of the present invention in detail, below in conjunction with embodiment and coordinate attached Figure is explained.
The design of most critical of the present invention is:The minimum resolution that word can be recognized clearly in parsing thumbnail, uses institute The minimum resolution stated shows the word in thumbnail, if the resolution ratio of thumbnail in itself is more than or equal to described minimum point Resolution, then in the case where not changing the position of the thumbnail word and word, thumbnail word is shown by minimum resolution;If Less than then being shown by way of creating textbox.Realization shows the text in thumbnail with the minimum resolution that can be identified Word, that is, ensure that word can be recognized clearly in thumbnail, also ensure that will not additionally produce excessive data storage.
Fig. 1 and Fig. 2 is refer to,
As shown in figure 1, the present invention provides a kind of method for showing word in thumbnail:
The minimum resolution that word can be identified in parsing picture;
Obtain the corresponding thumbnail of the picture;
Obtain the position of word and font size in the resolution ratio and the thumbnail of the thumbnail;
Judge whether the minimum resolution is not more than the resolution ratio of the thumbnail, if so, then according to the position, word Number, minimum resolution show word;If it is not, setting textbox, and text is shown with the minimum resolution in the textbox Word.
Knowable to foregoing description, the beneficial effects of the present invention are:It can ensure that the word in thumbnail can be identified, solve The problem of word in fractionated thumbnails of having determined can not be recognized clearly, and will not additionally increase is excessive to the thumbnail preserved Data.
Further, also include:
It is default to press the list for arriving small journal resolution ratio greatly;
Word in the picture is shown by the resolution ratio of the list records and obtains corresponding word picture group;
Obtain two width word pictures adjacent in the word picture group and obtain the first word picture and the second word picture;
If word can be identified in the first word picture, word can not be identified in the second word picture, then: The resolution ratio for setting the first word picture is the minimum resolution.
Seen from the above description, obtain after corresponding word picture group, just constantly examine two adjacent word pictures, if Word in two adjacent word pictures in a picture can be identified, and the word in another picture cannot be identified, Represent that it is exactly that the minimum that word can be identified in whole resolution ratio that list is recorded is differentiated that can be identified the resolution ratio of picture Rate.
Further, also include:
Generation word picture corresponding with the minimum resolution, obtains the 3rd word picture;
The minimum resolution, the 3rd word picture, the position and the font size are preserved to the breviary picture and text Part data trailer.
Seen from the above description, the minimum resolution, the 3rd word picture, the position and the font size are preserved To the thumbnail file data trailer.The display operation to word is so completed, as long as reading thumbnail file afterbody pair The data answered are done respective handling and can be achieved again;Reduce operating procedure and improve efficiency.
Further, also include:
The word quantity shown according to the font size and the textbox domestic demand sets the length and width of the textbox.
Seen from the above description, required word is shown by the textbox of suitable length and width, it is to avoid cause empty to screen Between unnecessary occupancy, so as to keep away the waste exempted to screen space.
Further, also include:
Arrow text corresponding with the word content shown in the textbox from textbox sensing thumbnail is set Character segment.
Seen from the above description, by the indicative function of arrow, user can be allowed accurately to determine display in textbox Word corresponding part in thumbnail, it is to avoid to the mistake of the word corresponding part in thumbnail shown in textbox Judge, improve the fragrance that user reads.
As shown in Fig. 2 the present invention separately provides a kind of system for showing word in thumbnail, including:
Parsing module 1, for parsing the minimum resolution that word can be identified in picture;
Breviary module 2, for obtaining the corresponding thumbnail of the picture;
The position of word and font size in acquisition module 3, the resolution ratio and the thumbnail for obtaining the thumbnail;
Judge module 4, for judging whether the minimum resolution is not more than the resolution ratio of the thumbnail, if so, then Word is shown according to the position, font size, minimum resolution;If it is not, set textbox, and in the textbox with it is described most Small resolution ratio shows word.
Further, described parsing module 1, also includes:
Default unit, for default by the list for arriving small journal resolution ratio greatly;
Display unit, corresponding word is obtained for word in the picture to be shown by the resolution ratio of the list records Picture group;
Acquiring unit, for obtain two width word pictures adjacent in the word picture group obtain the first word picture and Second word picture;
Setting unit, if can be identified for word in the first word picture, word in the second word picture It can not be identified, then:The resolution ratio for setting the first word picture is the minimum resolution.
Further, also include:
Generation module, for generating word picture corresponding with the minimum resolution, obtains the 3rd word picture;
Preserving module, for preserving the minimum resolution, the 3rd word picture, the position and the font size extremely The thumbnail file data trailer.
Further, also include:
Setup module, the word quantity for being shown according to the font size and the textbox domestic demand sets the textbox Length and width.
Further, also include:
Indicating module, for setting word of the arrow with being shown in the textbox from textbox sensing thumbnail The corresponding word segment of content.
Embodiment:
Embodiments of the invention provide a kind of method for showing word in thumbnail, comprise the following steps:
The minimum resolution that word can be identified in S1, parsing picture;The S1 is specially default by arrive small order note greatly Record the list of resolution ratio;Word in the picture is shown by the resolution ratio of the list records and obtains corresponding word picture Group;Obtain two width word pictures adjacent in the word picture group and obtain the first word picture and the second word picture;If institute Stating word in the first word picture can be identified, and word can not be identified in the second word picture, then:First word is set The resolution ratio of picture is the minimum resolution.
For example, pre-setting list, resolution ratio record from big to small in list;Receive a caricature artwork, parsing Caricature artwork, obtains the word picture in caricature artwork, aobvious according to the resolution ratio recorded in the list to the word picture Show and obtain corresponding word picture group.Obtain two width word pictures adjacent in the word picture group and obtain the first word picture With the second word picture;If word can be identified in the first word picture, word can not be by the second word picture Identification, then:The resolution ratio for setting the first word picture is the minimum resolution.
S2, the corresponding thumbnail of the acquisition picture.
For example, obtaining the thumbnail of caricature artwork.
The position of word and font size in S3, the resolution ratio of the acquisition thumbnail and the thumbnail.
For example, the caricature picture generated with minimum resolution is obtained, the coordinate of word in the caricature picture is obtained, then obtains Obtain the transformation relation between minimum resolution and the resolution ratio of the caricature thumbnail;, will be with minimum according to the transformation relation The Coordinate Conversion of word is into the position of word in the caricature thumbnail in the caricature picture of resolution ratio generation, while obtaining described The font size of word in caricature thumbnail.
S4, generation word picture corresponding with the minimum resolution, obtain the 3rd word picture;Preserve described minimum point Resolution, the 3rd word picture, the position and the font size are to the thumbnail file data trailer.
For example, the word picture being identified in caricature picture is shown with the minimum resolution obtained in step S1, is obtained Corresponding 3rd word picture, preserves the minimum resolution, the 3rd word picture, the position and the font size to institute State caricature thumbnail file data trailer.And to preserving the caricature thumbnail of this four data in tail of file in its afterbody Identifier is set.
S5, judge the minimum resolution whether be not more than the thumbnail resolution ratio, if so, then according to institute's rheme Put, font size, minimum resolution show word;If it is not, textbox is set, and it is aobvious with the minimum resolution in the textbox Show word.For described textbox, the word quantity that should be shown according to the font size and the textbox domestic demand sets institute State the length and width of textbox.
Whether have identifier, the afterbody of caricature thumbnail is illustrated if having if for example, first determining whether the afterbody of caricature thumbnail Preserve the 3rd word picture, the position and the font size that the minimum resolution, the step S4 are obtained;Then read and protect There is the minimum resolution of caricature thumbnail afterbody, judge whether the minimum resolution is not more than the caricature thumbnail Resolution ratio, if so, then reading and saving caricature thumbnail afterbody the step S4 obtain the 3rd word picture, institute's rheme Put with the font size, in the position, by the font size, show the 3rd word picture that the step S4 is obtained;If it is not, then reading Go bail for and there is the 3rd word picture that the step S4 of caricature thumbnail afterbody is obtained, and should be according to the font size and described The word quantity that textbox domestic demand is shown sets the length and width of the textbox.Shown in described textbox by the step S4 The 3rd word picture obtained.
S5, setting arrow are corresponding with the word content shown in the textbox from textbox sensing thumbnail Word segment.
For example, the textbox for setting arrow to be obtained from the step S5 is obtained in pointing to caricature thumbnail with the step S5 Textbox in display the corresponding word segment of word content.
In summary, the method and system of word in a kind of display thumbnail that the present invention is provided, the presets list record point Resolution, by verifying that log resolution obtains the minimum resolution that word in thumbnail can be recognized clearly to parse in the list Rate, the word in thumbnail is shown with the minimum resolution, if the resolution ratio of thumbnail in itself is more than or equal to described Minimum resolution, then in the case where not changing the position of the thumbnail word and word, thumbnail is shown by minimum resolution Word;If being shown less than if by way of creating the textbox of suitable length and width.And it is aobvious come indication character inframe with arrow The word shown corresponding part in thumbnail;Meanwhile, thumbnail file data trailer saves the minimum resolution, described Position and the font size;Word picture is shown according to the minimum resolution, position, font size;Thumbnail file only need to be read The information of afterbody carries out associative operation again just can be with.Used aforesaid way is realized and shown with the minimum resolution that can be identified Word in thumbnail, that is, ensure that word can be recognized clearly in thumbnail, also ensure that will not additionally produce excessive deposit Store up data.
Embodiments of the invention are the foregoing is only, are not intended to limit the scope of the invention, it is every to utilize this hair The equivalents that bright specification and accompanying drawing content are made, or the technical field of correlation is directly or indirectly used in, similarly include In the scope of patent protection of the present invention.

Claims (10)

1. a kind of method for showing word in thumbnail, it is characterised in that including:
The minimum resolution that word can be identified in parsing picture;
Obtain the corresponding thumbnail of the picture;
Obtain the position of word and font size in the resolution ratio and the thumbnail of the thumbnail;
Judge the minimum resolution whether be not more than the thumbnail resolution ratio, if so, then according to the position, font size, Minimum resolution shows word;If it is not, setting textbox, and word is shown with the minimum resolution in the textbox.
2. a kind of method for showing word in thumbnail according to claim 1, it is characterised in that word in parsing picture The minimum resolution that can be identified, be specially:
It is default to press the list for arriving small journal resolution ratio greatly;
Word in the picture is shown by the resolution ratio of the list records and obtains corresponding word picture group;
Obtain two width word pictures adjacent in the word picture group and obtain the first word picture and the second word picture;
If word can be identified in the first word picture, word can not be identified in the second word picture, then:Set The resolution ratio of first word picture is the minimum resolution.
3. a kind of method for showing word in thumbnail according to claim 1, it is characterised in that also include:
Generation word picture corresponding with the minimum resolution, obtains the 3rd word picture;
The minimum resolution, the 3rd word picture, the position and the font size are preserved to the thumbnail file number According to afterbody.
4. a kind of method for showing word in thumbnail according to claim 1, the textbox, it is characterised in that:
The word quantity shown according to the font size and the textbox domestic demand sets the length and width of the textbox.
5. a kind of method for showing word in thumbnail according to claim 1, it is characterised in that also include:
Arrow character portion corresponding with the word content shown in the textbox from textbox sensing thumbnail is set Point.
6. a kind of system for showing word in thumbnail, it is characterised in that including:
Parsing module, for parsing the minimum resolution that word can be identified in picture;
Breviary module, for obtaining the corresponding thumbnail of the picture;
The position of word and font size in acquisition module, the resolution ratio and the thumbnail for obtaining the thumbnail;
Judge module, for judging whether the minimum resolution is not more than the resolution ratio of the thumbnail, if so, then according to institute Rheme is put, font size, minimum resolution show word;If it is not, textbox is set, and with the minimum resolution in the textbox Rate shows word.
7. according to claim 6 it is a kind of show thumbnail in word system, it is characterised in that described parsing module, Also include:
Default unit, for default by the list for arriving small journal resolution ratio greatly;
Display unit, corresponding word picture is obtained for word in the picture to be shown by the resolution ratio of the list records Group;
Acquiring unit, the two width word pictures for obtaining adjacent in the word picture group obtain the first word picture and second Word picture;
Setting unit, if can be identified for word in the first word picture, word can not in the second word picture It is identified, then:The resolution ratio for setting the first word picture is the minimum resolution.
8. a kind of system for showing word in thumbnail according to claim 6, it is characterised in that also include:
Generation module, for generating word picture corresponding with the minimum resolution, obtains the 3rd word picture;
Preserving module, for preserving the minimum resolution, the 3rd word picture, the position and the font size to described Thumbnail file data trailer.
9. a kind of system for showing word in thumbnail according to claim 6, it is characterised in that also include:
Setup module, the word quantity for being shown according to the font size and the textbox domestic demand sets the length of the textbox It is wide.
10. a kind of system for showing word in thumbnail according to claim 6, it is characterised in that also include:
Indicating module, for setting word content of the arrow with being shown in the textbox from textbox sensing thumbnail Corresponding word segment.
CN201710086040.6A 2017-02-17 2017-02-17 Method and system for displaying characters in thumbnail Active CN106951226B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710086040.6A CN106951226B (en) 2017-02-17 2017-02-17 Method and system for displaying characters in thumbnail

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710086040.6A CN106951226B (en) 2017-02-17 2017-02-17 Method and system for displaying characters in thumbnail

Publications (2)

Publication Number Publication Date
CN106951226A true CN106951226A (en) 2017-07-14
CN106951226B CN106951226B (en) 2021-01-26

Family

ID=59467624

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710086040.6A Active CN106951226B (en) 2017-02-17 2017-02-17 Method and system for displaying characters in thumbnail

Country Status (1)

Country Link
CN (1) CN106951226B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6252588B1 (en) * 1998-06-16 2001-06-26 Zentek Technology, Inc. Method and apparatus for providing an audio visual e-mail system
CN104125419A (en) * 2014-06-24 2014-10-29 北京理工大学 Self-adaptive resolution ratio implementing method based on CMOS image sensor
CN104850660A (en) * 2015-06-04 2015-08-19 广东欧珀移动通信有限公司 Picture displaying method, picture displaying device and mobile terminal
CN105447034A (en) * 2014-08-29 2016-03-30 富泰华工业(深圳)有限公司 Method and system for generating picture thumbnail
CN106227398A (en) * 2016-06-29 2016-12-14 宇龙计算机通信科技(深圳)有限公司 A kind of camera image character displaying method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6252588B1 (en) * 1998-06-16 2001-06-26 Zentek Technology, Inc. Method and apparatus for providing an audio visual e-mail system
CN104125419A (en) * 2014-06-24 2014-10-29 北京理工大学 Self-adaptive resolution ratio implementing method based on CMOS image sensor
CN105447034A (en) * 2014-08-29 2016-03-30 富泰华工业(深圳)有限公司 Method and system for generating picture thumbnail
CN104850660A (en) * 2015-06-04 2015-08-19 广东欧珀移动通信有限公司 Picture displaying method, picture displaying device and mobile terminal
CN106227398A (en) * 2016-06-29 2016-12-14 宇龙计算机通信科技(深圳)有限公司 A kind of camera image character displaying method and device

Also Published As

Publication number Publication date
CN106951226B (en) 2021-01-26

Similar Documents

Publication Publication Date Title
CN105302550B (en) The page is switched to the method and system of format data stream file
US8892990B2 (en) Automatic creation of a table and query tools
CN104462029B (en) The method and system that rich text is shown in a kind of intelligent terminal
CN104281827A (en) Method and device for recognizing two-dimensional code
CN108121539B (en) Component processing method and device
CN110414520A (en) Universal character recognition methods, device, computer equipment and storage medium
CN105183837A (en) Mobile terminal thumbnail list view display method and system
CN108197686A (en) Item barcode analytic method, device and computer readable storage medium
CN109947720A (en) A kind of pre-reading method of files, device, equipment and readable storage medium storing program for executing
CN105844683A (en) Pixel difference frame-by-frame animation realization method based on Canvas and WebWorker
CN110377516A (en) Test method, device, electronic equipment and computer readable storage medium
CN103631777A (en) Method and system for browsing image
CN108694733A (en) Superposition Dynamic Graph display system and its display methods on a kind of Background based on MCU
CN201628974U (en) System for checking inventory in stereoscopic warehouse
CN105653665B (en) Method and device for realizing efficient note access
CN103581315A (en) Weather display system and method of mobile terminal
CN103176977B (en) Load the method for the page, system and browser
CN106951226A (en) The method and system of word in a kind of display thumbnail
CN204537223U (en) Express Logistics based on Quick Response Code recognition technology sends to terminal device
CN102487362B (en) The display packing of IM message and device
CN107193815B (en) Page code processing method, device and equipment
CN106201467B (en) Screenshot labeling interface display method and device
CN104750814A (en) Multisensor-based multivariate and heterogeneous data steam automatic storage method
CN107590411A (en) A kind of method and system of the Quick Response Code identification based on WWW
CN114302087B (en) MIPI data transmission mode conversion method and device and electronic equipment

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
GR01 Patent grant
GR01 Patent grant