CN105117390A - Screen capture-based translation method and system - Google Patents

Screen capture-based translation method and system Download PDF

Info

Publication number
CN105117390A
CN105117390A CN201510530195.5A CN201510530195A CN105117390A CN 105117390 A CN105117390 A CN 105117390A CN 201510530195 A CN201510530195 A CN 201510530195A CN 105117390 A CN105117390 A CN 105117390A
Authority
CN
China
Prior art keywords
translated
information
module
screen
word
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
CN201510530195.5A
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.)
Guangxi Xiaocao Information Industry Co Ltd
Original Assignee
Guangxi Xiaocao Information Industry 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 Guangxi Xiaocao Information Industry Co Ltd filed Critical Guangxi Xiaocao Information Industry Co Ltd
Priority to CN201510530195.5A priority Critical patent/CN105117390A/en
Publication of CN105117390A publication Critical patent/CN105117390A/en
Pending legal-status Critical Current

Links

Abstract

The invention relates to a screen capture-based translation method and system. The system comprises a language recognition and selection module, a coordinate obtaining module, an image capture module, an image processing module, a translation module and a display module, wherein the language recognition and selection module is used for obtaining language information of characters to be translated and target characters; the coordinate obtaining module is used for obtaining screen coordinates of the characters to be translated; the image capture module is used for capturing screen image information; the image processing module is used for carrying out information extraction on the screen image information to obtain text information of the characters to be translated; the translation module is used for translating the text information of the characters to be translated and obtaining text information of target characters; and the display module is used for displaying the text information of the target characters. According to the translation method and system provided by the invention, the language information of the characters to be translated can be automatically recognized, the image information of the characters to be translated can be captured and translated according to user selection, and the translation results can be automatically displayed beside the characters to be translated without manual input or copy and paste, so that the translation efficiency is very high and the usage is convenient.

Description

