Package to run OCR on videos
Project description
video-ocr
video-ocr is a command line tool and a python library that performs OCR on video frames, reducing the computational effort by choosing only frames that are different from their adjacent frames.
Installation
- video-ocr uses tesserocr, which in turn uses tesseract as the OCR engine. So, please follow the tesserocr installation instructions.
- Install using pip:
pip install video-ocr
Getting started
Command line usage
Run video-ocr --help
to show the help text. Example usage is
video-ocr /path/to/video.mp4 --sample_rate=1 --debug_dir="path/to/debug/dir"
Python usage
import video_ocr
video_ocr.perform_video_ocr("/Users/veneetreddy/Downloads/texts.mp4", sample_rate=1)
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 Distribution
video-ocr-0.0.1.tar.gz
(4.8 kB
view hashes)
Built Distribution
Close
Hashes for video_ocr-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8be2beb819057a7efc9ca165628dd582d60813767b818c2f2cf63deada178a1f |
|
MD5 | e445e8621afecde4be8747d8fb224459 |
|
BLAKE2b-256 | 536bc05ef9e330f06162fe231f4e0ee99a495df99016c5ae0df72a2f2a50855f |