Preparing search index...

    Function findContours

    • 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

      • inTensor: Uint8Array
      • inShape: vec3
      • mode: number
      • method: number
      • offset: vec2
      • outTensor: Int32Array

      Returns number[]