Spaces:
Build error
Build error
Commit History
-
change google imagery as background
DynamicPacificdfa993a
-
add area detection
DynamicPacific824dd08 -
Revert to original GeoTIFF-only implementation
DynamicPacific- Removed multi-format image support (PNG, JPG, etc.) - Restored original process_geotiff_file function - Restored GeoTIFF-only file input - Restored original advanced_extraction.py implementation - Back to simple, working GeoTIFF tree detectiondbdc03c -
Resolve merge conflicts and add multi-format image support
DynamicPacific- Fixed merge conflict in utils/advanced_extraction.py - Added support for PNG, JPG, JPEG, BMP, GIF formats - Updated app.py to handle both GeoTIFF and regular image formats - GeoTIFF files use NDVI analysis, other formats use contour detection - Updated UI labels and instructions for broader format support - Maintained HF Spaces compatibility with lightweight dependencies3c0c6f0
-
Add essential files for HF deployment
DynamicPacific4b38b88
-
with geoai for building extraction
Yang Caoe383754 -
Fixes image upload failures
thedynamicpacifImproved the image upload process by adding error handling for network issues, increasing upload timeout, and setting a maximum file size limit. Specifically, modified `app.py` to set `MAX_CONTENT_LENGTH` and `UPLOAD_TIMEOUT`, and updated `static/js/upload.js` to include a timeout and error handling within the fetch request. Replit-Commit-Author: Agent Replit-Commit-Session-Id: c7b687d7-8856-49d8-87a3-9d7f3f6499f6 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/d7727d0d-3b25-49de-9476-c76c61abfa65/5db894a3-8b66-4603-922a-3c556a1b1242.jpgc8cd0d2 -
Improved image processing and added feature selection
thedynamicpacifAdded feature type selection to the image processing pipeline (app.py, templates/index.html, static/js/upload.js, utils/geospatial.py, utils/segmentation.py); updated dependency management (pyproject.toml); added example notebook (attached_assets/Pasted--cells...). The `process_image_to_geojson` function now takes a `feature_type` argument. The segmentation is now more robust, able to handle various feature types. Replit-Commit-Author: Agent Replit-Commit-Session-Id: c7b687d7-8856-49d8-87a3-9d7f3f6499f6 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/d7727d0d-3b25-49de-9476-c76c61abfa65/a2230609-9c84-43a6-8556-f1ca64f39de6.jpg5cf313a -
Improved map image display
thedynamicpacifAdded shapely library and updated image processing to improve GeoJSON polygon generation, fixing issues with excessive polygons and incorrect map display. The `utils/geospatial.py`, `app.py`, `.replit` and `pyproject.toml` files were modified. Replit-Commit-Author: Agent Replit-Commit-Session-Id: c7b687d7-8856-49d8-87a3-9d7f3f6499f6 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/d7727d0d-3b25-49de-9476-c76c61abfa65/751a3a96-c7ad-42a9-a160-a9b0b9f7217c.jpg2efe8b1
-
Adds image-to-GeoJSON processing
thedynamicpacifAdds a Flask web application to process uploaded images, convert them to GeoJSON using OpenCV and GDAL (if available), and display the results on a Leaflet map. Includes file uploads, error handling, and download functionality. The application uses `app.py`, `main.py`, `utils/image_processing.py`, `utils/geo_processing.py`, and associated static files and templates. Replit-Commit-Author: Agent Replit-Commit-Session-Id: c7b687d7-8856-49d8-87a3-9d7f3f6499f6 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/d7727d0d-3b25-49de-9476-c76c61abfa65/142cb962-b872-46ed-96ac-2c68830b8dbb.jpg3a84963