Spaces:
Sleeping
Sleeping
Update utils/bubble_utils.py
Browse files- utils/bubble_utils.py +1 -1
utils/bubble_utils.py
CHANGED
|
@@ -15,7 +15,7 @@ from utils.polygon_utils import (
|
|
| 15 |
)
|
| 16 |
from utils.bubble_detect import detect_speech_bubbles_robust
|
| 17 |
from utils.u2net_detector import detect_bubbles_u2net
|
| 18 |
-
from utils.bubble_detect_rtdetr import detect_and_refine_bubbles
|
| 19 |
|
| 20 |
def extract_and_translate_with_masks(full_img, interior_polygons):
|
| 21 |
"""
|
|
|
|
| 15 |
)
|
| 16 |
from utils.bubble_detect import detect_speech_bubbles_robust
|
| 17 |
from utils.u2net_detector import detect_bubbles_u2net
|
| 18 |
+
from utils.bubble_detect_rtdetr import detect_and_refine_bubbles, polygon_to_mask
|
| 19 |
|
| 20 |
def extract_and_translate_with_masks(full_img, interior_polygons):
|
| 21 |
"""
|