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)
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)
| File | Size | Uploaded | |
|---|---|---|---|
| video-ocr-0.0.2.tar.gz | 4.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|