Vector / Resource

Convert from Graphic

Detects contours of an image and traces a vector shape.

iOSmacOSvisionOS

Inlets

Graphic

Graphic

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.

Outlets

Vector

Vector

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.

Default
2
Editor minimum
0
Editor maximum
3
Inlet
Contrast Adjustment

Auto Contrast Pivot

Bool

Automatically detect the contrast pivot according to image intensity.

Default
true
Inlet
Auto Contrast Pivot

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.

Default
0.5
Editor minimum
0
Editor maximum
1
Inlet
Contrast Pivot

Detects Dark on Light

Bool

Indicates whether the request detects a dark object on a light background to aid in detection.

Default
true
Inlet
Detects Dark on Light

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.

Default
512
Editor minimum
64
Editor maximum
1024
Inlet
Maximum Image Dimension

Version history

  1. Added in 3.0.0