Skip to main content

EOIBoundingBox

Encapsulates the settings for common object detection. Common object detection provides a detection stage that precedes the execution of the EyesOnIt Large Vision Model. If common object detection is enabled, the Large Vision Model will only run if a common object is detected. If common object detection is disabled, the common object detection stage gets skipped and the Large Vision Model runs without a check for common objects.

Note that the Large Vision Model will detect common objects more accurately than the bounding box model in many cases. If you don't get the accuracy that you need with the bounding box model, considering setting the threshold value low. This will send anything that could be an object to the Large Vision Model for validation. If you still don't get the results you need, consider disabling common object detection and just relying on the Large Vision Model. The Large Vision Model will always run if the bounding box model is disabled.

Namespace: EyesOnItSDK.Data.Elements

Properties

NameTypeDescription
BoundingBoxEnabledbooltrue to enable detection of common objects, false to disable detection
DetectPeopleboolif true, the bounding box model will attempt to detect people. If false, the common object model will not attempt to detect people
DetectVehiclesboolif true, the bounding box model will attempt to detect vehicles. If false, the common object model will not attempt to detect vehicles
DetectBagsboolif true, the bounding box model will attempt to detect bags. If false, the common object model will not attempt to detect bags
PeopleConfidenceThresholdintthe detection threshold for people from 10 to 100
VehiclesConfidenceThresholdintthe detection threshold for vehicles from 10 to 100
BagsConfidenceThresholdintthe detection threshold for bags from 10 to 100

Constructor

Signature

public EOIBoundingBox()

The default constructor creates an EOIBoundingBox object with default values. By default, common object detection is disabled.

Parameters

EOIBoundingBox only has a default constructor with no parameters

Methods

This class has no methods