A kind of interpretation method based on screen capture and system
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of interpretation method based on screen capture and system.
Background technology
Under international trend, global information sharing is increased.Therefore under social environment now, often need contact various external file, but for the poor user of many foreign language aptitudes, need before reading external file to spend the considerable time to carry out inquiring about and translate to understand the content of file.
In order to promote the speed of user's inquiry and translation, existing multiple aid is available for users to utilize on the market.Many Internet Service Providers have provides online translation service, not only can carry out full text translation, more can judge this with which kind of language is translated voluntarily according to the word of input.But user just must input the content that will translate voluntarily, when user is unfamiliar with the language that this part of external file uses, considerable for the cost time is inputted.Especially, for some picture informations, PDF data etc., if user wants to translate, stickup can not be carried out and copy, can only manually input.The writing text information that manual input is to be translated, this is not only very consuming time, inefficiency, and brings very large workload to user.
Summary of the invention
Technical matters to be solved by this invention is for above-mentioned the deficiencies in the prior art, provides a kind of interpretation method based on screen capture and system.
The technical scheme that the present invention solves the problems of the technologies described above is as follows:
According to one aspect of the present invention, provide a kind of interpretation method based on screen capture, comprising:
Step S01: the languages and the target text languages that read word to be translated according to the languages select command of the input of client;
Step S02: the screen coordinate obtaining word to be translated;
Step S03: with the screen coordinate of word to be translated for the center of circle, catches screen image information to preset length for radius;
Step S04: carry out information extraction process to described screen image information, obtains writing text information to be translated;
Step S05: according to language information and the target text language information of word to be translated, translates described writing text information to be translated, obtains target text text message;
Step S06: in the screen coordinate place display-object writing text information of word to be translated.
According to another aspect of the present invention, provide a kind of translation system based on screen capture, comprise languages identification selection module, coordinate obtaining module, image capture module, image processing module, translation module and display module.
Wherein, described languages identification selection module is used for the language information automatically identifying word to be translated, and read target text language information according to the languages select command of client's input, and the language information of word to be translated and target text language information are sent to translation module in the lump; Described coordinate obtaining module is for obtaining the screen coordinate of word to be translated and being sent to described image capture module; Described image capture module is used for the screen coordinate of word to be translated for the center of circle, catches screen image information, and be sent to image processing module to preset length for radius; Described image processing module is used for carrying out information extraction process to described screen image information, obtains writing text information to be translated and is sent to described translation module; Described translation module for receiving language information and the target text language information of word to be translated, and is translated described writing text information to be translated, obtains target text text message and is sent to display module; Described display module is used for receiving target writing text information and shows at the screen coordinate place of word to be translated.
The invention has the beneficial effects as follows: a kind of interpretation method based on screen capture of the present invention and system, automatically band translation word language information can be identified, automatically capture the image information of translation word according to the selection of user and translate, translation result is presented at automatically band translation word place, without the need to manually input or stickup copy, translation efficiency is very high, easy to use.
Accompanying drawing explanation
Fig. 1 is a kind of interpretation method process flow diagram based on screen capture;
Fig. 2 is a kind of translation system structural representation based on screen capture.
Embodiment
Be described principle of the present invention and feature below in conjunction with accompanying drawing, example, only for explaining the present invention, is not intended to limit scope of the present invention.
Embodiment one, a kind of interpretation method based on screen capture, be described in detail a kind of interpretation method based on screen capture that the present embodiment provides below in conjunction with Fig. 1.
As shown in Figure 1, a kind of interpretation method process flow diagram based on screen capture, comprising:
Step S01: the language information automatically identifying word to be translated, and read target text language information according to the languages select command of client's input;
Step S02: the screen coordinate reading word to be translated;
Step S03: with the screen coordinate of word to be translated for the center of circle is that radius catches screen image information with preset length;
Step S04: carry out information extraction process to described screen image information, obtains writing text information to be translated;
Step S05: according to language information and the target text language information of word to be translated, translates described writing text information to be translated, obtains target text text message;
Step S06: in the screen coordinate place display-object writing text information of word to be translated.
In the present embodiment, the screen coordinate obtaining word to be translated in described step S02 is specially: obtain the word to be translated chosen from screen of user and read the screen coordinate of the center position of word to be translated.In actual translations process, system identifies word to be translated automatically according to the selection of user, then automatically reads the screen coordinate of the center position of word to be translated, facilitates subsequent step to carry out screen picture seizure.
Preferably, before information extraction process being carried out to described screen image information in described step S04, first filtering and digitized processing are carried out to described screen image information.Contain many noises in process due to system acquires screen image information, remove ambiguous part in image, obtain a contrast higher, more clear clean gray level image, can contribute to follow-up discrimination.
Preferably, described in described step S05, writing text information to be translated is translated, and after obtaining target text text message, optionally marks described writing text information to be translated and target text text message, and pairing stores.User can optionally mark writing text information to be translated and target text text message according to self needing, and is convenient to the later stage check at any time, very personalized, drastically increases work efficiency.
Preferably, in described step S04, after obtaining writing text information to be translated, by the writing text information to be translated comparison of described writing text information to be translated and storage mark, if writing text information to be translated is stored mark, then directly read the target text text message with described writing text information match to be translated, enter step S06, otherwise enter step S05.In this way, the Word message repeated can be identified automatically in word to be translated, without the need to again carrying out translation process, directly reading and showing, very convenient, reduce the service ability requirement to system, make the operation that system can be more stable.
Preferably, in described step S05, after obtaining target text text message, except except the screen coordinate place display-object writing text information of word to be translated, also read corresponding target text voice messaging according to target text text message, and voice broadcast is carried out to described target text voice messaging, very convenient.
Embodiment two, a kind of translation system based on screen capture, be described in detail a kind of translation system based on screen capture that the present embodiment provides below in conjunction with Fig. 2.
As shown in Figure 2, a kind of translation system structural representation based on screen capture, comprises languages identification selection module, coordinate obtaining module, image capture module, image processing module, translation module and display module.
Wherein, described languages identification selection module is used for the language information automatically identifying word to be translated, and read target text language information according to the languages select command of client's input, and the language information of word to be translated and target text language information are sent to translation module in the lump; Described coordinate obtaining module is for obtaining the screen coordinate of word to be translated and being sent to described image capture module; Described image capture module is used for the screen coordinate of word to be translated for the center of circle, catches screen image information, and be sent to image processing module to preset length for radius; Described image processing module is used for carrying out information extraction process to described screen image information, obtains writing text information to be translated and is sent to described translation module; Described translation module for receiving language information and the target text language information of word to be translated, and is translated described writing text information to be translated, obtains target text text message and is sent to display module; Described display module is used for receiving target writing text information and shows at the screen coordinate place of word to be translated.
In the present embodiment, the screen coordinate that described coordinate obtaining module obtains word to be translated is specially: described coordinate obtaining module obtains user and from screen, chooses word to be translated and read the screen coordinate of the center position of word to be translated, and is sent to described image capture module.In actual translations process, coordinate obtaining module identifies word to be translated automatically according to the selection of user, then automatically reads the screen coordinate of the center position of word to be translated, facilitates subsequent step to carry out screen picture seizure.
Preferably, a kind of translation system based on screen capture described in this enforcement also comprises signal pre-processing module, described signal pre-processing module comprises filter unit and AD conversion unit, described filter unit is used for carrying out filtering process to described screen image information, and described AD conversion unit is used for the screen image information processed after filtering being carried out analog to digital conversion and being sent to described image processing module.Contain many noises in process due to system acquires screen image information, described signal pre-processing module can remove ambiguous part in image, obtains a contrast higher, and more clear clean gray level image, can contribute to follow-up discrimination.
Preferably, described translation module comprises indexing unit, and described indexing unit is used for optionally marking described writing text information to be translated and target text text message, and pairing stores.User can optionally mark writing text information to be translated and target text text message according to self needing, and is convenient to the later stage check at any time, very personalized, drastically increases work efficiency.
Preferably, described translation module also comprises comparing unit, described comparing unit is used for the writing text information to be translated comparison by described writing text information to be translated and storage mark, if writing text information to be translated is stored mark, then directly read with the target text text message of described writing text information match to be translated and be sent to display module and show, otherwise described writing text information to be translated is sent to described translation module translates.By described comparing unit, can the Word message repeated in word to be translated be identified automatically, without the need to again carrying out translation process, direct reading also shows, very convenient, reduce the service ability requirement to system, make the operation that system can be more stable.
Especially, a kind of translation system based on screen capture described in this enforcement also comprises voice module, is previously stored with writing text information to be translated and the target text text message corresponding with it and target text voice messaging in described translation module.After described translation module translation obtains target text text message, except target text text message is sent to display module, also read corresponding target text voice messaging according to target text text message, and be sent to described voice module, described voice module receiving target text-to-speech information is also reported, very convenient.
A kind of interpretation method based on screen capture of the present invention and system, automatically band translation word language information can be identified, automatically capture the image information of translation word according to the selection of user and translate, translation result is presented at automatically band translation word place, without the need to manually input or stickup copy, translation efficiency is very high, easy to use.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. based on an interpretation method for screen capture, it is characterized in that, comprising:
Step S01: the language information automatically identifying word to be translated, and read target text language information according to the languages select command of client's input;
Step S02: the screen coordinate reading word to be translated;
Step S03: with the screen coordinate of word to be translated for the center of circle is that radius catches screen image information with preset length;
Step S04: carry out information extraction process to described screen image information, obtains writing text information to be translated;
Step S05: according to language information and the target text language information of word to be translated, translates described writing text information to be translated, obtains target text text message;
Step S06: in the screen coordinate place display-object writing text information of word to be translated.
2. a kind of interpretation method based on screen capture according to claim 1, is characterized in that: the screen coordinate obtaining word to be translated in described step S02 is specially: obtain word to be translated that user chooses from screen and read the screen coordinate of the center position of word to be translated.
3. a kind of interpretation method based on screen capture according to claim 1, is characterized in that: before carrying out information extraction process to described screen image information in described step S04, first carry out filtering and digitized processing to described screen image information.
4. a kind of interpretation method based on screen capture according to claim 1, it is characterized in that: described in described step S05, writing text information to be translated is translated, after obtaining target text text message, described writing text information to be translated and target text text message are optionally marked, and pairing stores.
5. a kind of interpretation method based on screen capture according to claim 4, it is characterized in that: in described step S04, after obtaining writing text information to be translated, by the writing text information to be translated comparison of described writing text information to be translated and storage mark, if writing text information to be translated is stored mark, then directly read the target text text message with described writing text information match to be translated, enter step S06, otherwise enter step S05.
6. based on a translation system for screen capture, it is characterized in that: comprise languages identification selection module, coordinate obtaining module, image capture module, image processing module, translation module and display module;
Described languages identification selection module is used for the language information automatically identifying word to be translated, and read target text language information according to the languages select command of client's input, and the language information of word to be translated and target text language information are sent to translation module in the lump;
Described coordinate obtaining module is for obtaining the screen coordinate of word to be translated and being sent to described image capture module;
Described image capture module is used for the screen coordinate of word to be translated for the center of circle, catches screen image information, and be sent to image processing module to preset length for radius;
Described image processing module is used for carrying out information extraction process to described screen image information, obtains writing text information to be translated and is sent to described translation module;
Described translation module for receiving language information and the target text language information of word to be translated, and is translated described writing text information to be translated, obtains target text text message and is sent to display module;
Described display module is used for receiving target writing text information and shows at the screen coordinate place of word to be translated.
7. a kind of translation system based on screen capture according to claim 6, it is characterized in that: the screen coordinate that described coordinate obtaining module obtains word to be translated is specially: described coordinate obtaining module obtains user and from screen, chooses word to be translated and read the screen coordinate of the center position of word to be translated, and is sent to described image capture module.
8. a kind of translation system based on screen capture according to claim 6, it is characterized in that: also comprise signal pre-processing module, described signal pre-processing module comprises filter unit and AD conversion unit, described filter unit is used for carrying out filtering process to described screen image information, and described AD conversion unit is used for the screen image information processed after filtering being carried out analog to digital conversion and being sent to described image processing module.
9. a kind of translation system based on screen capture according to claim 6, it is characterized in that: described translation module comprises indexing unit, described indexing unit is used for optionally marking described writing text information to be translated and target text text message, and pairing stores.
10. a kind of translation system based on screen capture according to claim 9, it is characterized in that: described translation module also comprises comparing unit, described comparing unit is used for the writing text information to be translated comparison by described writing text information to be translated and storage mark, if writing text information to be translated is stored mark, then directly read with the target text text message of described writing text information match to be translated and be sent to display module and show, otherwise described writing text information to be translated is sent to described translation module translates.
CN201510530195.5A 2015-08-26 2015-08-26 Screen capture-based translation method and system Pending CN105117390A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510530195.5A CN105117390A (en) 2015-08-26 2015-08-26 Screen capture-based translation method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510530195.5A CN105117390A (en) 2015-08-26 2015-08-26 Screen capture-based translation method and system

