implementing app
Browse files
app.py
CHANGED
|
@@ -26,6 +26,7 @@ from rdkit import DataStructs
|
|
| 26 |
from PIL import Image
|
| 27 |
import matplotlib.pyplot as plt
|
| 28 |
|
|
|
|
| 29 |
def plot_bbox(bbox_XYXY, label):
|
| 30 |
xmin, ymin, xmax, ymax =bbox_XYXY
|
| 31 |
plt.plot(
|
|
|
|
| 26 |
from PIL import Image
|
| 27 |
import matplotlib.pyplot as plt
|
| 28 |
|
| 29 |
+
colors = ["magenta", "green", "blue", "red", "orange", "magenta", "peru", "azure", "slateblue", "plum","magenta", "green", "blue", "red", "orange", "magenta", "peru", "azure", "slateblue", "plum"]
|
| 30 |
def plot_bbox(bbox_XYXY, label):
|
| 31 |
xmin, ymin, xmax, ymax =bbox_XYXY
|
| 32 |
plt.plot(
|