CN106021210A - Picture text processing method and apparatus - Google Patents

Picture text processing method and apparatus Download PDF

Info

Publication number
CN106021210A
CN106021210A CN201610326199.6A CN201610326199A CN106021210A CN 106021210 A CN106021210 A CN 106021210A CN 201610326199 A CN201610326199 A CN 201610326199A CN 106021210 A CN106021210 A CN 106021210A
Authority
CN
China
Prior art keywords
picture
source
word
intended application
instruction
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
CN201610326199.6A
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.)
Meizu Technology Co Ltd
Original Assignee
Meizu 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 Meizu Technology Co Ltd filed Critical Meizu Technology Co Ltd
Priority to CN201610326199.6A priority Critical patent/CN106021210A/en
Publication of CN106021210A publication Critical patent/CN106021210A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The invention relates to the technical field of communications and discloses a picture text processing method and apparatus. The processing method comprises the steps of obtaining a source picture; receiving an instruction of inputting text information in the source picture into a target application; and inputting the text information extracted from the source picture into the target application according to the instruction of inputting the text information in the source picture into the target application. According to the picture text processing method provided by the invention, the text information in the obtained source picture can be extracted and input in the target application in a textual word form, so that a user can perform format modification on the text input in the target application to enable the text to adapt to a text format in the target application, and the coordination and attractiveness of texts displayed in the target application are improved; and therefore, by use of the picture text processing method provided by the invention, the convenience of user operation can be improved and the input of texts in picture formats is facilitated.

Description

