AIWeavioПЛАТФОРМА АВТОМАТИЗАЦИИ

Узлы AI / Model

Object detection на обученных моделях из каталога AI Models.

Object Detection

ai.object_detectionexec

Object detection на обученной модели.

In: Window:HWND, Model:String, Confidence:Float

Out: Result:ModelResult, Objects:ModelResult, Found:Bool, Count:Int, Pos:Vec2, Confidence:Float

Выберите модель из каталога AI Models.

Object Detection(enemy) → If Found → Move Click(Pos).

Objects Detection (All)

ai.objects_detection_allexec

Возвращает все найденные моделью объекты.

In: Window, Model, Confidence

Out: Objects, Found, Count, Pos, Confidence

Используйте для дальнейшей фильтрации / сортировки.

Objects Detection All → Detection By Index.

Closest Object Detection

ai.closest_objectexec

Выбирает ближайший найденный объект к Reference.

In: Window, Model, Confidence, Reference:Vec2

Out: Pos:Vec2, Result:ModelResult

Reference обычно центр экрана или персонажа.

Reference=(960,540) → Closest Object → Mouse Move.

Coordinate Detection

ai.coordinate_detectionexec

Возвращает координату объекта по модели.

In: Window, Model, Confidence

Out: Pos:Vec2

Когда нужен только target point.

Coordinate Detection → Mouse Move Smooth.

Class Detections

ai.class_detectionsexec

Ищет объекты конкретного class id.

In: Window, Model, Confidence, ClassId:Int

Out: Found, Count, Pos, Confidence

ClassId соответствует классам обученной модели.

ClassId=0 enemy, ClassId=1 item.

Closest Class Object

ai.closest_classexec

Выбирает ближайший объект указанного класса.

In: Window, Model, Confidence, ClassId:Int, Reference:Vec2

Out: Found, Pos, Distance:Float, Confidence

Для выбора ближайшего enemy / item.

Closest Class(ClassId=enemy, Reference=center) → click.

Detection By Index

ai.detection_by_indexexec

Читает один detection из текущего model output по индексу.

In: Window, Model, Confidence, Index:Int

Out: Found, ClassId, Pos, Size, Confidence

Перебор объектов по индексу.

Index=0 → первый объект, Index=1 → второй.

Ignore AI Object

ai.ignore_objectexec

Добавляет прямоугольник в AI ignore-список.

In: Rect X/Y/W/H:Int

Out: exec Out

Игнорировать область UI, в которую постоянно попадает модель.

Clear AI Ignore List

ai.clear_ignore_objectsexec

Очищает AI ignore-список.

In:

Out: exec Out

Очистить AI Ignore при смене сцены.