otx.api.usecases.exportable_code.inference
Initialization of inference interfaces.
Classes
IInferencer ()
|
Base interface class for the inference task. |
-
class otx.api.usecases.exportable_code.inference.IInferencer[source]
Bases: object
Base interface class for the inference task.
This class could be used by both the analyse method in the task, and the exportable code inference.
-
abstract predict(image: ndarray) → AnnotationSceneEntity | Tuple[Any, ...][source]
This method performs a prediction.