Skip to main content

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.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)

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

video-frame-selector-0.0.7.tar.gz (14.2 kB view details)

Uploaded Source

File details

Details for the file video-frame-selector-0.0.7.tar.gz.

File metadata

  • Download URL: video-frame-selector-0.0.7.tar.gz
  • Upload date:
  • Size: 14.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

Hashes for video-frame-selector-0.0.7.tar.gz
Algorithm Hash digest
SHA256 b13e73822221a42f85a025d818364a9412480136396dc0da8e7f38b30702378b
MD5 a062b31dd0d84bbf5bacf360cdd4c5a5
BLAKE2b-256 cc8dd2d193899703d56f5ae378f9db8ad5445f8a8cd3760e42104d761da7477e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page