Note : I recommend you to use it from subtitleedit, they just developed to support this. But if you still want free service My project is still working.
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py
if error on windows 10 : Go to -> "start" -> "Search" -> "Manage App Execution Aliases" -> turn off "Python", "Python3"
- Install Google cloud vision in "Command Prompt"
pip install google-cloud-vision
- Install Google Client Library using in "Command Prompt"
pip install --upgrade google-api-python-client google-auth-httplib2 google-auth-oauthlib
-
Download image-ocr-google-docs-srt
-
Create new project from Python Quickstart
-
Create new API for download api.json file and put beside main.py
-
"credentials.json" rename from "OAuth 2.0" API file (work slow but free)
-
"sa-account.json" rename from "Service Accounts" API file (work fast but 300$)
-
-
Export images using VideoSubFinder and put them in images folder
-
Input image location in
Config
file. [ Need change\
to\\
| E.g.C:\Users
toC:\\Users
] -
Run main.py and login with google account (only for first time)
-
Wait until it complete processing evey image.