目录

class info
com.huawei.hms.mlsdk.common.MLCompositeTransactor
Represents a composite detection result processor that can separately process detection results of multiple objects.

Public Method Summary

Return typeMethod name
voiddestroy()
voidtransactResult(MLAnalyzer.Result<T> result)

Public Methods

Method
public void destroy()
Releases resources used by a processor.
Method
public void transactResult(MLAnalyzer.Result<T> result)
Sends the detection results obtained by an analyzer to a processor, which then performs corresponding processing, including calling the objectCreateCallback, lostCallback, and objectUpdateCallback APIs.

Parameters

Parameter nameParameter desc
resultDetection results obtained by an analyzer.