Table of contents

ContoursUnit

The ContoursUnit interface extends the IntermediateResultUnit interface and represents a unit of contours, which are collections of points that define the shape of an object in an image.

interface ContoursUnit extends IntermediateResultUnit {
    contours: Array<Contour>;
}

contours

An array of Contour objects, each representing a series of points that outline a shape within the image.

contours: Array<Core.Contour>;

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: