ftntming / RapidVideOCR

Extract video hard subtitles and automatically generate corresponding srt files. The combination of VideoSubFinder + RapidOCR can run offline, faster, more accurate and more convenient.

Home Page:https://rapidvideocr.rtfd.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

简体中文 | English


PyPI Documentation Status SemVer2.0

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)
  • Extract video hard subtitles faster and more accurately, and provide output in two formats srt|txt:
    • Faster: Combined with VideoSubFinder software, extraction of key subtitle frames is faster.
    • More accurate: RapidOCR is used as the recognition library.
    • More convenient: pip can be used directly after installation.
  • This tool is under development. During use, if you encounter any problems, please submit an issue or join the group for feedback. If you don't want to use it, just don't use it, don't affect your mood.
  • If it helps you, please give a little star ⭐ or sponsor a cup of coffee (click the link in Sponsor at the top of the page).

Overall framework

flowchart LR
     A(VideoSubFinder) --Extract subtitle key frame--> B(RapidVideOCR) --OCR--> C(SRT)

Use

Change log (more)

  • ♦ 2023-08-05 v2.2.4~2.2.6 update:
    • Fixed index error in concat_rec_mode.
    • Add logging module for easy feedback.
  • 🛶 2023-07-19 v2.2.3 update:
    • Increase the adaptation of VSF parameters. During command line mode and class initialization, it is possible to specify parameters with the same name for VSF commands.
  • 🤓2023-07-08 v2.2.2 update:
    • Fixed the problem that the Chinese path could not be read during batch recognition
    • Skip issue in SRT when fixing missing axes. At present, when a certain axis fails to be recognized, the position will be vacated, which is convenient for proofreading.
    • Keep the vsf results.

Announce

For international developers, we regard Discussions as our international community platform. All ideas and questions can be discussed here in English.

About

Extract video hard subtitles and automatically generate corresponding srt files. The combination of VideoSubFinder + RapidOCR can run offline, faster, more accurate and more convenient.

https://rapidvideocr.rtfd.io

License:Apache License 2.0


Languages

Language:Python 61.4%Language:Jupyter Notebook 38.6%