Closes down connections and removes created elements. Once disposed, the frame processor cannot be used
Returns the current capturer instance
Get the last frame
Get the timestamp of the processor (elapsed time since starting)
Shows or hides the Canvas we're capturing to
Hides or shows the raw source in the DOM
Preview enabled
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.