Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Model] Add python API for the detection result and modify YOLOv7 docs #708

Merged
merged 121 commits into from
Nov 28, 2022

Conversation

ziqi-jin
Copy link
Contributor

@ziqi-jin ziqi-jin commented Nov 26, 2022

PR types(PR类型)

[Model] Add python API for detection result and modify YOLOv7 docs solve issue #643

Describe

  • Add python API for the detection result
  • modify YOLOv7 docs
  • add coco_labels for PaddleDet example

@@ -26,6 +26,17 @@ void BindVisualize(pybind11::module& m) {
vision::Mat(vis_im).ShareWithTensor(&out);
return TensorToPyArray(out);
})
.def("vis_detection_for_label",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个接口,与上面的接口可以合并成一个,进行兼容

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

只要传入的list为空不可视化label即可

@jiangjiajun jiangjiajun merged commit c721773 into PaddlePaddle:develop Nov 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants