skibi11 commited on
Commit
1d4fbb5
·
verified ·
1 Parent(s): ab43e06

fixed the left and right pov

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -117,7 +117,7 @@ async def full_detection_pipeline(image: UploadFile = File(...)):
117
  eye_images_b64 = {}
118
 
119
  for i, eye_crop in enumerate(eye_crops):
120
- side = "left" if i == 0 else "right"
121
 
122
  # --- NEW: Encode the cropped eye image to Base64 ---
123
  is_success, buffer = cv2.imencode(".jpg", eye_crop)
 
117
  eye_images_b64 = {}
118
 
119
  for i, eye_crop in enumerate(eye_crops):
120
+ side = "right" if i == 0 else "left"
121
 
122
  # --- NEW: Encode the cropped eye image to Base64 ---
123
  is_success, buffer = cv2.imencode(".jpg", eye_crop)