Skip to main content

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)

Release files for video-ocr 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for video-ocr 0.0.2
File Size Uploaded
video-ocr-0.0.2.tar.gz 4.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for video-ocr 0.0.2
File Interpreter ABI Platform
video_ocr-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 9.7 kB

Release files / video-ocr-0.0.2.tar.gz

Download URL video-ocr-0.0.2.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
df618a5e9b58c4ed61cb27b075df5bde547bf297f7d53ca99019f0cfab02b4ad
BLAKE2b-256 checksum
How to use checksums
315ee59d50ca17f291ef4cef0d0a7a25cb8050901df6e871219d71c96a36efe3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.11

Release files / video_ocr-0.0.2-py3-none-any.whl

Download URL video_ocr-0.0.2-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fcfc1c774f42301bc591aa831957b6c1f615db7e92711f94ea65e3edf887a2fc
BLAKE2b-256 checksum
How to use checksums
d3c26ac000b437e931856d6e41f29f0fbf8341fee88f531b19e65c9089f90574
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.11

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page