Skip to main content

RapidVideOCR

Project description

rapid_videocr Package

1. Install package by pypi.

$ pip install rapid_videocr

2. Run by script.

from rapid_videocr import RapidVideOCR

extractor = RapidVideOCR()
mp4_path = 'assets/test_video/2.mp4'
ocr_result = extractor(mp4_path)
print(ocr_result)

3. Run by command line.

$ rapid_videocr --mp4_path xxx.mp4

4. Result.

  • Return value.
    [
        [0, '00:00:00,041', '00:00:00,416', '空间里面他绝对赢不了的'],
        [10, '00:00:00,458', '00:00:01,166', '我进去帮他'],
        [37, '00:00:01,583', '00:00:02,541', '你们接着善后']
    ]
    

Project details


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

rapid_videocr-1.1.2-py3-none-any.whl (12.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page