TensorMath.applyNMS
FunctionFunction in the Lens Scripting API.
- Available on all platforms
Platform details: Snapchat, SPECS, Camera Kit Web, Camera Kit Mobile fully supported.
applyNMS(
inTensor,inShape,scores,scoreThreshold,iouThreshold,outTensor):number
Parameters
| Parameter | Type |
|---|---|
inTensor | Float32Array |
inShape | vec3 |
scores | Float32Array |
scoreThreshold | number |
iouThreshold | number |
outTensor | Uint32Array |
Returns
number