Skip to main content

Interface: TakeSnapshotOptions

Properties​

path?​

optional path: string

A custom path where the snapshot will be saved to.

This must be a directory, as VisionCamera will generate a unique filename itself. If the given directory does not exist, this method will throw an error.

By default, VisionCamera will use the device's temporary directory.

Defined in​

types/Snapshot.ts:17


quality?​

optional quality: number

Specify a quality for the JPEG encoding of the snapshot.

Default​

100

Defined in​

types/Snapshot.ts:8