Skip to main content

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 is all.
  • 📌 2.mp4 source: 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
    

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

If you're not sure about the file name format, learn more about wheel file names.

rapid_videocr-2.0.3-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file rapid_videocr-2.0.3-py3-none-any.whl.

File metadata

  • Download URL: rapid_videocr-2.0.3-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for rapid_videocr-2.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 86a744812e3ea261130cde88b08e925810bbf5cc05b5988d13a59180ed78f8dd
MD5 3461b21e875073e38d498e3ed76903f2
BLAKE2b-256 dd69009d049b3097a23d7192f768dfe5ce5b8e402e735ce734716e8d58a130c8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page