facebookresearch / detectron2

Detectron2 is a platform for object detection, segmentation and other visual recognition tasks.
https://detectron2.readthedocs.io/en/latest/
Apache License 2.0
29.32k stars 7.32k forks source link

add font_size_scale argument to Visualizer #5230

Closed stephenyan1231 closed 3 months ago

stephenyan1231 commented 4 months ago

Summary: For small image, such as QVGA 320 * 256, default font size is too large. Thus, we add an optional argument font_size_scale to allow more control over font size

Differential Revision: D54528350

facebook-github-bot commented 4 months ago

This pull request was exported from Phabricator. Differential Revision: D54528350

facebook-github-bot commented 3 months ago

This pull request has been merged in facebookresearch/detectron2@f3a463104ad99e55b87422b5753ea34723ee272e.