Modules
Backpack provides the following modules:
AutoIdentity allows your application to learn more about itself and the host device. It gives access to the Panorama device id, application instance id, application name and description, and other similar information.
Timepiece is a collection of timing and profiling classes that allows you to efficiently measure the frame processing time of your app, time profile different stages of frame processing (preprocessing, model invocation, postprocessing), and send a selected subset of these metrics to AWS CloudWatch to monitor your application in real-time, and even create CloudWatch alarms if your app stops processing frames.
SkyLine provides a framework to re-stream the processed video (annotated by your application) to media endpoints supported by GStreamer. Two implementation of the abstract base class
SkyLine
is provided:
KVSSkyLine
lets you send the processed video to AWS Kinesis Video Streams service
RTSPSkyLine
configures an RTSP server directly in your Panorama application. You can play back the video stream with an RTSP client (for example, with VLC Media Player), directly from your workstation.Annotations is a unified API for drawing on different backends like the core panoramasdk.media class or OpenCV images.
Geometry is a collection of classes representing 2D geometric primitives like points, lines, polylines, and some useful geometric algorithms.
Config helps you to define the deploy-time configuration parameters, parse them into arbitrary Python object, as well as gives you a developer tool to avoid manually editing
graph.json
and business logicpackage.json
when the parameters change.