Add https://www.reddit.com/r/Ultralytics/ badge (#13284)
* Refactor code for speed and clarity * Update README.zh-CN.md Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com> --------- Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com> Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
This commit is contained in:
1 parent
b40781b3e3
commit
c5ffbbf1c3
20 files changed
+164
-73
No files matched your search
+2
-1
@@ -29,7 +29,8 @@ matplotlib.use("Agg") # for writing to files only
|
||||
|
||||
|
||||
class Colors:
|
||||
# Ultralytics color palette https://ultralytics.com/
|
||||
"""Provides an RGB color palette derived from Ultralytics color scheme for visualization tasks."""
|
||||
|
||||
def __init__(self):
|
||||
"""
|
||||
Initializes the Colors class with a palette derived from Ultralytics color scheme, converting hex codes to RGB.
|
||||
|
||||
Reference in new issue
Block a user