jayn95 commited on
Commit
186fa75
·
verified ·
1 Parent(s): c640a6f

Update periodontitis_detection.py

Browse files
Files changed (1) hide show
  1. periodontitis_detection.py +10 -10
periodontitis_detection.py CHANGED
@@ -288,16 +288,16 @@ class SimpleDentalSegmentationNoEnhance:
288
  )
289
 
290
  # Draw main text on top (yellow or white)
291
- cv2.putText(
292
- combined,
293
- f"{mean_d:.1f}px",
294
- (x1 + 5, y2 - 10),
295
- cv2.FONT_HERSHEY_SIMPLEX,
296
- 0.6,
297
- (0, 255, 255), # yellow; try (255,255,255) for white
298
- 1,
299
- cv2.LINE_AA
300
- )
301
 
302
  all_results.append({
303
  "tooth_id": det["tooth_id"],
 
288
  )
289
 
290
  # Draw main text on top (yellow or white)
291
+ # cv2.putText(
292
+ # combined,
293
+ # f"{mean_d:.1f}px",
294
+ # (x1 + 5, y2 - 10),
295
+ # cv2.FONT_HERSHEY_SIMPLEX,
296
+ # 0.6,
297
+ # (0, 255, 255), # yellow; try (255,255,255) for white
298
+ # 1,
299
+ # cv2.LINE_AA
300
+ # )
301
 
302
  all_results.append({
303
  "tooth_id": det["tooth_id"],