Skip to main content

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

  1. video-ocr uses tesserocr, which in turn uses tesseract as the OCR engine. So, please follow the tesserocr installation instructions.
  2. 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


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)

Uploaded Source

Built Distribution

video_ocr-0.0.2-py3-none-any.whl (5.0 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