--- title: EleFind - Aerial Elephant Detection emoji: "\U0001F418" colorFrom: green colorTo: blue sdk: gradio sdk_version: 6.8.0 app_file: app.py python_version: "3.10" suggested_hardware: cpu-basic license: mit tags: - object-detection - yolo - yolov11 - sahi - computer-vision - elephant-detection - wildlife-conservation - aerial-imagery pinned: false --- # EleFind — Aerial Elephant Detection [](https://huggingface.co/spaces/iamhelitha/EleFind-gradio-ui) [](https://huggingface.co/iamhelitha/EleFind-yolo11-elephant) [](https://github.com/iamhelitha/EleFind-gradio-ui) A web application for detecting elephants in aerial and drone imagery using [YOLOv11](https://docs.ultralytics.com/) with [SAHI](https://github.com/obss/sahi) (Slicing Aided Hyper Inference). ## Features - Real-time elephant detection with bounding boxes and confidence scores - Adjustable SAHI parameters (confidence, slice size, overlap, IoU) - Confidence bar charts and per-detection data tables - Automatic model download from HuggingFace Hub ## Quick Setup **Requirements:** Python 3.10, Git ```bash git clone https://github.com/iamhelitha/EleFind-gradio-ui.git cd EleFind-gradio-ui pip install -r requirements.txt python app.py ``` Open [http://127.0.0.1:7860](http://127.0.0.1:7860) in your browser. The model downloads automatically on first run. ### Testing ```bash pytest test_detection.py -v pytest test_detection.py -v -m "not slow" # skip inference tests ``` ### Environment Variables | Variable | Description | Default | |---|---|---| | `HF_MODEL_REPO` | HuggingFace model repository | `iamhelitha/EleFind-yolo11-elephant` | | `HF_MODEL_FILE` | Model filename in the repository | `best.pt` | ## Model | Property | Value | |---|---| | Architecture | YOLOv11 (Ultralytics) | | Training data | Sliced aerial elephant imagery (1024 x 1024 patches) | | Inference | SAHI with NMS post-processing | | Precision | 53.2 % | | Recall | 49.1 % | | F1-Score | 51.0 % | | mAP@0.5 | 84.3 % | ### SAHI Configuration | Parameter | Value | |---|---| | Slice size | 1024 x 1024 | | Overlap ratio | 0.30 | | Confidence threshold | 0.30 | | IoU threshold | 0.40 | ## Training Results **Training curves** — loss convergence and metric progression over 100 epochs: