Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Vision AI Assistant

Measure a contour of an object in an image

  • Last UpdatedFeb 12, 2024
  • 3 minute read

Use the Measure Length block to get measurements of the contour of the object, such as height and width. You can also add measurement conversions.

To measure the length between two given coordinates

  1. On the Block Definitions toolbar, select Measurement.

    The Measurement list expands.

  2. Drag a Measure Length block onto the Canvas.

    Embedded Image (65% Scaling) (LIVE)

  3. Connect the block to other blocks on the Canvas as needed.

  4. Select the Measure Length block on the Canvas.

  5. Right-click the block, and then select Properties.

    Embedded Image (65% Scaling) (LIVE)

    The Properties side sheet appears on the right side of the screen.

    Embedded Image (65% Scaling) (LIVE)

  6. Optional: Select the expand button () to expand the Reference line coordinates area.

    This enlarges the images so that you can more easily define the reference line.

    You can select the collapse button () to return to the previous menu.

  7. Optional: On the enlarged image, use the zoom tools to zoom in (Zoom In Button) and out (Zoom Out Button) of the image.

  8. Select the image twice to create the connection points for the reference line.

    The Measure Length block always measures the height or width in relation to the magnitude of the reference line.

  9. Optional: Select Clear to delete the defined reference angle and start over.

  10. In the Magnitude box, enter the magnitude of the reference line.

    For example, if the reference line represents 2 cm, you should set this value to 2.

  11. In the Unit box, enter the unit of measure (UOM) that you want to report the length in.

    This UOM should match the value that you enter for the Magnitude. For example, if the reference line represents 2 cm, you should set this value to cm.

  12. In the Measurement type area, select whether you want to measure Height or Width.

  13. Select Apply Changes.

    The preview result for the block updates on both the Properties side sheet and the Canvas.

TitleResults for “How to create a CRG?”Also Available in