Wildlife Detection & Live Count

by shashankvkaramudico.huggingface.shashankvkaramudi/wildlife-detection

  • Remote endpoint
  • 2 tools

Tools

  • wildlife_detection_analyze_video Detect and count wildlife in an uploaded video or the synthetic demo. Runs YOLOv8 + ByteTrack over up to MAX_FRAMES frames, draws bounding boxes with track IDs, and returns the annotated video (H.264 mp4), a per-species count table, and a CSV of the full detection log. If a user passes a file as an input, use the upload_file_to_gradio tool, if present, to upload the file to the gradio app and create a Gradio File Input. Then use the returned path as the input to the tool
  • wildlife_detection_render_chart Render the species-distribution bar chart (runs on CPU, main process). Kept outside the GPU worker: matplotlib figures are not picklable, so the chart is built here from the count table via a chained .then() handler.

As the server's own listing gives them. We never call a tool.