CN108241594A - Word editing method, electronic equipment and recording medium - Google Patents
Word editing method, electronic equipment and recording medium Download PDFInfo
- Publication number
- CN108241594A CN108241594A CN201710975869.1A CN201710975869A CN108241594A CN 108241594 A CN108241594 A CN 108241594A CN 201710975869 A CN201710975869 A CN 201710975869A CN 108241594 A CN108241594 A CN 108241594A
- Authority
- CN
- China
- Prior art keywords
- mentioned
- word
- image
- text
- formattings
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/103—Formatting, i.e. changing of presentation of documents
- G06F40/109—Font handling; Temporal or kinetic typography
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B41—PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
- B41F—PRINTING MACHINES OR PRESSES
- B41F33/00—Indicating, counting, warning, control or safety devices
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/103—Formatting, i.e. changing of presentation of documents
- G06F40/106—Display of layout of documents; Previewing
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Health & Medical Sciences (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Artificial Intelligence (AREA)
- Character Input (AREA)
- Character Discrimination (AREA)
- Document Processing Apparatus (AREA)
- Record Information Processing For Printing (AREA)
Abstract
Word editing method, electronic equipment and storage medium.Word editing method includes:The step of text information of above-mentioned reference word being obtained from the reference image comprising the image with reference to word;Based on multiple text formattings that the above-mentioned text information with reference to word and storage part are stored, generate to above-mentioned with reference to letter application obtained from each text formatting of above-mentioned multiple text formattings the step of multiple comparison images;The step of being calculated with the similar degree between image each comparison of the above-mentioned image with reference to word and above-mentioned multiple comparisons image;And display unit is made to show based on above-mentioned similar degree at least one of above-mentioned multiple text formattings of the edit object letter application that is inputted obtained from text formatting the step of the image of at least one absent Chinese character.
Description
Technical field
The present invention relates to word editing method, electronic equipment and recording mediums.
Background technology
All the time, it is known that a kind of application program, to passing through label on the electronic equipments such as smart mobile phone, personal computer
The printing equipments such as printer are to the word of printed dielectric printing into edlin.Such application program is for example recorded in patent text
Offer 1 (Japanese Unexamined Patent Publication 2013-037393 bulletins).
However, electronic equipment has the various functions into edlin to word, such as to words such as font, italic, runics
The function that form is set.The editor of word is the operation of very time consuming labour, for example, setting this for font
For, it is usually registered with a large amount of font in the electronic device, therefore be not easy to find out and set the font of hobby.
Invention content
In view of above such actual conditions, the purpose of of the invention side is that mitigation copy editor is required
The operating burden of user.
The present invention provides a kind of word editing method, including:It is obtained from the reference image comprising the image with reference to word
The step of stating the text information with reference to word;The multiple texts stored based on the above-mentioned text information with reference to word and storage part
Word format is generated to above-mentioned with reference to letter application multiple comparisons obtained from each text formatting of above-mentioned multiple text formattings
The step of with image;To the above-mentioned class with reference between the image of word and each comparison image of above-mentioned multiple comparison images
The step of being calculated like degree;And display unit is made to show based on above-mentioned similar degree to the edit object letter application that is inputted
Obtained from least one of above-mentioned multiple text formattings text formatting the step of the image of at least one absent Chinese character.
The present invention also provides a kind of electronic equipment, have:Store the storage part of the information of multiple text formattings;Display unit;
And calculating part, above-mentioned calculating part are, the above-mentioned word with reference to word is obtained from the reference image comprising the image with reference to word
Information based on multiple text formattings that the above-mentioned text information with reference to word and above-mentioned storage part are stored, is generated to above-mentioned
With reference to letter application multiple comparison images obtained from each text formatting of above-mentioned multiple text formattings, to above-mentioned reference
Each comparison of the image of word and above-mentioned multiple comparisons image is calculated with the similar degree between image, makes above-mentioned display
Portion is shown based on above-mentioned similar degree at least one of above-mentioned multiple text formattings of the edit object letter application that is inputted
The image of at least one absent Chinese character obtained from text formatting.
The present invention also provides a kind of recording medium, logging program, which makes computer perform following processing:From including ginseng
Obtain the above-mentioned text information with reference to word according to the reference image of the image of word, based on the above-mentioned text information with reference to word with
And multiple text formattings that storage part is stored, it generates to above-mentioned with reference to letter application each text of above-mentioned multiple text formattings
Multiple comparison images obtained from word format, to each ratio of the above-mentioned image with reference to word and above-mentioned multiple comparison images
It is calculated compared with the similar degree between image, display unit is made to show based on above-mentioned similar degree to the edit object word that is inputted
The image of at least one absent Chinese character obtained from applying at least one of above-mentioned multiple text formattings text formatting.
According to above-mentioned mode, the operating burden of the required user of copy editor can be mitigated.
Description of the drawings
Fig. 1 is the figure of the composition for the print system for illustrating present embodiment.
Fig. 2 is the block diagram for the composition for representing printing equipment 1 and electronic equipment 100.
Fig. 3 is an example of the flow chart of copy editor's processing.
Fig. 4 is an example of the label editing picture before font setting.
Fig. 5 is the figure for illustrating the adquisitiones of reference image.
Fig. 6 is the example that reference image shows picture.
Fig. 7 is an example of font selection picture.
Fig. 8 is an example of the label editing picture after font selection.
Fig. 9 is the variation of the flow chart of copy editor's processing.
Figure 10 is the other examples that reference image shows picture.
Figure 11 is the other examples of font selection picture.
Figure 12 is other variations of the flow chart of copy editor's processing.
Figure 13 be for illustrate printed article and with reference to word dimensional ratios computational methods figure.
Specific embodiment
Fig. 1 is the figure of the composition for the print system for illustrating present embodiment.Fig. 2 is to represent printing equipment 1 and electronic equipment
The block diagram of 100 composition.Print system shown in FIG. 1 includes printing equipment 1 and sends printed data to printing equipment 1
Electronic equipment 100.Printing equipment 1 with electronic equipment 100 by radio communication or wire communication exchanges data.
Printing equipment 1 is the printing equipment printed to being printed medium M, for example, being printed Jie in strip
The label machine printed in a manner of single track on matter M.Below, it is the thermal transfer mode using ink ribbon by printing equipment 1
The situation of label machine illustrate as an example, but printing equipment 1 can also be the sensible heat mode using heat sensitive paper
Label machine.In addition, the printing equipment 1 as label machine is not limited to thermal printer or ink-jet printer.
Printed medium M is, for example, to have the base material with adhesive layer and can be removed in a manner of covering adhesive layer
Ground is pasted on the tape member of the peeling paper of base material.Printed medium M can also be the tape member of no peeling paper.
As shown in Figure 1, in printing equipment 1, above the device framework 20 of tube shape on be provided with cap 10,
And multiple buttons (button 21, button 22a, button 22b, button 22c, button 22d).Button 21 is that the opening and closing of cap 10 is pressed
Button.Button 22a to button 22d is power knob, wireless communications button, supply button, cutting button respectively.Although in addition, not
Diagram, but power cord connection terminal, external equipment connection terminal etc. are provided in device framework 20.
Cap 10 is configured to be opened and closed.Cap 10 is to be pressed to open by button 21, make the box of receiving tape drum
Expose to outside receiving portion.Fenestrate 11 are formed on cap 10, so as to even if cap 10 closing in the state of can pass through
It visually observes to confirm whether box receiving portion is accommodated with tape drum.In addition, it is formed with outlet in the side of device framework 20
20a.The printed medium M printed in printing equipment 1 is discharged from outlet 20a to outside device.
Other than above-mentioned composition, as shown in Figure 2, printing equipment 1 is also equipped with control unit 2, communication interface 3, ROM
(Read Only Memory) 4, RAM (Random Access Memory) 5, thermistor 23, head drive circuit 24, thermal head
25th, pressure roller 26, carry with motor 27, carry with motor drive circuit 28, cutter motor drive circuit 29, cutter motor 30, complete
Cut mechanism 31, hemisection mechanism 32 and bandwidth detection switch 33.
The processor 2a such as including CPU (Central Processing Unit) of control unit 2.Control unit 2 pass through by
The program that ROM4 is stored is unfolded and is performed on RAM5, and thus the action of each section of printing equipment 1 is controlled.Communication
Interface 3 passes through transceiving data between wire communication or wireless communication and external device (ED) (for example, electronic equipment 100).
It is stored in ROM4 required to being printed the execution of print routine, print routine printed of medium M
Various data (for example, font etc.).In addition, ROM4 can also be by the storage medium of program that control unit 2 is read as storage
Effect.RAM5 is the printed data memory of memory print data, and is working storage used in the execution of program.
Head drive circuit 24 based on printed data and strobe signal to the heater element 25a that thermal head 25 has into
Row is powered.Thermal head 25 is with the print head of multiple heater element 25a arranged on main scanning direction.In thermal head 25
Embedment has the thermistor 23 being measured to the temperature of thermal head 25.Thermal head 25 carries out ink ribbon by heater element 25a
It heats and is printed by line every time on printed medium M by thermal transfer.
Carrying drives carrying motor 27 with motor drive circuit 28.It is, for example, stepper motor to carry with motor 27, makes pressure
Roller 26 rotates.Pressure roller 26 is rotated by carrying with the power of motor 27, along the long side direction (subscan of printed medium M
Direction, carry direction) carry printed medium M.
Cutter motor drive circuit 29 drives cutter motor 30.Quan Qie mechanisms 31 and hemisection mechanism 32 pass through cutter motor
30 power and act, printed medium M is cut entirely or hemisection.So-called complete cut refers to the base material of printed medium M
With the action cut off together with peeling paper along the width direction of printed medium M, so-called hemisection refer to only by base material along
The action that width direction is cut off.Cutter motor drive circuit 29 for example may be, when button 22d is pressed, driving
Printed medium M cuts entirely in cutter motor 30 and Shi Quanqie mechanisms 31.
Bandwidth detection switch 33 is the switch for being detected based on the shape of tape drum to the width for being printed medium M.
Bandwidth detection switch 33 is provided with multiple in box receiving portion.The different tape drum of bandwidth is configured to, and multiple bandwidth detections are switched 33
It is pressed respectively with different combinations.Control unit 2 determines the type of tape drum according to the combination of bandwidth detection switch 33 being pressed,
The width (bandwidth) for being printed medium M is detected.
As shown in Figure 1 and Figure 2, electronic equipment 100 has display unit 101, input unit 103 and photographic device
104, the e.g. portable computer such as smart mobile phone, tablet terminal.Display unit 101 for example can be liquid crystal display,
It can be organic electroluminescent (organic EL) display.Input unit 103 is, for example, touch panel.Photographic device 104 is, for example, to have
The camara module of the photographing elements such as standby CMOS (Complementary Metal Oxide Semiconductor) sensor,
Obtain aftermentioned reference image.
Other than above-mentioned composition, electronic equipment 100 is also equipped with display driver circuit 102, register 105, communication interface
106th, ROM107, RAM108 and control unit 109.Display driver circuit 102 is, for example, LCD driver circuit, organic
EL display driving circuits.Register 105 is the storage part for storing multiple text formattings.So-called text formatting refers to word
The form of setting, and be the setting for the form of word.Text formatting include font, font size, the color of word, tiltedly
Body, underscore and runic etc..Control unit 109 has processor 110.Processor 110 is calculating part, by execution using journey
Sequence, to by printing equipment 1 to the word that printed medium M is printed into edlin.
Fig. 3 is an example of the flow chart of copy editor's processing.Fig. 4 is one of the label editing picture before font setting
A example.Fig. 5 is the figure for illustrating the adquisitiones of reference image.Fig. 6 is the example that reference image shows picture.Figure
7 be an example of font selection picture.Fig. 8 is an example of the label editing picture after font selection.Hereinafter, with reference to figure
3 to Fig. 8, the copy editor shown in Fig. 3 processing carried out by electronic equipment 100 is illustrated.
Copy editor's processing shown in Fig. 3 is font to be set for changing and the processing to word into edlin.For example,
By electronic equipment 100 perform word that opposite printed medium M printed into edlin application program during,
Font setting button B1 is pressed on label editing picture shown in Fig. 4, thus starts copy editor's processing shown in Fig. 3.Fig. 4
Represent that the inputs of the editing area ER in label editing picture have the example of edit object word C1 (being herein " ABC Meter Suan Machine ")
Son.In addition, so-called edit object word refers to the change by text formattings such as fonts and the word of the object as editor.
When copy editor, which is handled, to be started, first, processor 110 obtains the text information (step of edit object word C1
S1).In addition, text information is the word content for the setting for being not dependent on text formatting, such as determined by character code etc..
In addition, so-called word, the form of word is further included other than the content (text information) of word, even if with identical word
Information, multiple words with mutually different form (forms such as font) also serve as mutually different word to treat.
Next, processor 110 obtains reference image M1 (step S2).It is set here, so-called reference image M1 refers to include
There is user to want the word of the text formatting (being herein font) of setting to edit object word (hereinafter referred to as with reference to text surely
Word) image.Reference image M1 for example can be user by being operated to obtain from internet to electronic equipment 100
Image or user photographed object and the figure obtained by the photographic device 104 of electronic equipment 100
Picture.
In addition, Fig. 5 represents that user takes the photograph poster (object) 200 by the photographic device 104 of electronic equipment 100
Shadow and the example for obtaining reference image M1.In addition, Fig. 6 (a) represents what acquired reference image M1 was shown in display unit 101
Example.
When obtaining reference image M1, processor 110 obtains the text information (step with reference to word C11 from reference image M1
Rapid S3).With reference to word C11 (being herein " XYZ from Move Trucks ") text information for example using the light from image zooming-out text information
The technologies such as Text region (OCR) are learned to obtain.
In addition, in the case where reference image M1 contains with reference to word other than word C11 etc., processor 110 can also
It carries out setting the preceding processing for gazing at region on reference image M1 according to the input from user first, then, from gazing at area
Domain obtains the text information with reference to word C11.Here, it is the selected region in reference image M1 to gaze at region, and it is packet
Containing the region with reference to word C11.Thereby, it is possible to more reliably obtain the text information with reference to word C11.Fig. 6 (b) expressions are being joined
According to be set on image M2 comprising with reference to word C11 the example for gazing at region ROI (region enclosed by the dotted line).
When obtaining the text information with reference to word C11, processor 110 generates multiple comparison images (step S4).Tool
It says to body, multiple fonts that processor 110 is stored based on the text information with reference to word C11 and register 105, generation point
It Bao Han not be with multiple comparison images with reference to the corresponding words of word C11.Fig. 6 (c) represents multiple comparison image P1~Pn
An example.Here, multiple comparisons included respectively with image with reference to the corresponding word of word C11, being to have and reference
The word of text information identical word C11, be to reference to word C11 apply register 105 stored it is mutually different
The word of each font of multiple fonts.That is, multiple comparisons are to applying each of multiple fonts with reference to word C11 with image
The multiple images of font.
When generating multiple comparison images, processor 110 is to the reference in the reference image M1 that obtains in step s 2
The image of word C11 and each comparison of multiple comparisons image generated in step s 4 are carried out with the similar degree between image
It calculates (step S5).So-called similar degree quantitatively represents which kind of similar degree of 2 images.As the similar degree between image into
The method that row calculates, it is known to various methods.The computational methods used in step s 5 are not limited to specific method.For example,
Can also the similar degree between image be calculated based on the LPB (local binary patterns) generated according to image.In addition it is also possible to it uses
It is referred to as the similar degree computational methods of Average Hash (mean value Hash) to calculate similar degree.In addition, for example, it is also possible to pass through
Squared difference and (SSD), absolute difference and (SAD) and regular cross-correlation (NCC) are calculated, it is similar to calculate
Degree.Here, in the case of obtaining reference image M1 being photographed by photographic device 104 to object, sometimes from just
The position of face offset photographs to object, and object composition deformation.In this case, preferably for example by make with reference to scheme
As M1 deformations, object is made to carry out above-mentioned processing close to after the image in the case of the photography of front.
When calculating similar degree, processor 110 is based on the similar degree calculated in step s 5, from 105 institute of register
At least one font (step S6) is selected in multiple fonts of storage.Here, processor 110 can also be for example determined to multiple ratios
Compared with the similar degree in image between reference image M1 become threshold value more than comparison image setting font, and by its
The selected as specific font of at least more than one.Presence thereby, it is possible to the font for preventing over sight (OS) similar.In addition, threshold value also may be used
Arbitrarily to be changed by user.Processor 110 can also be for example determined in multiple comparison images and in reference image M1
The image with reference to word C11 between preceding specified quantity comparison image setting of similar degree when sorting from high to low rule
The font of fixed number amount, and it is chosen to the specific font of at least more than one.Thereby, it is possible to the quantity of similar font is pre-
It is first reduced to and the corresponding preferred quantity such as the size of display unit 101.In addition, specified quantity can also be arbitrary by user
It changes on ground.
Then, processor 110 carries out list display (step to the image for being set with the absent Chinese character of mutually different font
S7).Here, at least one specific font selected in step s 6 is applied to edit object word C1 by processor 110, and obtain
To at least one absent Chinese character corresponding with edit object word C1.At least one absent Chinese character is respectively provided with and edit object word
Text information identical C1.Then, processor 110 to the image of obtained at least one absent Chinese character display unit 101 into
Row-column list is shown.The image of at least one absent Chinese character of each font of at least one font is applied as a result, in display unit
101 displays.In addition, Fig. 7 represent 4 absent Chinese characters image Q1~Q4 (absent Chinese character C2, absent Chinese character C3, absent Chinese character C4,
The image of absent Chinese character C5) example that is shown in display unit 101 with list shape.
Next, processor 110 monitors selection (step S8) of the user to absent Chinese character.Then, when processor 110 connects
By from the image of at least one absent Chinese character shown by display unit 101 to when the selecting of image of an absent Chinese character,
By to a selected absent Chinese character (hereinafter referred to as the first absent Chinese character) application font, applied to edit object word
C1 (step S9).Here, edit object word C1 is compiled as the first printing object text by processor 110 by the application of font
Word is updated the display of label editing picture.Fig. 8 shows select picture to absent Chinese character C2 by font shown in Fig. 7
Carry out selection as a result, the edit object word C1 in the editing area ER of label editing picture is edited as printing object word
The printing object word C2 that font is applied to edit object word C1 is set as the example of the word of printing object by C2.
Finally, processor 110 judges whether that copy editor's processing shown in Fig. 3 is made to terminate (step S10), performs step repeatedly
The processing of rapid S1 to step S10, until being judged as terminating copy editor's processing.
In electronic equipment 100, user's selection includes the text of font for being set with and wanting to set to edit object word
The image of word (with reference to word) thus will set edit object word (application) font same or similar with the font
Absent Chinese character image carry out list display.Therefore, user is only by from the image of the absent Chinese character of institute's list display
Select arbitrary word, it will be able to be easily the font liked by edit object copy editor.Therefore, according to electronic equipment
100, the operating burden of the required user of copy editor can be reduced.
It illustrates in figure 3 and edits the processing of word, but electronic equipment 100 is not limited to font and sets by changing font setting
It is fixed, it can also be by being set for change to text formatting is whole and editing word.
Fig. 9 is the variation of the flow chart of copy editor's processing.Figure 10 is the other examples that reference image shows picture.Figure
11 be other examples of font selection picture.Hereinafter, with reference to Fig. 9 to Figure 11 to the word shown in Fig. 9 that is carried out by electronic equipment 100
Editing and processing illustrates.
Copy editor shown in Fig. 9 processing, be it is whole to text formatting (other than font, further include italic, lower stroke
Line, runic etc.) be set for change and edit the processing of word.It is for example, opposite printed by being performed in electronic equipment 100
The word that medium M is printed into edlin application during, pressed on label editing picture to text formatting carry out
Thus the setting button of setting starts copy editor's processing shown in Fig. 9.
When copy editor, which is handled, to be started, first, processor 110 obtains the text information (step of edit object word C1
S11).Then, reference image M3 (step S12) is obtained, and the text information (step with reference to word C12 is obtained from reference image M3
Rapid S13).In addition, the processing from step S11 to step S13 is similary with the processing of step S1 to step S3 shown in Fig. 3.Figure 10
Represent the example that the reference image M3 obtained in step s 12 is shown in display unit 101.Reference image M3 is included with underscore
Reference word C12.
Next, processor 110 generates multiple comparison images (step S14).Specifically, processor 110 is based on ginseng
Multiple text formattings that text information and register 105 according to word C12 are stored, generation include and reference word respectively
Multiple comparison images of the corresponding words of C12.Pair word corresponding with the reference word C12 that multiple comparison images are included
The text formatting applied respectively is mutually different, and is stored respectively in register 105.
When generating multiple comparison images, processor 110 is literary to the reference of reference image M3 obtained in step s 12
The image of word C12 is counted with the multiple comparisons generated in step S14 with the similar degree of each comparison image in image
It calculates (step S15), and at least one specific text formatting (step S16) is selected based on similar degree.In addition, the place of step S15
Reason is similary with the processing of step S5 shown in Fig. 3.In addition, the processing of step S16 in addition to replace font and select text formatting this
It is similary with the processing of step S6 shown in Fig. 3 other than a bit.
Then, processor 110 carries out list display to the image for applying the absent Chinese character of mutually different text formatting
(step S17).Here, at least one specific text that processor 110 selects edit object word C1 settings in step s 16
Word format obtains at least one absent Chinese character corresponding with edit object word C1.Then, processor 110 by gained at least
The image of one absent Chinese character carries out list display in display unit 101.Each text of at least one text formatting is applied as a result,
The image of at least one absent Chinese character is shown in display unit 101 obtained from word format.In addition, Figure 11 represents 4 absent Chinese characters
Image Q5~Q8 (absent Chinese character C6, absent Chinese character C7, absent Chinese character C8, absent Chinese character C9 image) display unit 101 with
The example that list shape is shown.
Next, processor 110 monitors the selection (step S18) that is carried out to absent Chinese character of user, when receiving one
During the selection of the image of absent Chinese character, the text formatting that a selected absent Chinese character is applied is applied to edit object text
Word C1 (step S19).Edit object word C1 is edited as a result, and the display of label editing picture is updated.Then, processor
110 are repeated processing of the step S11 to step S20, until being judged as that copy editor's processing is made to terminate (step S20:It is).
Electronic equipment 100 carries out copy editor's processing shown in Fig. 9, and thus user only passes through the candidate text from institute's list
Arbitrary word is selected in word, it will be able to be easily the text formatting liked by edit object copy editor.Therefore, according to electricity
Sub- equipment 100 can reduce the operating burden of the required user of copy editor.
It instantiates in fig.9 and edits the processing of word, but electronic equipment 100 also may be used by changing the setting of text formatting
With white setting more than being carried out on the basis of the setting of text formatting.
Figure 12 is other variations of the flow chart of copy editor's processing.Figure 13 be for illustrate printed article with reference to word
Dimensional ratios computational methods figure.Hereinafter, with reference to Figure 12 and Figure 13, to Figure 12 institutes carried out by electronic equipment 100
The copy editor's processing shown illustrates.
In copy editor's processing shown in Figure 12, when sending printed data, on the basis of the text formatting more than progress
White setting.In addition, the copy editor's processing and copy editor shown in Fig. 9 processing shown in Figure 12 are similary, by being compiled in label
It collects the setting button that setting text formatting is pressed on picture and starts.The processing of step S21 to step S30 with it is shown in Fig. 9
The processing of step S11 to step S20 are similary.Below, to achieve reference image as shown in Figure 13 in step S22
It is illustrated in case of M4.Reference image M4 be the label i.e. printed article P being printed with reference to word C14 is imaged and
Obtained image.
At the end of processor 110 is judged as editor in step s 30, judge whether to have input printing instruction (step
S31).Here, processor 110 for example judges whether the print button B2 of label editing picture is pressed.
When being judged as not inputting printing instruction, processor 110 terminates copy editor's processing shown in Figure 12.The opposing party
Face, when being judged as having input printing instruction, processor 110 obtains the dimension information (step of printed medium M from printing equipment 1
Rapid S32).Here, processor 110 is for example via 106 pairs of 1 solicited messages of printing equipment of communication interface (communication IF), thus from print
Brush device 1 obtains the dimension information of printed medium M.If in the case where printed medium M is tape member, for example, by printing
The dimension information of brush medium M is bandwidth.
Next, processor 110 is calculated based on the reference image M4 obtained in step S22 represented by reference image M4
Printed article P size L1 and the ratio (step S33) of the size L2 of reference word C14 printed on printed article P.Above-mentioned
Size (size L1 and size L4) can also be the size in reference image M4.
Then, the character size of the opposite printed medium M printings of processor 110 is set (step S34).Here, place
Dimension information of the device 110 based on the printed medium M obtained in step s 32 and the rate value calculated in step S33 are managed,
It determines the character size printed to printed medium M, the size of absent Chinese character edited in step S29, and is set.
Specifically, the product of the size of printed medium M and ratio (L2/L1) is for example set as the ruler of absent Chinese character by processor 110
It is very little.
Finally, processor 110 is by the absent Chinese character edited included in step S29 and the word set in step S34
The printed data of body size sends (step S35) to printing equipment 1, terminates copy editor's processing shown in Figure 12.As a result, with
The identical balance of balance between reference the word C14 and Yu Bai in printed article P, by the absent Chinese character edited to printed
Medium M prints.
Electronic equipment 100 carries out copy editor's processing shown in Figure 12, and thus user only passes through the candidate from institute's list
Arbitrary word is selected in word, it will be able to be easily the text formatting liked by edit object copy editor.Also, for
The setting of Yu Bai, user can also be easily set to the balance identical with reference image.Therefore, according to electronic equipment 100,
The operating burden of the required user of copy editor can be reduced.
The above embodiment illustrates concrete example, but the present invention is not limited to above-mentioned realities to make the understanding of invention easy
Apply mode.Program, word editing method and electronic equipment, can in the range of the record for not departing from Patent request range
Carry out various modifications and changes.For example, the example that electronic equipment 100 is portable computer is illustrated in Fig. 1, but can also
It is desktop computer.In addition, illustrating the example for selecting multiple fonts or text formatting in Fig. 3, Fig. 9, Figure 12, but also may be used
To select a font or text formatting, and a selected text formatting sets edit object word, by
This sets edit object word.
Claims (11)
1. a kind of word editing method, including:
The step of text information of above-mentioned reference word being obtained from the reference image comprising the image with reference to word;
Based on multiple text formattings that the above-mentioned text information with reference to word and storage part are stored, generate to above-mentioned with reference to text
Obtained from word applies each text formatting of above-mentioned multiple text formattings the step of multiple comparison images;
Each comparison of above-mentioned image and above-mentioned multiple comparisons image with reference to word is carried out with the similar degree between image
The step of calculating;And
Display unit is made to show based on above-mentioned similar degree in the above-mentioned multiple text formattings of the edit object letter application that is inputted
At least one text formatting obtained from least one absent Chinese character image the step of.
2. word editing method as described in claim 1, further includes:
In the image from above-mentioned at least one absent Chinese character shown by above-mentioned display unit, select to above-mentioned edit object text
It, will be to above-mentioned edit object letter application obtained from word applies specific text formatting during the image of specific absent Chinese character
The step of word obtained from above-mentioned specific text formatting is set as printing object word.
3. word editing method as claimed in claim 2, further includes:
The step of dimension information of printed medium being obtained from printing equipment;
Based on above-mentioned reference image, to the size for being printed with the above-mentioned printed article with reference to word in above-mentioned reference image with it is above-mentioned
The step of ratio of the printed above-mentioned size with reference to word is calculated on printed article;And
The ruler of above-mentioned specific absent Chinese character is determined based on the dimension information of above-mentioned printed medium and the value of above-mentioned ratio
Very little step.
4. word editing method as described in claim 1, further includes:
Based on above-mentioned similar degree, the step of selecting above-mentioned at least one text formatting from above-mentioned multiple text formattings.
5. word editing method as claimed in claim 4, wherein,
The step of selecting above-mentioned text formatting includes:
It is more than threshold value upper by the above-mentioned similar degree between in above-mentioned multiple text formattings the and above-mentioned image with reference to word
The text formatting for comparing and being applied with image is stated, the step of selected as above-mentioned at least more than one text formatting.
6. the word editing method as described in claim 4 or claim 5, wherein,
The step of selecting above-mentioned text formatting includes:
When in the above-mentioned multiple text formattings and above-mentioned above-mentioned similar degree with reference between character image is sorted from high to low
The above-mentioned text formatting of at least more than one of text formatting selected as that the above-mentioned comparison image of preceding specified quantity is applied
Step.
7. word editing method as described in claim 1, further includes:
The image in the selected region out of above-mentioned reference image obtains the step of text information of above-mentioned reference word.
8. word editing method as described in claim 1, wherein,
Above-mentioned text formatting include font, font size, the color of word, italic, underscore, runic at least any one.
9. a kind of electronic equipment has:
Store the storage part of the information of multiple text formattings;
Display unit;And
Calculating part,
Above-mentioned calculating part is,
The above-mentioned text information with reference to word is obtained from the reference image comprising the image with reference to word,
Based on multiple text formattings that the above-mentioned text information with reference to word and above-mentioned storage part are stored, generate to above-mentioned ginseng
According to comparison images multiple obtained from each text formatting of the above-mentioned multiple text formattings of letter application,
Each comparison of above-mentioned image and above-mentioned multiple comparisons image with reference to word is carried out with the similar degree between image
It calculates,
Above-mentioned display unit is made to show based on above-mentioned similar degree to the above-mentioned multiple word lattice of the edit object letter application that is inputted
The image of at least one absent Chinese character obtained from least one of formula text formatting.
10. electronic equipment as claimed in claim 9,
It is also equipped with obtaining the photographic device of above-mentioned reference image.
11. a kind of recording medium, logging program, the program make computer perform following processing:
The above-mentioned text information with reference to word is obtained from the reference image comprising the image with reference to word,
Based on multiple text formattings that the above-mentioned text information with reference to word and storage part are stored, generate to above-mentioned with reference to text
Word applies multiple comparison images obtained from each text formatting of above-mentioned multiple text formattings,
Each comparison of above-mentioned image and above-mentioned multiple comparisons image with reference to word is carried out with the similar degree between image
It calculates,
Display unit is made to show based on above-mentioned similar degree in the above-mentioned multiple text formattings of the edit object letter application that is inputted
At least one text formatting obtained from least one absent Chinese character image.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016-252073 | 2016-12-26 | ||
JP2016252073A JP6866636B2 (en) | 2016-12-26 | 2016-12-26 | Character editing methods, electronic devices, and programs |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108241594A true CN108241594A (en) | 2018-07-03 |
CN108241594B CN108241594B (en) | 2022-05-03 |
Family
ID=62700859
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710975869.1A Active CN108241594B (en) | 2016-12-26 | 2017-10-19 | Character editing method, electronic device, and recording medium |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP6866636B2 (en) |
CN (1) | CN108241594B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021190429A1 (en) * | 2020-03-27 | 2021-09-30 | 维沃移动通信有限公司 | Image processing method and electronic device |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1403298A (en) * | 2001-09-06 | 2003-03-19 | 精工爱普生株式会社 | Character inputting device and tape printer equiped with the same and character inputting method |
CN1684492A (en) * | 2004-04-12 | 2005-10-19 | 富士施乐株式会社 | Image dictionary creating apparatus, coding apparatus, image dictionary creating method |
CN101000601A (en) * | 2007-01-10 | 2007-07-18 | 北京方正国际软件***有限公司 | Device and method for automatic changing type face in type-setting process |
CN101226596A (en) * | 2007-01-15 | 2008-07-23 | 夏普株式会社 | Document image processing apparatus and document image processing process |
CN101354703A (en) * | 2007-07-23 | 2009-01-28 | 夏普株式会社 | Apparatus and method for processing document image |
CN101493811A (en) * | 2008-01-24 | 2009-07-29 | 鸿富锦精密工业(深圳)有限公司 | Font automatic identification and conversion system and method |
CN101753764A (en) * | 2008-12-17 | 2010-06-23 | 夏普株式会社 | Image processing apparatus and method, image reading apparatus, and image sending method |
CN103400127A (en) * | 2013-08-05 | 2013-11-20 | 苏州鼎富软件科技有限公司 | Picture and text identifying method |
CN103488608A (en) * | 2013-09-27 | 2014-01-01 | 杨昕吉 | Method and system for quickly creating visual-style electronic business card |
WO2015136692A1 (en) * | 2014-03-14 | 2015-09-17 | 株式会社日立製作所 | Digital image document editing system |
CN104954605A (en) * | 2014-03-31 | 2015-09-30 | 京瓷办公信息***株式会社 | Image forming apparatus, image forming system, and image forming method |
-
2016
- 2016-12-26 JP JP2016252073A patent/JP6866636B2/en active Active
-
2017
- 2017-10-19 CN CN201710975869.1A patent/CN108241594B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1403298A (en) * | 2001-09-06 | 2003-03-19 | 精工爱普生株式会社 | Character inputting device and tape printer equiped with the same and character inputting method |
CN1684492A (en) * | 2004-04-12 | 2005-10-19 | 富士施乐株式会社 | Image dictionary creating apparatus, coding apparatus, image dictionary creating method |
CN101000601A (en) * | 2007-01-10 | 2007-07-18 | 北京方正国际软件***有限公司 | Device and method for automatic changing type face in type-setting process |
CN101226596A (en) * | 2007-01-15 | 2008-07-23 | 夏普株式会社 | Document image processing apparatus and document image processing process |
CN101354703A (en) * | 2007-07-23 | 2009-01-28 | 夏普株式会社 | Apparatus and method for processing document image |
CN101493811A (en) * | 2008-01-24 | 2009-07-29 | 鸿富锦精密工业(深圳)有限公司 | Font automatic identification and conversion system and method |
CN101753764A (en) * | 2008-12-17 | 2010-06-23 | 夏普株式会社 | Image processing apparatus and method, image reading apparatus, and image sending method |
CN103400127A (en) * | 2013-08-05 | 2013-11-20 | 苏州鼎富软件科技有限公司 | Picture and text identifying method |
CN103488608A (en) * | 2013-09-27 | 2014-01-01 | 杨昕吉 | Method and system for quickly creating visual-style electronic business card |
WO2015136692A1 (en) * | 2014-03-14 | 2015-09-17 | 株式会社日立製作所 | Digital image document editing system |
CN104954605A (en) * | 2014-03-31 | 2015-09-30 | 京瓷办公信息***株式会社 | Image forming apparatus, image forming system, and image forming method |
Non-Patent Citations (1)
Title |
---|
LUKE O’NEILL: ""How to use Photoshop’s ‘Match Font’ Feature"", 《HTTPS://WWW.CREATIVEBLOQ.COM/HOW-TO/HOW-TO-USE-PHOTOSHOPS-MATCH-FONT-FEATURE》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021190429A1 (en) * | 2020-03-27 | 2021-09-30 | 维沃移动通信有限公司 | Image processing method and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN108241594B (en) | 2022-05-03 |
JP2018106422A (en) | 2018-07-05 |
JP6866636B2 (en) | 2021-04-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10733362B2 (en) | Editing apparatus | |
JP6380159B2 (en) | Information processing apparatus, information processing apparatus display method and program | |
CN104070828A (en) | Print system and information processing device | |
EP2364856A2 (en) | Tape printer, method for controlling tape printer, and program product | |
US8587821B2 (en) | Tape printer, method for controlling tape printer, and computer program product | |
US10773528B2 (en) | Printing apparatus, printing control terminal, printing apparatus controlling method, printing control terminal controlling method, and recording media | |
CN108241594A (en) | Word editing method, electronic equipment and recording medium | |
US9597908B2 (en) | Printer displays heating elements status and sets a check range to determine whether the heating elements is normal or abnormal | |
EP3301514B1 (en) | Decoloring device, image processing system, and decoloring method | |
JP2014063328A (en) | Printer and printing method | |
JP6528632B2 (en) | Editing device, printing device, and control program | |
JP6686746B2 (en) | Program, label image creating method, and label image creating apparatus | |
JP4506127B2 (en) | Printing apparatus, printing management method, printing method, printing management program, printing program | |
JP5772045B2 (en) | Tape printer, control method of tape printer, and program | |
JP2012192575A (en) | Printer, and print history management program | |
JP2009232375A (en) | Image processing method and program therefor, and image processing apparatus | |
JP2021101291A (en) | Print information processing system, print information processing method, and server | |
JP2011251484A (en) | Tape printing device, method for controlling the same and program | |
US9652149B2 (en) | Input device and electronic device | |
JP2012121216A (en) | Tape printer, control method for tape printer, and program | |
JP2015060540A (en) | Creation device and creation method of correction sheet | |
JP2022182365A (en) | Print control device and print control program | |
JP4374966B2 (en) | Printing apparatus and recording medium | |
JP2022025149A (en) | Printing process program | |
JP2021114066A (en) | Print data generation program, terminal device, and printing system |
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 |