nolenfelten commited on
Commit
aa93c7d
·
verified ·
1 Parent(s): d5a7bac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -218,7 +218,7 @@ def object_detection(image, conf_threshold=0.25, iou_threshold=0.45):
218
  json_response = json.dumps(final_bounding_boxes, indent=4)
219
  return image_with_boxes, json_response
220
 
221
- def object_detection_with_edge_enhancement(image, conf_threshold=0.25, iou_threshold=0.45```python
222
  def object_detection_with_edge_enhancement(image, conf_threshold=0.25, iou_threshold=0.45):
223
  image = Image.fromarray(image)
224
  image_enhanced = apply_edge_enhancement(image)
 
218
  json_response = json.dumps(final_bounding_boxes, indent=4)
219
  return image_with_boxes, json_response
220
 
221
+
222
  def object_detection_with_edge_enhancement(image, conf_threshold=0.25, iou_threshold=0.45):
223
  image = Image.fromarray(image)
224
  image_enhanced = apply_edge_enhancement(image)