Skip to main content

FrameCaptureCallback

@microblink/blinkid


@microblink/blinkid / FrameCaptureCallback

Type Alias: FrameCaptureCallback()

FrameCaptureCallback = (frame) => Promisable<ArrayBufferLike | void>

A callback that will be triggered on each frame when the playback state is "capturing".

Parameters

frame

ImageData

The frame to capture.

Returns

Promisable<ArrayBufferLike | void>

The frame.