SWHL / RapidVideOCR

Extract video hard subtitles and automatically generate corresponding srt files.

Home Page:https://swhl.github.io/RapidVideOCR/docs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

 

PyPI SemVer2.0

简体中文 | English

Introduction

  • Video hard subtitle extraction, automatically generate the corresponding srt | txt file.

  • Supported subtitle languages: Chinese | English (For other supported languages, see: List of supported languages)

  • The advantages are as follows:

    • Faster extraction: Used in conjunction with VideoSubFinder software to extract key subtitle frames faster.
    • More accurate recognition: Use RapidOCR as the recognition library.
    • More convenient to use: pip can be installed directly and used.
  • For desktop EXE version, please go to RapidVideOCRDesktop.

  • If it helps you, please give a star ⭐.

Demo

Overall framework

flowchart LR
    A[/Video/] --Extract subtitle key frame--> B(VideoSubFinder) --OCR-->C(RapidVideOCR)
    C --Convert--> D[/"SRT | TXT"/]

Installation

pip install rapid_videocr

Usage

Note

The input image path of rapid_videocr must be the path of RGBImages or TXTImages output by VideoSubFinder software.

rapid_videocr -i RGBImages

Documentation

Full documentation can be found on docs, in Chinese.

Code Contributors

Contributing

  • Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
  • Please make sure to update tests as appropriate.

If you want to sponsor the project, you can directly click the Buy me a coffee image, please write a note (e.g. your github account name) to facilitate adding to the sponsorship list below.

License

This project is released under the Apache 2.0 license.

About

Extract video hard subtitles and automatically generate corresponding srt files.

https://swhl.github.io/RapidVideOCR/docs

License:Apache License 2.0


Languages

Language:Python 51.5%Language:Jupyter Notebook 48.5%