|
|
|
@ -12,11 +12,6 @@ draw_colors = {
@@ -12,11 +12,6 @@ draw_colors = {
|
|
|
|
|
'hog': (0,0,255), |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ft = cv2.freetype.createFreeType2() |
|
|
|
|
ft.loadFontData(fontFileName='Ubuntu-R.ttf', |
|
|
|
|
id=0) |
|
|
|
|
|
|
|
|
|
class Result(): |
|
|
|
|
def __init__(self, algorithm, image, confidence_threshold = 0.5): |
|
|
|
|
self.algorithm = algorithm |
|
|
|
|