A kind for the treatment of method and apparatus of picture character
Technical field
The present invention relates to communication technical field, particularly to the treating method and apparatus of a kind of picture character.
Background technology
User is when using computer or mobile terminal to carry out copy editor, it is sometimes desirable to use in other document Word, and the word in other documents can not directly replicate sometimes, such as document or the PDF of picture format The document of form, is at this moment accomplished by user and first carries out shot operation, then sectional drawing is inserted into the literary composition that user edits In Dang, this operation is comparatively laborious, and its in the document edited of the word of picture format that inserts and user Its content is disunity in display and form, and the later stage also can not carry out lattice to the word of the picture format inserted Formula adjusts.
Summary of the invention
The invention provides the treating method and apparatus of a kind of picture character, in order to improve the convenience of user operation Property, it is simple to the input of the text of picture format.
For reaching above-mentioned purpose, the present invention provides techniques below scheme:
The invention provides the processing method of a kind of picture character, including:
Acquisition source picture;
Receive and the Word message in the picture of described source is inputted the instruction to intended application;
According to described, Word message in the picture of source is inputted the instruction to intended application, will be from described source picture The Word message input extracted is to described intended application.
The processing method of the picture character that the present invention provides, can carry the Word message in the source picture of acquisition Taking out, be input in intended application with the form of text, such user can answer being input to target Word in carries out stylistic amendment so that it is the text formatting being adapted in intended application, improves mesh Harmony between the word of mark application display and aesthetic property.
Therefore, the processing method of the picture character that the present invention provides, can improve the convenience of user operation, just Input in the text of picture format.
In some optional embodiments, in described reception, the Word message in the picture of described source is inputted extremely Before the instruction of intended application, also include:
Show that selectable operation, described selectable operation include: text output instruction and picture output refer to Order;
Word message in the picture of described source is inputted the instruction to intended application by described reception, including:
Receive the selection instruction that described text output is instructed.It is easy to the use of user, can select as required Select the form of input.
In some optional embodiments, the processing method of above-mentioned picture character also includes:
When receiving the instruction of the selection to described picture output order, by the output of described source picture to described mesh Mark application.
In some optional embodiments, described input to mesh according to the described Word message by the picture of source The instruction of mark application, inputs the Word message extracted from described source picture to described intended application, specifically wraps Include:
Obtain the positional information in the described intended application inputted of the Word message in the picture of described source;
Obtain the attribute information of word in surrounding's set point of described positional information;
Word message in the picture of described source is transferred to: with in surrounding's set point of described positional information, appoint Word that the attribute information of the word on one direction is identical also inputs to described intended application.
In some optional embodiments, described acquisition source picture includes:
By selecting or replicating operation acquisition source picture.
Present invention also offers the processing means of a kind of picture character, including:
Obtain module, be used for obtaining source picture;
Receiver module, inputs the instruction to intended application for receiving by the Word message in the picture of described source;
Output module, for Word message in the picture of source being inputted the instruction to intended application according to described, The Word message extracted from described source picture is inputted to described intended application.
In some optional embodiments, the processing means of above-mentioned picture character, also include:
Selecting module, described selection module is used for: in described reception by defeated for the Word message in the picture of described source Entered before the instruction of intended application, show that selectable operation, described selectable operation include: text Output order and picture output order;
Described receiver module is for receiving the selection instruction instructing described text output.
In some optional embodiments, described output module is additionally operable to,
When receiving the instruction of the selection to described picture output order, by the output of described source picture to described mesh Mark application.
In some optional embodiments, described output module is additionally operable to,
Obtain the positional information in the described intended application inputted of the Word message in the picture of described source;
Obtain the attribute information of word in surrounding's set point of described positional information;
Word message in the picture of described source is transferred to: with in surrounding's set point of described positional information, appoint Word that the attribute information of the word on one direction is identical also inputs to described intended application.
In some optional embodiments, described acquisition module is used for:
By selecting or replicating operation acquisition source picture.
Accompanying drawing explanation
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes of the present invention Point, the schematic description and description of the present invention is used for explaining the present invention, is not intended that to the present invention not Work as restriction.In the accompanying drawings:
A kind of flow chart of the processing method of the picture character that Fig. 1 provides for the embodiment of the present invention;
The another kind of flow chart of the processing method of the picture character that Fig. 2 provides for the embodiment of the present invention;
A kind of structural representation of the processing means of the picture character that Fig. 3 provides for the embodiment of the present invention;
The another kind of structural representation of the processing means of the picture character that Fig. 4 provides for the embodiment of the present invention.
In figure:
1-obtains module 2-receiver module
3-output module 4-selects module
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clearly Chu, be fully described by, it is clear that described embodiment be only a part of embodiment of the present invention rather than Whole embodiments.
As it is shown in figure 1, a kind of flow process of the processing method of picture character that Fig. 1 provides for the embodiment of the present invention Figure;Embodiments provide the processing method of a kind of picture character, including:
Step S101: obtain source picture;
Step S102: receive and the Word message in the picture of source is inputted the instruction to intended application;
Step S103: input the instruction to intended application according to by the Word message in the picture of source, will be from source figure The Word message that sheet extracts inputs to intended application.
The processing method of the picture character that the present invention provides, can carry the Word message in the source picture of acquisition Taking out, be input in intended application with the form of text, such user can answer being input to target Word in carries out stylistic amendment so that it is the text formatting being adapted in intended application, improves mesh Harmony between the word of mark application display and aesthetic property.
Therefore, the processing method of the picture character that the present invention provides, can improve the convenience of user operation, just Input in the text of picture format.
For the ease of user operation, further, receiving the Word message input in the picture of source to target Before the instruction of application, the processing method of above-mentioned picture character also includes:
Step S104: show that selectable operation, selectable operation include: text output instruction and picture Output order;
Word message in the picture of source is inputted the instruction to intended application by corresponding above-mentioned reception, including:
Receive the selection instruction to text output instruction.
Further, the processing method of above-mentioned picture character also includes:
When receiving the instruction of the selection to picture output order, source picture is exported to intended application.
It is to say, the processing method of picture character that the embodiment of the present invention provides, concrete as in figure 2 it is shown, The another kind of flow chart of the processing method of the picture character that Fig. 2 provides for the embodiment of the present invention;The present invention implements The processing method of the picture character that example provides, including:
Step S101: obtain source picture;
Step S104: show that selectable operation, selectable operation include: text output instruction and picture Output order;
Step S105: receive and select instruction;
The selection instruction following either step of execution according to receiving:
Step S1031: when receiving the selection instruction to text output instruction, by extract from source picture Word message inputs to intended application;
Step S1032: when receiving the instruction of the selection to picture output order, source picture is exported to mesh Mark application.
I.e. after the picture of the source of acquisition, corresponding form can be exported according to the demand of user, operates relatively Convenient.
Optionally, above-mentioned selection instruction can also also include: text output+picture output order, so may be used To export text and source picture simultaneously.
So that the Word message from the extraction of source picture meets the form intended application to be inputted, on State step S103: input the instruction to intended application according to by the Word message in the picture of source, will be from source picture The Word message extracted inputs to intended application, specifically includes:
Word message in the picture of acquisition source is at the positional information of the intended application inputted;
The attribute information of the word in surrounding's set point of acquisition positional information;
Word message in the picture of source is transferred to: with in surrounding's set point of positional information, in either direction The identical word of the attribute information of word and input to intended application.The attribute information of above-mentioned word includes: The size of word, form etc..
Such as: when needing to extract the Word message in the source picture of acquisition the existing text of insertion, need Inserted word is matched with the text formatting in the text being inserted, at this moment, just on form Need, before the word extracted is inserted into, the word extracted to be carried out stylistic amendment, concrete:
Firstly, it is necessary to the positional information that the Word message in the picture of the source of acquisition is in the document inputted;
Secondly, the attribute information of the word in surrounding's set point of acquisition positional information;
Again, the Word message in the picture of source is transferred to: with in surrounding's set point of positional information, arbitrary Word that the attribute information of the word on direction is identical also inputs to document.If the word extracted in the picture of source When the text formatting around position that is inserted is different, we can be by the attribute of the word of described extraction The attribute information of the word that information changes to its left side being inserted position is the same, or is inserted position The attribute information of word on right side the same, or be inserted the attribute information one of the word of the top of position Sample, also or the attribute information of word of the lower section that is inserted position is the same, thus can make to be inserted Word match with the original text word in document, it is simple to user use.
Above-mentioned steps S101: obtaining source picture can be accomplished in several ways: such as can by selecting or Replicate operation acquisition source picture.
The picture input of corresponding above-mentioned source can be by modes such as insertion or duplications to intended application, from above-mentioned source The Word message extracted in picture can be inputted to intended application by modes such as insertions.
Above-mentioned intended application can be Microsoft Office Word, Short Message Service etc., Here will not enumerate.
Based on same inventive concept, as it is shown on figure 3, the picture character that provides for the embodiment of the present invention of Fig. 3 A kind of structural representation of processing means;The embodiment of the present invention additionally provides the process dress of a kind of picture character Put, including:
Obtain module 1, be used for obtaining source picture;
Receiver module 2, inputs the instruction to intended application for receiving by the Word message in the picture of source;
Output module 3, for inputting the instruction to intended application according to by the Word message in the picture of source, will The Word message extracted from source picture inputs to intended application.
The processing means of the picture character that the present invention provides, can carry the Word message in the source picture of acquisition Taking out, be input in intended application with the form of text, such user can answer being input to target Word in carries out stylistic amendment so that it is the text formatting being adapted in intended application, improves mesh Harmony between the word of mark application display and aesthetic property.
Therefore, the processing means of the picture character that the present invention provides, can improve the convenience of user operation, just Input in the text of picture format.
For the ease of user operation, further, as shown in Figure 4, Fig. 4 provides for the embodiment of the present invention The another kind of structural representation of the processing means of picture character, the processing means of above-mentioned picture character, also include:
Select module 4, select module 4 to be used for: to input the Word message in the picture of source to target receiving Before the instruction of application, show that selectable operation, selectable operation include: text output instruction and figure Sheet output order;
Accordingly, receiver module 2 is for receiving the selection instruction to text output instruction.
Further, output module 3 is additionally operable to,
When receiving the instruction of the selection to picture output order, source picture is exported to intended application.
So that the Word message from the extraction of source picture meets the form intended application to be inputted, defeated Go out module 3 to be additionally operable to,
Word message in the picture of acquisition source is at the positional information of the intended application inputted;
The attribute information of the word in surrounding's set point of acquisition positional information;
Word message in the picture of source is transferred to: with in surrounding's set point of positional information, in either direction The identical word of the attribute information of word and input to intended application.
Such as: when needing to extract the Word message in the source picture of acquisition the existing text of insertion, need Inserted word is matched with the text formatting in the text being inserted, at this moment, just on form Need, before the word extracted is inserted into, the word extracted to be carried out stylistic amendment, concrete:
First, it is thus achieved that module 1, the position in the document inputted of the Word message in the picture of acquisition source is needed Confidence ceases;The attribute information of the word in surrounding's set point of positional information to be obtained;Output module 3 For, the Word message in the picture of source is transferred to: with in surrounding's set point of positional information, either direction On the identical word of the attribute information of word and input to document.If the word extracted in the picture of source is wanted Insert position around text formatting different time, we can be by the attribute information of the word of described extraction The attribute information of the word changing to its left side being inserted position is the same, or is inserted the right side of position The attribute information of the word of side is the same, or the attribute information being inserted the word of the top of position is the same, Also or the attribute information of word of the lower section that is inserted position is the same, inserted literary composition can thus be made Word matches with the original text word in document, it is simple to user uses.
Optionally, it is thus achieved that module 1 is used for:
By selecting or replicating operation acquisition source picture.
Obviously, those skilled in the art can carry out various change and modification without deviating from this to the present invention Bright spirit and scope.So, if the present invention these amendment and modification belong to the claims in the present invention and Within the scope of its equivalent technologies, then the present invention is also intended to comprise these change and modification.

