Merge pull request #121 from Taoxuan-168/dev

support yolo26 for maixcam
This commit is contained in:
lxowalle
2026-01-21 20:18:39 +08:00
committed by GitHub
2 changed files with 532 additions and 355 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -17,7 +17,7 @@ int main(int argc, char *argv[])
// Initialize detector
// @maixpy detector = nn.YOLO26(model="/root/models/yolo26n.mud", dual_buff=True)
nn::YOLO26 detector(model_path, true);
nn::YOLO26 detector(model_path, false);
// Initialize camera with model input size
// @maixpy cam = camera.Camera(detector.input_width(), detector.input_height(), detector.input_format())