OBJECT_DETECTION_MODEL Class Reference

Lists available models for the object detection module. More...

Static Functions

def from_string (str, name)
 Converts a string to the corresponding OBJECT_DETECTION_MODEL enum value. More...
 

Detailed Description

Lists available models for the object detection module.

Enumerator
MULTI_CLASS_BOX_FAST Any objects, bounding box based.
MULTI_CLASS_BOX_ACCURATE Any objects, bounding box based, more accurate but slower than the base model.
MULTI_CLASS_BOX_MEDIUM Any objects, bounding box based, compromise between accuracy and speed.
PERSON_HEAD_BOX_FAST Bounding box detector specialized in person heads particularly well suited for crowded environments. The person localization is also improved.
PERSON_HEAD_BOX_ACCURATE Bounding box detector specialized in person heads, particularly well suited for crowded environments. The person localization is also improved, more accurate but slower than the base model.
CUSTOM_BOX_OBJECTS For external inference, using your own custom model and/or frameworks. This mode disables the internal inference engine, the 2D bounding box detection must be provided.

Functions

◆ from_string()

def from_string (   str,
  name 
)
static

Converts a string to the corresponding OBJECT_DETECTION_MODEL enum value.

Parameters
name: The string representation of the OBJECT_DETECTION_MODEL enum value.
Returns
The corresponding OBJECT_DETECTION_MODEL enum value. If the string does not match any OBJECT_DETECTION_MODEL, OBJECT_DETECTION_MODEL.LAST is returned.