You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+37-2Lines changed: 37 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,13 @@
1
+
# Image Translator
2
+
3
+
This project utilizes optical character recognition (OCR) and translation to translate text within images from one language to another. It performs the following steps:
4
+
5
+
1.**OCR Processing:** The project extracts text and its bounding boxes from input images using the EasyOCR library.
6
+
2.**Translation:** It translates the extracted text using the Google Translator API.
7
+
3.**Text Replacement:** The translated text is then overlaid onto the image, replacing the original text while maintaining its position and style.
8
+
4.**Output:** Finally, the modified image with translated text is saved to an output folder.
9
+
10
+
1
11
## Usage
2
12
3
13
1. Place your input images in the `input` folder.
@@ -32,6 +42,31 @@ This script converts a series of images into a video file. It includes:
32
42
33
43
## The goal of this update is to be able to translate video to video with the combination of [OpenTranslator](https://github.com/overcrash66/OpenTranslator).
34
44
45
+
# Setup
46
+
47
+
## Installation
48
+
49
+
Clone this repository to your local machine.
50
+
51
+
```
52
+
Install the required Python dependencies using pip install pipenv && pipenv install.
0 commit comments