Publications (1)

Publication Number Publication Date
CN105117390A true CN105117390A (en) 2015-12-02

Family

ID=54665384

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510530195.5A Pending CN105117390A (en) 2015-08-26 2015-08-26 Screen capture-based translation method and system

Country Status (1)

Country Link
CN (1) CN105117390A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106527945A (en) * 2016-11-09 2017-03-22 广东小天才科技有限公司 Text information extracting method and device
CN109490843A (en) * 2018-11-15 2019-03-19 成都傅立叶电子科技有限公司 A kind of normalization radar screen monitoring method and system
CN110276349A (en) * 2019-06-24 2019-09-24 腾讯科技(深圳)有限公司 Method for processing video frequency, device, electronic equipment and storage medium
CN111126083A (en) * 2019-12-04 2020-05-08 苏宁智能终端有限公司 Terminal picture real-time translation method and system
CN111897473A (en) * 2020-07-28 2020-11-06 惠州Tcl移动通信有限公司 Information extraction method and device of terminal, storage medium and terminal

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030200078A1 (en) * 2002-04-19 2003-10-23 Huitao Luo System and method for language translation of character strings occurring in captured image data
CN101082956A (en) * 2006-06-02 2007-12-05 英华达(上海)电子有限公司 Device and method for foreign words translation on hand-hold equipment based on photograph
CN101408874A (en) * 2007-10-09 2009-04-15 深圳富泰宏精密工业有限公司 Apparatus and method for translating image and character
CN101551860A (en) * 2008-03-31 2009-10-07 联想(北京)有限公司 Portable device and character recognizing and translating method thereof
CN103294665A (en) * 2012-02-22 2013-09-11 汉王科技股份有限公司 Text translation method for electronic reader and electronic reader
CN103353884A (en) * 2013-06-18 2013-10-16 西北农林科技大学 Quick searching dictionary
US20140081619A1 (en) * 2012-09-18 2014-03-20 Abbyy Software Ltd. Photography Recognition Translation
CN104123552A (en) * 2013-04-28 2014-10-29 浙江大学 Automatic identification translating glasses

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030200078A1 (en) * 2002-04-19 2003-10-23 Huitao Luo System and method for language translation of character strings occurring in captured image data
CN101082956A (en) * 2006-06-02 2007-12-05 英华达(上海)电子有限公司 Device and method for foreign words translation on hand-hold equipment based on photograph
CN101408874A (en) * 2007-10-09 2009-04-15 深圳富泰宏精密工业有限公司 Apparatus and method for translating image and character
CN101551860A (en) * 2008-03-31 2009-10-07 联想(北京)有限公司 Portable device and character recognizing and translating method thereof
CN103294665A (en) * 2012-02-22 2013-09-11 汉王科技股份有限公司 Text translation method for electronic reader and electronic reader
US20140081619A1 (en) * 2012-09-18 2014-03-20 Abbyy Software Ltd. Photography Recognition Translation
CN104123552A (en) * 2013-04-28 2014-10-29 浙江大学 Automatic identification translating glasses
CN103353884A (en) * 2013-06-18 2013-10-16 西北农林科技大学 Quick searching dictionary

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106527945A (en) * 2016-11-09 2017-03-22 广东小天才科技有限公司 Text information extracting method and device
CN109490843A (en) * 2018-11-15 2019-03-19 成都傅立叶电子科技有限公司 A kind of normalization radar screen monitoring method and system
CN109490843B (en) * 2018-11-15 2020-08-04 成都傅立叶电子科技有限公司 Normalized radar screen monitoring method and system
CN110276349A (en) * 2019-06-24 2019-09-24 腾讯科技(深圳)有限公司 Method for processing video frequency, device, electronic equipment and storage medium
CN110276349B (en) * 2019-06-24 2023-08-18 腾讯科技(深圳)有限公司 Video processing method, device, electronic equipment and storage medium
CN111126083A (en) * 2019-12-04 2020-05-08 苏宁智能终端有限公司 Terminal picture real-time translation method and system
CN111897473A (en) * 2020-07-28 2020-11-06 惠州Tcl移动通信有限公司 Information extraction method and device of terminal, storage medium and terminal

