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.2.tar.gz
(4.7 kB
view hashes)
Built Distribution
Close
Hashes for video_ocr-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fcfc1c774f42301bc591aa831957b6c1f615db7e92711f94ea65e3edf887a2fc |
|
MD5 | db0a29b7d33932aeb6de180572da98c1 |
|
BLAKE2b-256 | d3c26ac000b437e931856d6e41f29f0fbf8341fee88f531b19e65c9089f90574 |