Filipstrozik commited on
Commit
9a734e7
1 Parent(s): 981395b

Enhance Gradio interface instructions for better user guidance on image uploads and parameter adjustments

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -186,7 +186,12 @@ def generate_prediction(image, rpn_nms_thresh, score_thresh, nms_thresh):
186
  # Define Gradio interface
187
  with gr.Blocks() as demo:
188
  gr.Markdown("## Tree Detection from Satellite Images")
189
- gr.Markdown("Upload an image and see the detected trees with ellipses.")
 
 
 
 
 
190
 
191
  with gr.Row():
192
  image_input = gr.Image(label="Input Image", type="pil")
 
186
  # Define Gradio interface
187
  with gr.Blocks() as demo:
188
  gr.Markdown("## Tree Detection from Satellite Images")
189
+ gr.Markdown(
190
+ "Upload an image and see the detected trees with ellipses. For better predictions, upload a high-resoltion image of orthophotomap with zoom level 18."
191
+ )
192
+ gr.Markdown(
193
+ "Try different values for RPN NMS Threshold, ROI Heads Score Threshold, and ROI Heads NMS Threshold to see how they affect the predictions."
194
+ )
195
 
196
  with gr.Row():
197
  image_input = gr.Image(label="Input Image", type="pil")