Claims (10)

1. the processing method of a picture character, it is characterised in that including:
Acquisition source picture;
Receive and the Word message in the picture of described source is inputted the instruction to intended application;
According to described, Word message in the picture of source is inputted the instruction to intended application, will be from described source picture The Word message input extracted is to described intended application.
The processing method of picture character the most according to claim 1, it is characterised in that connect described Receive and the Word message in the picture of described source inputted before the instruction of intended application, also include:
Show that selectable operation, described selectable operation include: text output instruction and picture output refer to Order;
Word message in the picture of described source is inputted the instruction to intended application by described reception, including:
Receive the selection instruction that described text output is instructed.
The processing method of picture character the most according to claim 2, it is characterised in that also include:
When receiving the instruction of the selection to described picture output order, by the output of described source picture to described mesh Mark application.
The processing method of picture character the most according to claim 1, it is characterised in that described basis The described instruction by the Word message input in the picture of source to intended application, the literary composition that will extract from described source picture The input of word information, to described intended application, specifically includes:
Obtain the positional information in the described intended application inputted of the Word message in the picture of described source;
Obtain the attribute information of word in surrounding's set point of described positional information;
Word message in the picture of described source is transferred to: with in surrounding's set point of described positional information, appoint Word that the attribute information of the word on one direction is identical also inputs to described intended application.
5. according to the processing method of the picture character described in any one of Claims 1 to 4, it is characterised in that Described acquisition source picture includes:
By selecting or replicating operation acquisition source picture.
6. the processing means of a picture character, it is characterised in that including:
Obtain module, be used for obtaining source picture;
Receiver module, inputs the instruction to intended application for receiving by the Word message in the picture of described source;
Output module, for Word message in the picture of source being inputted the instruction to intended application according to described, The Word message extracted from described source picture is inputted to described intended application.
The processing means of picture character the most according to claim 6, it is characterised in that also include:
Selecting module, described selection module is used for: in described reception by defeated for the Word message in the picture of described source Entered before the instruction of intended application, show that selectable operation, described selectable operation include: text Output order and picture output order;
Described receiver module is for receiving the selection instruction instructing described text output.
The processing means of picture character the most according to claim 7, it is characterised in that described output Module is additionally operable to,
When receiving the instruction of the selection to described picture output order, by the output of described source picture to described mesh Mark application.
The processing means of picture character the most according to claim 6, it is characterised in that described output Module is additionally operable to:
Obtain the positional information in the described intended application inputted of the Word message in the picture of described source;
Obtain the attribute information of word in surrounding's set point of described positional information;
Word message in the picture of described source is transferred to: with in surrounding's set point of described positional information, appoint Word that the attribute information of the word on one direction is identical also inputs to described intended application.
10. according to the processing means of the picture character described in any one of claim 6~9, it is characterised in that Described acquisition module is used for,
By selecting or replicating operation acquisition source picture.
CN201610326199.6A 2016-05-16 2016-05-16 Picture text processing method and apparatus Pending CN106021210A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610326199.6A CN106021210A (en) 2016-05-16 2016-05-16 Picture text processing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610326199.6A CN106021210A (en) 2016-05-16 2016-05-16 Picture text processing method and apparatus

