Skip to main content

list_models

Signature:

Detection.list_models() -> list[dict[str, Any]]

Description:

Get list of available detection models.

Parameters:

No parameters.

Returns:

list[dict[str, Any]]

Fields included in each model item in the returned list:

Field

Type

Description

id

str

Model ID

name

str

Model name or description

type

str

Model type

backend

list[str]

Backend list

Raises:

None.

Example:

from boosteros.brain import Detection

for model in Detection.list_models():
print(model["id"], model["name"])
# Example output: default General object detection (fast)