Skip to content

A simple OCR program with GUI for hard subtitles extraction. 内嵌字幕提取

License

Notifications You must be signed in to change notification settings

op200/Simple_Subtitle_OCR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

安装依赖

必要依赖库

pip install opencv-python
pip install pillow
pip install numpy

有两种OCR库可供选择

使用PaddleOCR (默认)

先安装飞桨
再安装PaddleOCR

pip install paddleocr

使用EasyOCR

先安装PyTorch
再安装EasyOCR

pip install easyocr

运行程序

python SS_OCR.py

使用说明

详见Wiki


原理

判断前后帧的边缘差值,高于阈值的帧将被OCR

About

A simple OCR program with GUI for hard subtitles extraction. 内嵌字幕提取

Topics

Resources

License

Stars

Watchers

Forks

Languages