Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

JPEGCompressedImageMessage

UncompressedImageMessage

AudioMessage

BoundingBoxesMessage

Preferred way of sending any message containing an image. Uses lossy JPEG compression on WxHx3 images. Non-image content will be destroyed by this compression.

Same as JPEGCompressedImageMessage, but without compression. This means that this message is significantly slower. Only use this if the image data must be kept untouched.

Preferred way of sending any message containing audio. The audio must contain contain pulse-code modulated (PCM) 16 bit signed integer waveform audio data.

Preferred way of sending any message containing a list of one or multiple BoundingBox objects. The BoundingBox is a generic class for single bounding boxes in x,y,w,h-format. x,y represents top-left pixel. Bounding boxes can easily be drawn by calling draw_on_image

...