Publications (1)

Publication Number Publication Date
CN106021210A true CN106021210A (en) 2016-10-12

Family

ID=57098525

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610326199.6A Pending CN106021210A (en) 2016-05-16 2016-05-16 Picture text processing method and apparatus

Country Status (1)

Country Link
CN (1) CN106021210A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1755667A (en) * 2004-09-30 2006-04-05 微软公司 Method, system, and computer-readable medium for creating, inserting, and reusing document parts in an electronic document
US20120306778A1 (en) * 2011-05-31 2012-12-06 Christopher Douglas Weeldreyer Devices, Methods, and Graphical User Interfaces for Document Manipulation
CN102855480A (en) * 2012-08-07 2013-01-02 北京百度网讯科技有限公司 Method and device for recognizing characters in image
CN105005551A (en) * 2015-06-29 2015-10-28 东南(福建)汽车工业有限公司 Method for implementing rapid acquisition of picture characters in document revision

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1755667A (en) * 2004-09-30 2006-04-05 微软公司 Method, system, and computer-readable medium for creating, inserting, and reusing document parts in an electronic document
US20120306778A1 (en) * 2011-05-31 2012-12-06 Christopher Douglas Weeldreyer Devices, Methods, and Graphical User Interfaces for Document Manipulation
CN102855480A (en) * 2012-08-07 2013-01-02 北京百度网讯科技有限公司 Method and device for recognizing characters in image
CN105005551A (en) * 2015-06-29 2015-10-28 东南(福建)汽车工业有限公司 Method for implementing rapid acquisition of picture characters in document revision

