Processor
Base class for all vision processors using the Vision system.
A processor will be attached to a Vision instance and will be called to process frames, allowing you to access your data here using the .getData() method. This makes it useful for tasks to access the latest data from the vision system, without needing to directly interface with the Vision instance.
Author
Lucas Bubner, 2023
Since
1.0.0-pre
Parameters
<T>
the type of VisionData to be processed
Inheritors
Functions
Link copied to clipboard
Link copied to clipboard
Determine whether the processor is attached to a Vision instance or is initialised.
Link copied to clipboard
fun onDrawFrame(@NonNull canvas: Canvas, onscreenWidth: Int, onscreenHeight: Int, scaleBmpPxToCanvasPx: Float, scaleCanvasDensity: Float, @NonNull userContext: Any)
Use onFrameDraw instead, which passes a canvas.
Link copied to clipboard
Called by the vision system to draw on the frame.
Link copied to clipboard
Called by the vision system to process a frame.
Link copied to clipboard