Module viz

Source
Expand description

A module for visualizing streams

Enums§

ShowFeatureMode
The display mode for visualizing detected features

Functions§

download_file
Convenience function for converting downloading a file at the given video_url. Used for testing.
draw_feature_coord
Draw a cross on the given img at the given x and y coordinates
draw_feature_event
Assuming the given event is a feature, draw it on the given img as a white cross
draw_rect
Draw a rectangle on the given img with the given color
encode_video_ffmpeg
Convenience function for converting binary grayscale data to an mp4. Used for testing.