video-latency-test
This project provides software for a simple video latency test, utilizing the Linux framebuffer for video output and OpenCV for camera capture.
Usage
Run video-latency-test from the commandline.
root@raspberrypi4-64:~# video-latency-test -h
usage: video-latency-test [-h] [--frames FRAMES] [--hue HUE] [--csv CSV]
output_fb cv2_cap
Run a video latency test
positional arguments:
output_fb The name of the framebuffer to use, e.g. fb0
cv2_cap Index of the cv2 capture device, e.g. 0
optional arguments:
-h, --help show this help message and exit
--frames FRAMES Number of frames to capture for the test
--hue HUE Hue threshold (uses hue values of 0-180)
--csv CSV Location to save a CSV log of captured data
Implementation
The video-latency-test executable accepts a VideoOutputInterface object, and a VideoCapture object,
then measures the latency between setting a color on the VideoOutputInterface and detecting
that color on the VideoCaptureInterface. The base implementation, using a Linux Framebuffer
for the output and a USB camera for the input, is shown in the diagram below.
Video Output
Interface
Framebuffer Implementation
Video Capture
Interface
Framebuffer Implementation
Frame Types
Frame types provide a method of generating frames written to the Video Output device, along with a method of validating those frames from the Video Capture device.
Interface
Solid Colors
Metadata
Release files for video-latency-test 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| video-latency-test-0.0.6.tar.gz | 9.8 kB | Without provenance | Details for video-latency-test-0.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| video_latency_test-0.0.6-py3-none-any.whl | Python 3 | none | any | Details for video_latency_test-0.0.6-py3-none-any.whl |
Total release size: 23.6 kB
Release files / video-latency-test-0.0.6.tar.gz
| Download URL | video-latency-test-0.0.6.tar.gz |
|---|---|
| Size | 9.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
169c227b762a22d0b0483dc9eb5a447e4cfbaeabebfe3903a73d1ebfc6398560
|
|
BLAKE2b-256 checksum How to use checksums |
8ffcfc87e0a63d42f53d4e4e57dc0945602242ffdc56918ffa19cb8c324528e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1
|
Release files / video_latency_test-0.0.6-py3-none-any.whl
| Download URL | video_latency_test-0.0.6-py3-none-any.whl |
|---|---|
| Size | 13.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5f70934adbbfaa9510f9de2747bbf9387de92ff2aa97007606da038d1f842aff
|
|
BLAKE2b-256 checksum How to use checksums |
8e2c57da86655f1bae49f2db18c748ee1aaf7a7374af493f257e28fcb53cb612
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1
|
Security for video-latency-test 0.0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.