Automatic translation method and system

Through OCR technology and screen grabbing, the software is simply Chineseized without foreign language software source code, and the problem of insufficient ease of use and universality of translation software in the existing technology is solved, and a convenient dynamic translation method is provided.

CN120373322APending Publication Date: 2025-07-25天元大数据信用管理有限公司
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202510399055.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-01
Publication Date
2025-07-25

AI Technical Summary

Technical Problem

Without foreign language software source code, it is difficult for the prior art to achieve simplified Chineseization of software, resulting in insufficient ease of use and universality of translation software.

Method used

Using OCR technology, through screen grabbing and recognition, the translation area is selected as the black box model, to monitor the content changes of the selected area of the screen, and dynamic translation is performed.

Benefits of technology

It realizes simple Chineseization of the software without source code, improves the convenience and versatility of translation, and reduces the impact on user operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120373322A_ABST
    Figure CN120373322A_ABST
Patent Text Reader

Abstract

The invention relates to the field of computers, and particularly provides an automatic translation method and system, based on OCR (Optical Character Recognition), firstly, a user selects a screen as a screen capture area, recognizes the capture area, translates into a target character, displays a translation result, monitors the selected area of the screen in the background, and translates the target character into the target character. Judging whether the content of the text area changes or not. Compared with the prior art, the OCR technology can be used, the translation area is selected as the black box model, and software can be simply Chinese when foreign language software source codes do not exist. A screen capture technology is used, monitoring and dynamic translation of the selected area can be started only by selecting the area once, and screenshot translation does not need to be performed all the time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computers, and specifically provides an automated translation method and system. Background Art

[0002] In the process of internationalization, some excellent foreign language software cannot be used better because it has not been localized. To translate other languages in the software content into the local language, it is necessary to analyze and modify the source code in the software.

[0003] In the case of no localized software, how to perform simple localization without source code and improve the usability and generality of the translation software is an urgent problem to be solved by those skilled in the art. Summary of the Invention

[0004] In view of the above-mentioned deficiencies of the prior art, the present invention provides a highly practical automated translation method.

[0005] A further technical task of the present invention is to provide a reasonably designed, safe and applicable automated translation system.

[0006] The technical solution adopted by the present invention to solve its technical problems is as follows:

[0007] An automated translation method, based on OCR recognition. First, the user selects a screen area as the screen capture area, recognizes the captured area, then translates it into the target text and displays the translation result. The software monitors the selected area of the screen in the background to determine whether the content of the text area has changed.

[0008] Further, when the user selects a screen area as the screen capture area, the captured area does not affect the normal operation of the user. After clicking "Start Translation", the selected area is processed as a picture for OCR recognition to obtain the text in the source language, the text size, and the position of the area where it is located.

[0009] Further, when translating into the target text, the translation result is displayed at the corresponding position or with an offset according to the size and position of the source text.

[0010] Further, the software monitors the selected area of the screen in the background. If the content of the text area changes, a new screen is captured, the original picture is deleted, and the new picture is subjected to OCR recognition for a new round of translation.

[0011] Further, before the user selects a screen area as the screen capture area, after the software is opened, it is functionally partitioned into 5 functional areas, namely:

[0012] 1. Select the screen, select the area, perform screen capture, OCR recognition, translation, and subsequent display of the translation content within the selected area;

[0013] II. Start translation. This function can only be clicked and used after selecting the screen;

[0014] III. Abort, delete the selected area, and stop translation;

[0015] IV. Select the source language;

[0016] V. Select the target language.

[0017] An automated translation system based on OCR recognition. First, the user frames a screen area as the screen capture area, recognizes the captured area, and then translates it into the target text and displays the translation result. The software monitors the selected area of the screen in the background to determine whether the content of the text area has changed.

[0018] Furthermore, when the user frames a screen area as the screen capture area, the captured area does not affect the user's normal operation. After clicking "Start Translation", the selected area is processed into a picture for OCR recognition to obtain the text in the source language, the text size, and the position of the area where it is located.

[0019] Furthermore, when translating into the target text, the translation result is displayed at the corresponding position or with an offset according to the size and position of the source text.

[0020] Furthermore, the software monitors the selected area of the screen in the background. If the content of the text area changes, a new screen is captured, the original picture is deleted, and the new picture is subjected to OCR recognition for a new round of translation.

[0021] Furthermore, before the user frames a screen area as the screen capture area, after opening the software, functional partitioning is performed, which is divided into 5 functional areas, namely:

[0022] I. Select screen, frame the selection area, perform screen capture, OCR recognition, translation, and subsequent display of translation content within the selection area;

[0023] II. Start translation. This function can only be clicked and used after selecting the screen;

[0024] III. Abort, delete the selected area, and stop translation;

[0025] IV. Select the source language;

[0026] V. Select the target language.

[0027] Compared with the prior art, an automated translation method and system of the present invention have the following prominent beneficial effects:

[0028] The present invention uses OCR technology and selects the translation area as a black box model. When there is no source code of a foreign language software, the software can be simply localized. By using the screen capture technology, only select the area once, and then start to monitor and dynamically translate the selected area, without the need to continuously take screenshots for translation. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0030] Attached Figure 1 is an operation flowchart of an automated translation method;

[0031] Attached Figure 2 is a translation flowchart of an automated translation method. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0032] In order to enable those skilled in the art to better understand the solution of the present invention, the following will further elaborate on the present invention in combination with specific embodiments. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of the present invention.

[0033] The following gives a preferred embodiment:

[0034] As Figure 1-2 shown, an automated translation method in this embodiment, based on OCR recognition, after opening the software, it is functionally partitioned into 5 functional areas, namely:

[0035] I. Select the screen, frame the selection area, and perform screen capture, OCR recognition, translation, and subsequent display of translation content within the selection area;

