Cosmos48 commited on
Commit
4802794
·
verified ·
1 Parent(s): 57c2ae8

Update sleep_detection.py

Browse files
Files changed (1) hide show
  1. sleep_detection.py +1 -1
sleep_detection.py CHANGED
@@ -101,7 +101,7 @@ def process_image(image_path):
101
  new_height = int(height * (max_display_size / width))
102
  img_rgb = cv2.resize(img_rgb, (new_width, new_height))
103
 
104
- # Classifing faces and retrieving image with bounding boxes
105
  img_with_boxes, sleepy_faces = classify_faces(img_rgb)
106
 
107
  # Converting back to BGR for saving with OpenCV
 
101
  new_height = int(height * (max_display_size / width))
102
  img_rgb = cv2.resize(img_rgb, (new_width, new_height))
103
 
104
+ # Classifying faces and retrieving image with bounding boxes
105
  img_with_boxes, sleepy_faces = classify_faces(img_rgb)
106
 
107
  # Converting back to BGR for saving with OpenCV