Update segment_image.py
Browse files- segment_image.py +1 -1
segment_image.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
from huggingface_hub import hf_hub_download
|
2 |
from shapely.validation import make_valid
|
3 |
from shapely.geometry import Polygon
|
4 |
-
from
|
5 |
from PIL import Image
|
6 |
import numpy as np
|
7 |
import os
|
|
|
1 |
from huggingface_hub import hf_hub_download
|
2 |
from shapely.validation import make_valid
|
3 |
from shapely.geometry import Polygon
|
4 |
+
from ultralytics import YOLO
|
5 |
from PIL import Image
|
6 |
import numpy as np
|
7 |
import os
|