Optional
Readonly
cameraConstraints?: ConstraintsDefault constraints to use for the camera source
Optional
Readonly
captureCanvasEl?: HTMLCanvasElementIf specified, this canvas will be used for capturing frames to
Optional
Readonly
postCaptureDraw?: (ctx: CanvasRenderingContext2D, width: number, height: number) => voidIf specified, this function will be called after ImageData is captured from the intermediate canvs. This allows for drawing on top of the captured image.
Optional
Readonly
showCanvas?: booleanIf true, capture canvas will be shown. Default: false
Optional
Readonly
showPreview?: booleanIf true, raw source will be shown. Default: false.
Frame procesor options