ENOT video processor package for iterating over video frames easily.
Project description
ENOT Video Processor
Package for processing video with pyav package.
Provides methods for reading from video and writing modified video frames.
Examples
Reading
from enot_vp import VideoProcessor
from ultralytics import YOLO
model = YOLO(MODEL_PATH)
with VideoProcessor(input_video=VIDEO_PATH) as vp:
for frame in vp:
ndarray = model(frame.to_image(), imgsz=1600, verbose=False)[0].plot()[..., ::-1]
Modification
from enot_vp import VideoProcessor
from ultralytics import YOLO
model = YOLO(MODEL_PATH)
with VideoProcessor(input_video=VIDEO_PATH, output_video=OUTPUT_VIDEO_PATH) as vp:
for frame in vp:
ndarray = model(frame.to_image(), imgsz=1600, verbose=False)[0].plot()[..., ::-1]
vp.put(ndarray)
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
enot_vp-0.1.3.tar.gz
(17.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file enot_vp-0.1.3.tar.gz.
File metadata
- Download URL: enot_vp-0.1.3.tar.gz
- Upload date:
- Size: 17.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
08d6fae369c518fe6926c8b2ca6b78875909576f57a9a68fef967a441a45351b
|
|
| MD5 |
207b1d3c95484fc5306f3e2c3c1aedbe
|
|
| BLAKE2b-256 |
4eb2458caebbdc5c95cc3778a9c177b6b999fbbc06f57e046cd04ea878bbcc5e
|
File details
Details for the file enot_vp-0.1.3-py3-none-any.whl.
File metadata
- Download URL: enot_vp-0.1.3-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc47f10d1911935f9b6d64ec072e65bf8db37c93fa5fea3b106c47bae93ded4b
|
|
| MD5 |
ba893fb6f7ae8f5106c9c0efe6f448a9
|
|
| BLAKE2b-256 |
40e3848f1ddc97649066598d765c1a7ba0c4c2219564a271b4856691138cf3d0
|