Tool for extracting hard subtitles from videos.
Project description
rapid_videocr Package
1. Install package by pypi.
$ pip install rapid_videocr
2. Run by script.
- RapidVideOCR has the default
out_format, which is one of['srt', 'txt', 'all'], the default value isall. - 📌
2.mp4source: link
from rapid_videocr import RapidVideOCR
extractor = RapidVideOCR()
rgb_dir = 'RGBImages'
save_dir = 'result'
extractor(rgb_dir, save_dir)
3. Run by command line.
- Usage:
$ rapid_videocr -h usage: rapid_videocr [-h] [-i IMG_DIR] [-s SAVE_DIR] [-o {srt,txt,all}] optional arguments: -h, --help show this help message and exit -i IMG_DIR, --img_dir IMG_DIR The full path of mp4 video. -s SAVE_DIR, --save_dir SAVE_DIR The path of saving the recognition result. -o {srt,txt,all}, --out_format {srt,txt,all} Output file format. Default is "all"
- Example:
$ rapid_videocr -i RGBImages -s Results -o srt
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rapid_videocr-1.1.12-py3-none-any.whl.
File metadata
- Download URL: rapid_videocr-1.1.12-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7bd0bc58498ea9707dd045e5fb953f6d6f7ddcebcf1b040782ff8b99a59997ec
|
|
| MD5 |
45e5b8a4fdd2988a8d216ada06b50d67
|
|
| BLAKE2b-256 |
7ea5ad6b326b4758ff1dfaff5a0a7ce52877dc8e2b3f6b2257d8a1982508cedc
|