mtalamon commited on
Commit
9fc43dc
1 Parent(s): 9aeeedd

Update prototype.py

Browse files
Files changed (1) hide show
  1. 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()