Update prototype.py
Browse files- prototype.py +1 -1
prototype.py
CHANGED
@@ -108,7 +108,7 @@ class ImageProcessor:
|
|
108 |
|
109 |
|
110 |
def activate(image):
|
111 |
-
folder_path = 'gadgets
|
112 |
model = mediapipe.solutions.face_detection.FaceDetection(model_selection=1, min_detection_confidence=0.8)
|
113 |
processor = ImageProcessor(image, folder_path, model)
|
114 |
return processor.detect_and_overlay()
|
|
|
108 |
|
109 |
|
110 |
def activate(image):
|
111 |
+
folder_path = 'gadget_path' #replace with you gadgets folder
|
112 |
model = mediapipe.solutions.face_detection.FaceDetection(model_selection=1, min_detection_confidence=0.8)
|
113 |
processor = ImageProcessor(image, folder_path, model)
|
114 |
return processor.detect_and_overlay()
|