Computer Vision nodes
Classic computer vision: templates, masks, contours, shapes, blobs.
Image Detection
Searches for one template image inside the window.
In: Window:HWND, Image:String, Threshold:Float, Use ROI:Bool, ROI X/Y/W/H:Int
Out: Found:Bool, Pos:Vec2, Count:Int, Confidence:Float, Result:DetectionResult
Image is the path to a template, Threshold typically 0.7 — 0.95.
Image Detection(Image=play.png) → If(Found) → Mouse Move And Click(Pos).
Multiple Image Detection
Searches several templates and returns the first match.
In: Window:HWND, Image A/B/...:String, Threshold:Float, Process Scale:Float
Out: Found, Pos, Count, Confidence, Result
Add more Image inputs from the inspector.
Search play.png or continue.png in one block.
Multi Template Detection
Finds multiple matches of one template.
In: Window:HWND, Image:String, Threshold:Float, NMS:Float, Process Scale:Float
Out: Found, Pos, Count, Confidence, Result
Use when the screen can contain many copies of the same object.
Find all identical resources on the map.
RGB Pixel Detection
Checks the colour of a pixel at a given position.
In: Window:HWND, Sample Pos:Vec2, RGB:String, Tolerance:Int
Out: Found, Pos, Count, Confidence, Result
RGB in the form `255,255,255`.
Check if the button turned green.
RGB Color Mask
Finds regions inside an RGB range.
In: Window:HWND, Mask Low RGB:String, Mask High RGB:String, Min Area:Int, Use ROI:Bool, ROI X/Y/W/H:Int
Out: Found, Pos, Count, Confidence, Result
Set lower / upper RGB bounds and a minimum area.
Find green objects on the minimap.
HSV Mask Detection
Finds regions inside an HSV range.
In: Window:HWND, HSV Low:String, HSV High:String, Min Area:Int
Out: Found, Pos, Count, Confidence, Result
HSV is more stable than RGB across lighting changes.
HSV Low=0,80,80; HSV High=10,255,255 for red objects.
Contour Detection
Finds thresholded contours.
In: Window:HWND, Min Area:Int
Out: Found, Pos, Count, Confidence, Result
Best for simple high-contrast objects.
Find large UI element contours.
Shape Object Detection
Finds objects by contour shape.
In: Window:HWND, Min Area:Int
Out: Found, Pos, Count, Confidence, Result
When the object stands out by shape.
Find a diamond-shaped marker.
Circle Detection
Finds circles via the Hough transform.
In: Window:HWND, Min Area:Int
Out: Found, Pos, Count, Confidence, Result
For round icons / markers.
Find a round target indicator.
Line Detection
Finds line segments.
In: Window:HWND, Min Area:Int
Out: Found, Pos, Count, Confidence, Result
For UIs with strong horizontal / vertical bars.
Detect a progress bar appearance.
Edge Detection
Finds edge contours.
In: Window:HWND, Min Area:Int
Out: Found, Pos, Count, Confidence, Result
For objects with a noticeable edge.
Find the silhouette of a UI frame.
Bright Blob Detection
Finds bright connected regions.
In: Window:HWND, Min Area:Int
Out: Found, Pos, Count, Confidence, Result
For glowing icons / dots.
Find a bright loot marker.
Dark Blob Detection
Finds dark connected regions.
In: Window:HWND, Min Area:Int
Out: Found, Pos, Count, Confidence, Result
For dark blobs / markers on a light background.
Find a dark icon on a light map.
Object Detection (Shapes)
CV object detection by shape.
In: Window:HWND, Min Area:Int
Out: Found, Pos, Count, Confidence, Result
Shape-based detection without a trained model.
Find an object by its geometric form.
Multi Detection
Runs detection across a list of templates and returns one combined result.
In: Window:HWND, Images:String, Process Scale:Float
Out: Results:DetectionResult, Count:Int
Pro. Images holds a runtime-supported list / description of images.
Check a set of UI icons in one pass.
Bar Percent
Reads the fill percentage of a colour bar (HP bar, mana bar, cast bar) by scanning along its length.
In: Window:HWND, Rect X/Y/W/H:Int, Bar Color:String, Tolerance:Int, Orientation:String
Out: Percent:Float, Found:Bool
Bar Percent for HP → Compare < 30 → drink potion.
Ignore Object
Add a rectangle to a "don't detect me" list — classic detection nodes will skip this area until it's cleared.
In: Rect X/Y/W/H:Int
Out: exec Out
Add an area over your own UI to Ignore Object.
Clear Ignore Objects
Empty the ignore list.
In: —
Out: exec Out
Reset ignore list at the start of a new phase.
waitForObject
Loops until a chosen thing appears in the window (or a timeout runs out).
In: Window:HWND, Image:String, Threshold:Float, Timeout ms:Int, Poll ms:Int
Out: Found:Bool, Pos:Vec2, Timed Out:Bool
waitForObject(loading_done.png, 10000) → next stage.