Meta-tool that presents frames from a video to image analysis frameworks and uses the predictions to determine whether to use a frame or not.
Project description
Meta-tool that presents frames from a video to image analysis frameworks and uses the predictions to determine whether to use a frame or not.
Frames can be presented as files (file-polling-based) with the predictions then being read from files that the image analysis framework generated.
Alternatively, a Redis (https://redis.io/) backend can be used (redis-based), to broadcast the images as JPG bytes and then listening on another channel for the predictions to come through. This approach avoids wearing out disks.
Project page:
https://github.com/waikato-datamining/video-frame-selector
Changelog
0.0.8 (2021-11-02)
process.py and process_redis.py now allow iterating through images (.jpg, .png) in a directory
process_redis.py now handles predictions in bytes or str
0.0.7 (2021-09-27)
process.py now adheres to the –output_metadata flag
process_redis.py allows processing of frames via Redis backend
0.0.6 (2021-08-05)
frames processed output is now always being output
added logging output for frame file and metadata file in verbose mode
0.0.5 (2021-08-05)
added –output_metadata flag that stores information on predictions and cropping when outputting frames
0.0.4 (2021-08-03)
added –crop_to_content flag that crops the frames to the bounding boxes (only when not generating an output video)
added –crop_margin option to enforce a buffer around cropped region
added –crop_min_width and –crop_min_height options to enforce a minimum width/height
0.0.3 (2021-08-02)
added –poll_interval option (https://github.com/waikato-datamining/video-frame-selector/issues/2)
added logging output for when writing image to disk
0.0.2 (2021-07-30)
fixed return statement in process_image method
added more debugging output
added –analysis_keep_files option for debugging purposes, which won’t delete the output of the image analysis framework
added options for defining a frame window (–from_frame, –to_frame)
0.0.1 (2021-07-21)
initial release
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
File details
Details for the file video-frame-selector-0.0.8.tar.gz
.
File metadata
- Download URL: video-frame-selector-0.0.8.tar.gz
- Upload date:
- Size: 15.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd619eec0136200fde13bf8b6caaab769e1aab3fc33decdc9c0a284007147ce0 |
|
MD5 | 96523603076e6bc924e16421be8fef08 |
|
BLAKE2b-256 | 057278fd48b7e364d7c7505f02a8a3b371b50d1d09d2fc7362eb2812d33c492e |