File size: 819 Bytes
7baad7b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | [plugin]
name = "phone_usage_detection"
version = "2.0.0"
display_name = "Phát hiện sử dụng điện thoại"
description = "Nhận diện hành vi sử dụng điện thoại"
library = "phone_usage_detection.dll"
level = "advanced"
[capabilities]
use_gpu = true
use_batching = true
use_tracking = true
use_alert = true
use_zone = true
[classes]
defaults = ["phone"]
[models]
files = ["mbfs-human-det-v4.onnx", "mbfs_phone_usage_v3.onnx"]
# Primary inference: person detection (host runs this automatically)
[inference]
model = "mbfs-human-det-v4.onnx"
confidence = 0.5
nms = 0.45
input_size = 640
# Named model: phone detector (plugin calls via host.infer_yolo_crops)
[models.phone_detector]
model = "mbfs_phone_usage_v3.onnx"
confidence = 0.8
nms = 0.45
input_size = 640
|