Skip to content

Extract video hard subtitles and automatically generate corresponding srt files.

License

Notifications You must be signed in to change notification settings

larygwil/RapidVideOCR

 
 

Repository files navigation

 

PyPI SemVer2.0

简体中文 | English

Contents

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.
  • 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"/]
Loading

Installation

Warning

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

pip install rapid_videocr

Usage

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.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 51.6%
  • Jupyter Notebook 48.4%