|
|
@@ -25,7 +25,7 @@ int AITest()
|
|
|
//用于测试的图片目录
|
|
|
std::string galleryDir = (mainDir.parent_path().parent_path().parent_path().parent_path() /"res"/"images").string(); // 图库目录路径
|
|
|
|
|
|
- std::string modelPath = sMainDir + "/ai/best.onnx"; // YOLO2026模型路径
|
|
|
+ std::string modelPath = sMainDir + "/ai/best_448.onnx"; // YOLO2026模型路径
|
|
|
std::string classesPath = sMainDir + "/ai/cls.names"; // 类别文件路径
|
|
|
std::string searchImagePath = sMainDir + "/3.jpg"; // 搜索图片路径
|
|
|
|