Detects contours of an image and traces a vector shape.
Properties
- Contrast Adjustment (Float)
The amount by which to adjust the image contrast. Contour detection works best with high-contrast images. The default value of this property is 2.0, which doubles the image contrast to achieve the most accurate results.
- Auto Contrast Pivot (Bool)
Automatically detect the contrast pivot according to image intensity.
- Contrast Pivot (Float)
The pixel value to use as a pivot for the contrast. Ranged from 0.0 to 1.0. The default value is 0.5, which indicates the pixel center.
- Detects Dark on Light (Bool)
Indicates whether the request detects a dark object on a light background to aid in detection.
- Maximum Image Dimension (Int)
The maximum image dimension to use for contour detection. Contour detection is computationally intensive. To improve performance, the input image is scaled down, while maintaining its aspect ratio, such that its maximum dimension is the value of this property. The image is never scaled up.