IDEA-Research / detrex

detrex is a research platform for DETR-based object detection, segmentation, pose estimation and other visual recognition tasks.
https://detrex.readthedocs.io/en/latest/
Apache License 2.0
1.9k stars 199 forks source link

推理类别框的颜色如何统一对应 #342

Open todesti2 opened 4 months ago

todesti2 commented 4 months ago

您好,我发现推理图片中,,每次推理出的图片同一类别总是对应不同的颜色,而且颜色非常不方便分辨,代码我看了不知道如何改,请您指教

rentainhe commented 4 months ago

你的需求是相同类别的框使用同一个颜色吗

todesti2 commented 4 months ago

你的需求是相同类别的框使用同一个颜色吗

是的!一个类别对应指定的一种颜色

rentainhe commented 4 months ago

你的需求是相同类别的框使用同一个颜色吗

是的!一个类别对应指定的一种颜色

可以考虑用supervision这个库,实现一下,d2下的random color我们这边有时间再去check一下

这个repo的可视化是同样颜色的

todesti2 commented 4 months ago

害,就是代码水平没那么好所以来求助哈哈哈

------------------ 原始邮件 ------------------ 发件人: "IDEA-Research/detrex" @.>; 发送时间: 2024年2月23日(星期五) 上午9:23 @.>; @.**@.>; 主题: Re: [IDEA-Research/detrex] 推理类别框的颜色如何统一对应 (Issue #342)

你的需求是相同类别的框使用同一个颜色吗

是的!一个类别对应指定的一种颜色

可以考虑用supervision这个库,实现一下,d2下的random color我们这边有时间再去check一下

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>