Skip to content

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

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.

2 participants