Similar Documents

Publication Publication Date Title
CN105117390A (en) Screen capture-based translation method and system
US8892990B2 (en) Automatic creation of a table and query tools
CN108108342B (en) Structured text generation method, search method and device
US10353997B1 (en) Freeform annotation transcription
JP6317772B2 (en) System and method for real-time display of foreign language character sets and their translations on resource-constrained mobile devices
US9081412B2 (en) System and method for using paper as an interface to computer applications
US20160203126A1 (en) Displaying information in multiple languages based on optical code reading
CN108182211B (en) Video public opinion acquisition method and device, computer equipment and storage medium
CN110197238B (en) Font type identification method, system and terminal equipment
CN101408874A (en) Apparatus and method for translating image and character
CN111709414A (en) AR device, character recognition method and device thereof, and computer-readable storage medium
CN105279256A (en) Inquiry method combining geographic information and images and inquiry system combining geographic information and images
CN112825561A (en) Subtitle display method, system, computer device and readable storage medium
US20150278248A1 (en) Personal Information Management Service System
CN109993075B (en) Chat application session content storage method, system and device
US20190042186A1 (en) Systems and methods for using optical character recognition with voice recognition commands
KR20150091948A (en) A system for recognizing a font and providing its information and the method thereof
CN108171231A (en) A kind of communication means and device based on image identification
KR20160118198A (en) Real time auto translation system and method, terminal capable of real time translating
CN103559512A (en) Method and system for recognizing and outputting characters
CN110889266A (en) Conference record integration method and device
CN104252475A (en) Method and device for positioning text messages in picture
CN101872344A (en) Control method for image scanning
US11256880B2 (en) Information processing apparatus and non-transitory computer readable medium
CN106250797A (en) A kind of bar code image identification system using common camera

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: 20151202