onFrame property

dynamic Function(CameraImage frame)? onFrame
final

Optional callback invoked on each raw live camera image frame for custom ML AI models.

Implementation

final Function(cam.CameraImage frame)? onFrame;