File

src/interfaces/IDetectorOpts.ts

Description

Options used for detector

Index

Properties

Properties

convertDetections
convertDetections: DetectionConvertion
Type : DetectionConvertion
Optional

Changes coordinate system for detections bounding boxes DETECTIONS topic.

RELATIVE is between 0 1 (default) FRAMING coordinates are absolute to the selected frame in the main stream

DOWS
DOWS: boolean
Type : boolean
Optional

DOWS short for Detections Only When Streaming. When set to true, this option will configure the Detector so that detection and framing events are emitted only when camera is being streamed on host machine.

objectFilter
objectFilter: Array<String>
Type : Array<String>
Optional

Specify a list of labels for objects to detect, ie ['head', 'person'] Provide an empty list to retrieve all

enum DetectionConvertion {
  RELATIVE = 'RELATIVE',
  FRAMING = 'FRAMING',
}
/**
 * Options used for detector
 *
 * @interface DetectorOpts
 */
export default interface DetectorOpts {
  /**
   * Changes coordinate system for detections bounding boxes
   * DETECTIONS topic.
   *
   * RELATIVE is between 0 1 (default)
   * FRAMING coordinates are absolute to the selected
   * frame in the main stream
   * @type {DetectionConvertion}
   * @memberof DetectorOpts
   */
  convertDetections?: DetectionConvertion;

  /**
   * Specify a list of labels for objects to detect, ie ['head', 'person']
   * Provide an empty list to retrieve all
   *
   * @type {Array<String>}
   * @memberof DetectorOpts
   */
  objectFilter?: Array<String>;

  /**
   * DOWS short for `D`etections `O`nly `W`hen `S`treaming.
   * When set to true, this option will configure the `Detector`
   * so that detection and framing events are emitted only when
   * camera is being streamed on host machine.
   *
   * @type {boolean}
   * @memberof DetectorOpts
   */
  DOWS?: boolean;
}

export { DetectionConvertion };

result-matching ""

    No results matching ""