Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SamplingOptions

Package version

Defines how often media is submitted to the extension plugin.

Hierarchy

  • SamplingOptions

Index

Properties

Optional maximumSamplesPerSecond

maximumSamplesPerSecond: undefined | string

Maximum rate of samples submitted to the extension. This prevents an extension plugin to be overloaded with data.

Optional skipSamplesWithoutAnnotation

skipSamplesWithoutAnnotation: undefined | string

When set to 'true', prevents frames without upstream inference data to be sent to the extension plugin. This is useful to limit the frames sent to the extension to pre-analyzed frames only. For example, when used downstream from a motion detector, this can enable for only frames in which motion has been detected to be further analyzed.

Generated using TypeDoc