Create a new frame processor
Returns the current capturer instance
Grab frames from a video camera source and initialises frame processor.
If constraints
are not specified, it will use the ones
provided when creating the class, or defaults.
Optional
constraints: ConstraintsOverride of constraints when requesting camera access
Frame Processor Simplifies grabbing frames from a camera or video file.
First, create:
Then either use the camera or a video file:
With
useCamera
, optionally specify Io.Camera.Constraints to pick which camera and resolution.See FrameProcessorOpts for details on available options.