DetectionTaskCallback

Stay organized with collections Save and categorize content based on your preferences.
public interface DetectionTaskCallback

Interface for defining a post-processing action to be executed for each detection.This is used by CameraXSource for the pipeline to feed camera frames to detectors and invoke callbacks that are set by developers. Developers must override the onDetectionTaskReceived(Task) callback in order to receive detection tasks.

Public Method Summary

abstract void
onDetectionTaskReceived(Task<ResultT> detectionTask)
Called by the CameraXSource to deliver a detection task to the DetectionTaskCallback.

Public Methods

public abstract void onDetectionTaskReceived (Task<ResultT> detectionTask)

Called by the CameraXSource to deliver a detection task to the DetectionTaskCallback.