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.

Properties

NameTypeDescription
bounding_box_enabledbooltrue to enable detection of common objects, false to disable detection
detect_peopleboolif true, the bounding box model will attempt to detect people. If false, the common object model will not attempt to detect people
detect_vehiclesboolif true, the bounding box model will attempt to detect vehicles. If false, the common object model will not attempt to detect vehicles
detect_bagsboolif true, the bounding box model will attempt to detect bags. If false, the common object model will not attempt to detect bags
person_confidence_thresholdintthe detection threshold for people from 10 to 100
vehicle_confidence_thresholdintthe detection threshold for vehicles from 10 to 100
bag_confidence_thresholdintthe detection threshold for bags from 10 to 100

Constructor

Supports simple construction of an EOIBoundingBox object.

Signature

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