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 details)
Built Distribution
File details
Details for the file video-ocr-0.0.2.tar.gz
.
File metadata
- Download URL: video-ocr-0.0.2.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
df618a5e9b58c4ed61cb27b075df5bde547bf297f7d53ca99019f0cfab02b4ad
|
|
MD5 |
cf1eb40ca98dd3a72bc8dacaf5844ffc
|
|
BLAKE2b-256 |
315ee59d50ca17f291ef4cef0d0a7a25cb8050901df6e871219d71c96a36efe3
|
File details
Details for the file video_ocr-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: video_ocr-0.0.2-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
fcfc1c774f42301bc591aa831957b6c1f615db7e92711f94ea65e3edf887a2fc
|
|
MD5 |
db0a29b7d33932aeb6de180572da98c1
|
|
BLAKE2b-256 |
d3c26ac000b437e931856d6e41f29f0fbf8341fee88f531b19e65c9089f90574
|