Similar Documents

Publication Publication Date Title
US9361282B2 (en) Method and device for user interface
CN104160388A (en) Fast mobile mail with context indicators
CN106326194B (en) Catalogue generation method and device under a kind of shift scene applied to file format
CN104346319A (en) Method and system for inspecting document style
CN103049206B (en) Method for editing text and communication terminal
CN105138586A (en) File searching method and apparatus
CN103377180A (en) Data pasting method and device
CN103150294A (en) Method and system for correcting based on voice identification results
CN102768614A (en) Text processing method applied to touch screen mobile handheld device
CN104516674B (en) Literal processing method and device
CN110232111A (en) A kind of text display method, device and terminal device
JP2023511971A (en) Document translation method and device, storage medium and electronic device
CN102937864A (en) Method and device for determining selected texts on touch terminals
US10366149B2 (en) Multimedia presentation authoring tools
CN105893342A (en) Text information processing method and device
KR101790727B1 (en) System and Method for Auto Transforming Document form
CN105718133A (en) User operation guiding method and apparatus
CN112199966B (en) Translation method, translation device, electronic device and storage medium
CN106021210A (en) Picture text processing method and apparatus
CN102591851A (en) Method and device for editing target texts based on keyboard keys
CN104715010A (en) Method, terminal and system for calling out associated data through characters
CN114841178A (en) Method, device, electronic equipment and storage medium for realizing session translation
CN104299101B (en) Across product real-time collocation method, the device of channel
CN109597896B (en) Information quotation method and device
CN106156314A (en) A kind of data manipulation method and device, data search method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20161012