@snap/camera-kit
Version:
Camera Kit Web
19 lines (10 loc) • 604 B
Markdown
[**CameraKit Web SDK v1.13.0**](../README.md)
***
[CameraKit Web SDK](../globals.md) / estimateLensPerformance
# Function: estimateLensPerformance()
> **estimateLensPerformance**(): `Promise`\<[`EstimatedLensPerformance`](../interfaces/EstimatedLensPerformance.md)\>
Run benchmarks which attempt to predict expected lens performance, and assign a cluster (i.e. a performance rating)
which the CameraKit SDK can use to optimize certain lenses.
## Returns
`Promise`\<[`EstimatedLensPerformance`](../interfaces/EstimatedLensPerformance.md)\>
A rating from 1-6, indicating expected Lens performance.