Skip to main content

EOIDetectionCondition

eyesonit-typescript-sdk


eyesonit-typescript-sdk / EOIDetectionCondition

Class: EOIDetectionCondition

Constructors

Constructor

new EOIDetectionCondition(type, count, line_name, alert_direction, objects): EOIDetectionCondition

Parameters

type

string

count

number | null

line_name

string | null

alert_direction

string | null

objects

EOIDetectionObject[] | null

Returns

EOIDetectionCondition

Properties

type

type: string


count

count: number | null = null


line_name

line_name: string | null = null


alert_direction

alert_direction: string | null = null


objects

objects: EOIDetectionObject[] | null = null

Methods

fromJsonObj()

static fromJsonObj(obj): EOIDetectionCondition | undefined

Parameters

obj

any

Returns

EOIDetectionCondition | undefined


getMaxConfidenceObject()

getMaxConfidenceObject(): [string, number] | null

Returns

[string, number] | null