Harsh-7300 commited on
Commit
2f602e2
·
verified ·
1 Parent(s): 0ab1b1b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -84,13 +84,13 @@ geographic_bounds = {
84
  'lon_min': 77.5946,
85
  'lon_max': 77.5986,
86
  }
87
- input_image_path = "rooftop_image.jpg"
88
 
89
  final_image, calculated_area = process_rooftop_image(input_image_path, geographic_bounds)
90
  print(f"Calculated Rooftop Area: {calculated_area:.2f} square meters")
91
 
92
  # Save the final image with contours
93
- cv2.imwrite("processed_image_with_boundaries.jpg", final_image)
94
 
95
  # Display the final image
96
  cv2.imshow("Rooftop Detection", final_image)
 
84
  'lon_min': 77.5946,
85
  'lon_max': 77.5986,
86
  }
87
+ input_image_path = "behindpmi.png"
88
 
89
  final_image, calculated_area = process_rooftop_image(input_image_path, geographic_bounds)
90
  print(f"Calculated Rooftop Area: {calculated_area:.2f} square meters")
91
 
92
  # Save the final image with contours
93
+ cv2.imwrite("processed_image_with_boundaries.png", final_image)
94
 
95
  # Display the final image
96
  cv2.imshow("Rooftop Detection", final_image)