Skip to content

Commit

Permalink
update the draw objects
Browse files Browse the repository at this point in the history
  • Loading branch information
BUG1989 committed Apr 10, 2024
1 parent 37859a8 commit 1d7e25f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/ax620e/ax_yolo_world_steps.cc
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ namespace ax
fprintf(stdout, "--------------------------------------\n");
fprintf(stdout, "detection num: %zu\n", objects.size());

detection::draw_objects(mat, objects, CLASS_NAMES, "yolo_world_out", 1, 3);
detection::draw_objects(mat, objects, CLASS_NAMES, "yolo_world_out");
}

bool run_model(const std::string& model, const std::vector<uint8_t>& data, const int& repeat, cv::Mat& mat, int input_h, int input_w)
Expand Down
2 changes: 1 addition & 1 deletion examples/ax620e/ax_yolov8s_steps.cc
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ namespace ax
fprintf(stdout, "--------------------------------------\n");
fprintf(stdout, "detection num: %zu\n", objects.size());

detection::draw_objects(mat, objects, CLASS_NAMES, "yolov8s_out", 1, 3);
detection::draw_objects(mat, objects, CLASS_NAMES, "yolov8s_out");
}

bool run_model(const std::string& model, const std::vector<uint8_t>& data, const int& repeat, cv::Mat& mat, int input_h, int input_w)
Expand Down
2 changes: 1 addition & 1 deletion examples/ax650/ax_yolo_world_steps.cc
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ namespace ax
fprintf(stdout, "--------------------------------------\n");
fprintf(stdout, "detection num: %zu\n", objects.size());

detection::draw_objects(mat, objects, CLASS_NAMES, "yolo_world_out", 1, 3);
detection::draw_objects(mat, objects, CLASS_NAMES, "yolo_world_out");
}

bool run_model(const std::string& model, const std::vector<uint8_t>& data, const int& repeat, cv::Mat& mat, int input_h, int input_w)
Expand Down
2 changes: 1 addition & 1 deletion examples/ax650/ax_yolov8_steps.cc
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ namespace ax
fprintf(stdout, "--------------------------------------\n");
fprintf(stdout, "detection num: %zu\n", objects.size());

detection::draw_objects(mat, objects, CLASS_NAMES, "yolov8s_out", 1, 3);
detection::draw_objects(mat, objects, CLASS_NAMES, "yolov8s_out");
}

bool run_model(const std::string& model, const std::vector<uint8_t>& data, const int& repeat, cv::Mat& mat, int input_h, int input_w)
Expand Down

0 comments on commit 1d7e25f

Please sign in to comment.