Interface: TakePhotoOptions
Propertiesβ
enableAutoDistortionCorrection?β
optional
enableAutoDistortionCorrection:boolean
Specifies whether the photo output should use content aware distortion correction on this photo request. For example, the algorithm may not apply correction to faces in the center of a photo, but may apply it to faces near the photoβs edges.
Platformβ
iOS
Defaultβ
false
Defined inβ
types/PhotoFile.ts:34
enableAutoRedEyeReduction?β
optional
enableAutoRedEyeReduction:boolean
Specifies whether red-eye reduction should be applied automatically on flash captures.
Platformβ
iOS
Defaultβ
false
Defined inβ
types/PhotoFile.ts:26
enableShutterSound?β
optional
enableShutterSound:boolean
Whether to play the default shutter "click" sound when taking a picture or not.
Defaultβ
true
Defined inβ
types/PhotoFile.ts:40
flash?β
optional
flash:"off"
|"auto"
|"on"
Whether the Flash should be enabled or disabled
Defaultβ
"off"
Defined inβ
types/PhotoFile.ts:10
path?β
optional
path:string
A custom path
where the photo 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/PhotoFile.ts:19