Skip to content

A team project made under the event Hectivate in BotRush3.0

Notifications You must be signed in to change notification settings

tirth-patel06/SafeStride

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

55 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Naive Boyes Logo

Naive Boyes - SafeStride - Botrush 3.0

Machine Learning Classification Interface + Pathfinding Intelligence

Next.js Badge FastAPI Badge TensorFlow Badge Vercel Badge Render Badge


✨ A full-stack application for machine learning classification tasks with file upload capabilities, result visualization, and grid-based intelligent pathfinding β€” deployed on Vercel (frontend) and Render (backend).


πŸš€ Features

  • πŸ“ Modern File Upload Interface

    • πŸ–±οΈ Drag & drop file upload via FileUpload.js
    • πŸ“Š Progress tracking with Axios
  • 🧠 Advanced ML Processing

    • πŸ€– Trained ML models (binary.keras, multi.keras) for Ensembled Prediction
    • Achieved an impressive 98.2% accuracy
    • πŸ‘οΈ Computer vision support via OpenCV (cv2)
    • πŸ”’ NumPy-based data processing
  • 🧭 Shortest Path Finder (TSP + BFS Hybrid)

    • 🟩 Identifies all safe and supervisable blocks from the ML-classified image grid.
    • 🧠 Combines BFS (Breadth-First Search) for inter-point distance calculation and TSP (Traveling Salesman Problem) logic to compute the optimal route.
    • 🚫 Avoids dangerous or unsafe zones like fire or blocked areas, identified through the classifier.
    • πŸ”„ Ensures minimum cost traversal that starts from the bottom-left and covers all required safe points.
  • ⚑ Real-time API

    • πŸš€ FastAPI backend with Uvicorn server
    • πŸ“š Automatic docs at /docs
  • πŸ“± Responsive UI

    • 🎨 Tailwind CSS styling
    • πŸ“² Mobile-optimized components

πŸ› οΈ Tech Stack

Area Technologies
🌐 Frontend Next.js 15, React, Tailwind CSS, Axios
πŸ”™ Backend FastAPI, Uvicorn, Python 3.10+
πŸ€– ML TensorFlow/Keras, OpenCV, NumPy
🧭 Pathfinding Custom TSP-BFS Hybrid Algorithm
☁️ Deployment Vercel (Frontend), Render (Backend)

🌍 Live Demo

Try it Out!


πŸ› οΈ Installation

Frontend (Next.js)

cd nikhil-yadav15-botrush_3.0_naiveboyes/NextApp
npm install
npm run dev

About

A team project made under the event Hectivate in BotRush3.0

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 49.2%
  • JavaScript 43.9%
  • CSS 6.7%
  • Procfile 0.2%