TensorMath.findContours
FunctionReturns contours.
- Available on all platforms
Platform details: Snapchat, SPECS, Camera Kit Web, Camera Kit Mobile fully supported.
findContours(
inTensor,inShape,mode,method,offset,outTensor):number[]
Returns contours. Note that: contours are sorted from the largest to the smallest; 2) We cannot return Array of TypedArray-s, so all contours data is stored in single outTensor and Array with sizes of each contour is returned.
Parameters
Returns
number[]