Skip to main content

EOILastDetection

Encapsulates alert status for the last alert that are provided as output by EyesOnIt.

Namespace: EyesOnItSDK.Data.Elements

Properties

NameTypeDescription
DescriptionValuesDictionary<string, int>a map of confidence levels for each object description when the detection occurred
AlertingDescriptionstringthe object description whose alert threshold was exceeded to generate the detection
AlertTimeDateTime?the time of the last detection
Imagestringthe video frame from the time of the detection. The image is encoded as a base64 string.

Constructor

The constructor supports simple construction of an EOILastDetection object.

Signature

public EOILastDetection()

Parameters

The default constructor has no parameters

Methods

FromJson

Creates a EOILastDetection object from a JSON string

Signature

public static EOILastDetection FromJson(string jsonString)

Parameters

NameTypeDescription
jsonStringstringa JSON string representing a EOILastDetection object

Returns

An EOILastDetection object created from the provided JSON string