Machine Vision
Blocks that use the camera for detection, tracking, and visual analysis.
Start Camera
Block
Description
Starts the camera and prepares it to capture images.
Get Next Frame
Block
Description
Takes or gets the next image frame from the camera.
Draw Frame
Block
Description
Shows the given image frame on the screen.
Params
- TEST: MyImage - The image you want to draw.
Get Image Properties
Block
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
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
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
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
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.