[0036] II. Start translation, and this function can only be clicked and used after selecting the screen;

[0037] III. Abort, delete the selection area, and stop translation;

[0038] IV. Select the source language;

[0039] V. Select the target language.

[0040] First, the user selects a screen area as the screen capture area. This area does not affect the user's normal operation. After clicking "Start Translation", the selected area is processed into a picture for OCR recognition to obtain the text in the source language, the text size, and the position of the area where it is located.

[0041] Then, it is translated into the target text, and the translation result is displayed at the corresponding position or with some offset according to the source text size and position.

[0042] The software monitors the selected area of the screen in the background. If the content of the text area changes, a new screen is captured, the original picture is deleted, and OCR recognition is performed on the new picture for a new round of translation.

[0043] Based on the above method, an automated translation system in this embodiment, based on OCR recognition, after opening the software and before the user selects a screen area as the screen capture area, it is functionally partitioned into 5 functional areas, namely:

[0044] I. Select the screen, select the area, perform screen capture, OCR recognition, translation, and subsequent display of translation content within the selected area;

[0045] II. Start translation, and this function can only be clicked and used after the screen is selected;

[0046] III. Abort, delete the selected area, and stop translation;

[0047] IV. Select the source language;

[0048] V. Select the target language.

[0049] First, the user selects a screen area as the screen capture area, recognizes the captured area, then translates it into the target text and displays the translation result. The software monitors the selected area of the screen in the background to determine whether the content of the text area has changed.

[0050] First, the user selects a screen area as the screen capture area, recognizes the captured area, then translates it into the target text and displays the translation result. The software monitors the selected area of the screen in the background to determine whether the content of the text area has changed.

[0051] Among them, when the user selects a screen area as the screen capture area, the captured area does not affect the user's normal operation. After clicking "Start Translation", the selected area is processed into a picture for OCR recognition to obtain the text in the source language, the text size, and the position of the area where it is located.

[0052] It is translated into the target text, and the translation result is displayed at the corresponding position or with some offset according to the source text size and position.

[0053] Use software to monitor the selected area of the screen in the background. If the content of the text area changes, capture a new screen, delete the original picture, perform OCR recognition on the new picture, and conduct a new round of translation.

[0054] Through screen capture technology and OCR recognition, the present invention takes the software as a black box model to capture foreign language text on the screen, translate it into a specified language and display it in the relevant area, which reduces the aesthetics but has stronger versatility and convenience.

[0055] The above specific embodiments are only specific cases of the present invention. The patent protection scope of the present invention includes but is not limited to the above specific embodiments. Any technical solution that conforms to the above specific embodiments of the present invention and any appropriate changes or substitutions made by those of ordinary skill in the relevant technical field shall fall within the patent protection scope of the present invention.

[0056] Although the embodiments of the present invention have been shown and described, it will be understood by those of ordinary skill in the art that various changes, modifications, substitutions, and variations can be made to these embodiments without departing from the principles and spirit of the present invention. The scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. An automated translation method, characterized in that, Based on OCR recognition, first, the user selects a screen area as the screen capture area, recognizes the captured area, then translates it into the target text and displays the translation result. The software monitors the selected area of the screen in the background to determine whether the content of the text area has changed.

2. An automated translation method according to claim 1, characterized in that When the user selects a screen area as the screen capture area, the captured area does not affect the user's normal operation. After clicking "Start Translation", the selected area is processed into a picture for OCR recognition to obtain the text in the source language, the text size, and the position of the area where it is located.

3. An automated translation method according to claim 2, characterized in that, Translate it into the target text and display the translation result at the corresponding position or with some offset according to the source text size and position.

4. An automated translation method according to claim 3, characterized in that, The software monitors the selected area of the screen in the background. If the content of the text area changes, a new screen is captured, the original picture is deleted, and the new picture is subjected to OCR recognition for a new round of translation.

5. An automated translation method according to claim 4, characterized in that, Before the user selects a screen area as the screen capture area, after opening the software, it is functionally partitioned into 5 functional areas, namely:

1. Select the screen, select the area by frame, and perform screen capture, OCR recognition, translation, and subsequent translation content display within the selected area; 2. Start Translation, which can only be clicked and used after the screen is selected; 3. Abort, delete the selected area and stop translation; 4. Select the source language; 5. Select the target language.

6. An automated translation system, characterized in that, Based on OCR recognition, first, the user selects a screen area as the screen capture area, recognizes the captured area, then translates it into the target text and displays the translation result. The software monitors the selected area of the screen in the background to determine whether the content of the text area has changed.

7. An automated translation system according to claim 6, characterized in that, When the user selects a screen area as the screen capture area, the captured area does not affect the user's normal operation. After clicking "Start Translation", the selected area is processed into a picture for OCR recognition to obtain the text in the source language, the text size, and the position of the area where it is located.

8. An automated translation system according to claim 7, wherein Translate it into the target text and display the translation result at the corresponding position or with some offset according to the source text size and position.

9. An automated translation system according to claim 8, wherein The software monitors the selected area of the screen in the background. If the content of the text area changes, a new screen is captured, the original picture is deleted, and the new picture is subjected to OCR recognition for a new round of translation.

10. An automated translation system according to claim 9, characterized in that, Before the user selects a screen area as the screen capture area, after opening the software, it is functionally partitioned into 5 functional areas, namely:

1. Select the screen, select the area by frame, and perform screen capture, OCR recognition, translation, and subsequent translation content display within the selected area; 2. Start Translation, which can only be clicked and used after the screen is selected; 3. Abort, delete the selected area and stop translation; 4. Select the source language; 5. Select the target language.

Citation Information

Cited By

  • Dynamic screen area monitoring and self-adaptive character extraction system based on visual positioning

    CN121937959A