Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -16,6 +16,7 @@ import cv2
|
|
16 |
|
17 |
PATH_TO_LABELS = 'data/label_map.pbtxt'
|
18 |
category_index = label_map_util.create_category_index_from_labelmap(PATH_TO_LABELS, use_display_name=True)
|
|
|
19 |
|
20 |
def pil_image_as_numpy_array(pilimg):
|
21 |
|
|
|
16 |
|
17 |
PATH_TO_LABELS = 'data/label_map.pbtxt'
|
18 |
category_index = label_map_util.create_category_index_from_labelmap(PATH_TO_LABELS, use_display_name=True)
|
19 |
+
label_id_offset = 0
|
20 |
|
21 |
def pil_image_as_numpy_array(pilimg):
|
22 |
|