Skip to content

Khaoklong51/Vob2Srt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vob2Srt

program to ocr image subtitle(VobSub and PGSSub) using google cloud vision ai api
Using image extract from SubtitleEdit using BDN xml/png option
Using blank Srt file save from SubtitleEdit

Usage

usage: main.py [-h] [-i INPUT_FOLDER] [-o OUTPUT_SUB] [-l LANGUAGE] [-k KEY] [-s SUB] [--version]

Program to OCR PNG with SRT export from Subtitle Edit

options:
  -h, --help            show this help message and exit
  -i INPUT_FOLDER, --input-folder INPUT_FOLDER
                        Input folder path for PNG
  -o OUTPUT_SUB, --output-sub OUTPUT_SUB
                        Output location file for subtitle (e.g., Temp.srt)
  -l LANGUAGE, --language LANGUAGE
                        Language to help OCR process
  -k KEY, --key KEY     API key for Google Cloud Vision API
  -s SUB, --sub SUB     Blank SRT subtitle file
  --version             Print version and exit

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages