dodal.devices.areadetector.plugins.MJPG.MJPG#

class dodal.devices.areadetector.plugins.MJPG.MJPG[source]#

The MJPG areadetector plugin creates an MJPG video stream of the camera’s output.

This devices uses that stream to grab images. When it is triggered it will send the latest image from the stream to the post_processing method for child classes to handle.

Parameters:
  • prefix (str)

  • name (str, default: '')

Methods

post_processing(image)

trigger()

This takes a snapshot image from the MJPG stream and send it to the post_processing method, expected to be implemented by a child of this class.

Attributes

trigger()[source]#

This takes a snapshot image from the MJPG stream and send it to the post_processing method, expected to be implemented by a child of this class.

It is the responsibility of the child class to save any resulting images by calling _save_image.