Cuervo-x commited on
Commit
46e9e48
·
verified ·
1 Parent(s): c833000

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -254,8 +254,8 @@ def analyze(image, threshold_pct):
254
  # VISUALIZATION
255
  # =========================================================
256
  #vis = cv2.cvtColor(orig_gray, cv2.COLOR_GRAY2BGR)
257
- cv2.drawContours(vis, [hull_cnt], -1, (255, 0, 0), 2) # hull
258
- cv2.drawContours(vis, [cnt], -1, (0, 0, 255), 2) # print boundary
259
 
260
 
261
  defect_contours, _ = cv2.findContours(
 
254
  # VISUALIZATION
255
  # =========================================================
256
  #vis = cv2.cvtColor(orig_gray, cv2.COLOR_GRAY2BGR)
257
+ cv2.drawContours(vis, [hull_cnt], -1, (0, 0, 255), 2) # hull
258
+ cv2.drawContours(vis, [cnt], -1, (255, 0, 0), 2) # print boundary
259
 
260
 
261
  defect_contours, _ = cv2.findContours(