otx.api.utils.async_pipeline#

OTX AsyncPipeline of OTX Detection.

Classes

OTXDetectionAsyncPipeline(model)

OTX AsyncPipeline of OTX Detection.

class otx.api.utils.async_pipeline.OTXDetectionAsyncPipeline(model)[source]#

Bases: AsyncPipeline

OTX AsyncPipeline of OTX Detection.

get_result(id)[source]#

Get result of inference by index.

Parameters:

id (int) – index of inference

Returns:

tuple of inference result and meta information

Return type:

result (tuple)