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
+11-33Lines changed: 11 additions & 33 deletions
Original file line number
Diff line number
Diff line change
@@ -14,33 +14,9 @@ This project utilizes optical character recognition (OCR) and translation to tra
14
14
2. Run the script `main.py`.
15
15
3. Translated images will be saved in the `output` folder.
16
16
17
-
## New Features
18
-
19
-
### SyncVideoWithAudio.py
20
-
This script syncs audio to a video file using advanced checks and features. It performs the following steps:
21
-
-**Duration Check:** Ensures that the video and audio durations are within a specified tolerance.
22
-
-**Audio Extraction:** Extracts audio from the video if available, or generates silent audio if not.
23
-
-**Audio Alignment:** Aligns the audio using cross-correlation to calculate the offset.
24
-
-**Synchronization:** Syncs the audio to the video using FFmpeg and saves the output.
25
-
26
-
### TranslateMultipleImage.py
27
-
This script processes multiple images by performing OCR to extract text, translating the text, and replacing the original text in the images with the translated text. It includes:
28
-
-**Batch Processing:** Allows processing images one by one or multiple images simultaneously using multithreading.
29
-
-**Error Handling:** Handles translation errors and missing translations gracefully.
30
-
-**Customization:** Supports custom source and target languages for OCR and translation.
31
-
32
-
### videoToImage.py
33
-
This script extracts frames from a video file and saves them as individual images. It features:
34
-
-**Frame Extraction:** Reads and saves each frame of the video as a separate image.
35
-
-**Output Management:** Ensures the output folder exists and manages the file naming for the frames.
36
-
37
-
### imageToVideo.py
38
-
This script converts a series of images into a video file. It includes:
39
-
-**Image-to-Video Conversion:** Reads images from a folder and combines them into a video file.
40
-
-**Frame Rate Customization:** Allows setting the frame rate for the output video.
41
-
-**Error Handling:** Uses a placeholder frame for any invalid or unreadable images.
42
-
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).
17
+
## The goal of this update / tools, is to be able to translate from a video to video with the combination of [OpenTranslator](https://github.com/overcrash66/OpenTranslator).
0 commit comments