Skip to content

Instantly share code, notes, and snippets.

@MitsuhaKitsune
Last active July 11, 2021 23:54
Show Gist options
  • Save MitsuhaKitsune/75e87134dc6996cea615458e9979573a to your computer and use it in GitHub Desktop.
Save MitsuhaKitsune/75e87134dc6996cea615458e9979573a to your computer and use it in GitHub Desktop.
Batch parse of VideoSubFinder text images with tesseract (To extract hardcoded subtitles of videos)
@ECHO OFF
for %%f in (D:\VideoTools\VideoSubFinder\Release_x64\TXTImages\*.jpeg) do (
tesseract %%f D:\VideoTools\VideoSubFinder\Release_x64\TXTResults\%%~nf -l spa
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment