Skip to content

Machine Vision ​

Blocks that use the camera for detection, tracking, and visual analysis.

Start Camera ​

Block ​

Start Camera

Description ​

Starts the camera and prepares it to capture images.

Get Next Frame ​

Block ​

Get next frame

Description ​

Takes or gets the next image frame from the camera.

Draw Frame ​

Block ​

Draw frame

Description ​

Shows the given image frame on the screen.

Params ​

  • TEST: MyImage - The image you want to draw.

Get Image Properties ​

Block ​

GetWidth ▾in pixelsfrom Image:

Description ​

Gets a property (like width or height) from an image.

Params ​

  • KEY: Dropdown - Choose which property to get — width or height.
    • Width
    • Height
  • IMG: MyImage - The image to get the property from.

Detect Face ​

Block ​

Detect faces from image

Description ​

Detects faces in the given image and returns their positions.

Params ​

  • TEST: MyImage - The image to look for faces in.

Get Bounding Box Properties ​

Block ​

Get Bounding BoxCenter X ▾on Image from

Description ​

Gets position or size details from a detected face box or object box.

Params ​

  • KEY: Dropdown - Choose what to get — center, position, width, or height.
    • Center X
    • Center Y
    • Position X
    • Position Y
    • Width
    • Height
  • BB: BoundingBoxes - The bounding box to read data from.

Is Color Present ​

Block ​

Is Color Present🔵 Blue ▾

Description ​

Checks if a specific color (red, green, or blue) is found in the image.

Params ​

  • COLOR: Dropdown - The color to look for.
    • 🔵 Blue
    • 🔴 Red
    • 🟢 Green
  • IMG: MyImage - The image to check.

Is Color Present HSV Range ​

Block ​

Is Color Present In Range Lower:Upper:Mode:Normal ▾Image:

Description ​

Checks if a color inside a chosen HSV range exists in the image.

Params ​

  • COLOR_LOWER: HSV Color - The lower color limit in HSV.
  • COLOR_UPPER: HSV Color - The upper color limit in HSV.
  • INVERTED: Dropdown - Choose ‘Normal’ or ‘Inverted Hue’ mode.
    • Normal
    • Inverted Hue
  • IMG: MyImage - The image to check for the color range.