Skip to content
poran-dipPublic

About

Real-time, multi-user object detection platform with edge AI inference on SBC hardware.

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Repository files navigation

Underwater Object Detection – Remote Control Interface

A unified control and monitoring interface for an underwater object detection drone, developed as part of the IIT Guwahati internship project (July 2025).


Overview

This system provides a cross-platform GUI to interact with a remotely operated underwater drone equipped with:

  • Intel RealSense camera
  • NVIDIA Jetson Nano for ML inference
  • YOLOv8 object detection model

The interface supports real-time control, recording, playback, and Python-based ML workflows, accessible via a modern frontend.


Features

  • Live video feed from Jetson or webcam
  • Start/Stop recording sessions
  • Save videos as .mp4 with timestamped filenames
  • Display and playback saved recordings
  • Trigger and display YOLO-based object detection from the frontend
  • Frontend/backend integration (Vite + Flask)
  • Supports remote backend running on a Jetson Nano via odstream-remote

Tech Stack

Area Tools
Frontend React (via Vite), TailwindCSS
Backend Python, Flask
Remote Backend Flask on Jetson Nano
Object Detection YOLOv8 (Ultralytics)
Hardware Targets Jetson Nano, RealSense Camera

Setup

See git & workflow instructions here


Directory Structure (WIP)

odstream
├── .gitignore           # Self explanatory
├── docs                 # Dev logs, documentation
│   └── git-setup.md     # Project setup and git guide
├── shared
│   └── recordings       # Saved .mp4 files
├── run_app.py           # Desktop launcher (starts backend + frontend)
├── launcher             # Launcher pieces: ui, output, processes, theme
├── backend
│   ├── app.py           # Flask entrypoint
│   ├── camera_manager.py # CameraManager (stitches the camera/ mixins)
│   ├── camera           # model, remote stream, lifecycle, frames, capture, detection log
│   ├── routes           # Flask blueprints
│   │   ├── camera_routes.py # Registers routes/camera/* on the camera blueprint
│   │   └── camera       # control, recording, settings, validation, state
│   ├── config.py        # App / camera / YOLO configuration
│   └── requirements.txt # Backend dependencies
└── frontend
    ├── public           # Favicon, other global assets
    └── src              # Everything app related
        ├── pages        # Route-based pages (thin layouts)
        ├── hooks        # Page state & logic (objectDetection/, recordings/)
        ├── utils        # Helpers; api/ holds the backend API client
        ├── assets       # Assets for components
        └── components   # Reusable UI components
            ├── detection   # ObjectDetection page pieces (+ settings/)
            ├── recordings  # Recordings page pieces
            └── ui       # UI primitives

# Jetson-side remote backend (separate repo)
odstream-remote
├── app.py               # Jetson Flask entrypoint
├── camera_routes.py     # Defines all Flask API endpoints
├── remote_camera.py     # RemoteCameraManager (stitches camera/ mixins)
├── camera               # model, realsense, recording, streaming
└── requirements.txt     # Dependencies for remote backend

Roadmap

Phase 1 – Web App (Vite + Flask)

  • Vite + Tailwind frontend
  • Video source selection dropdown
  • Live camera feed display
  • Recording and saving .mp4 files
  • Playback for saved videos
  • Stream from Jetson Nano
  • Jetson connection settings in modal

Phase 2 – Detection Pipeline

  • Flask API to run YOLOv8 inference
  • Detection overlay on live stream
  • Toggle detection from frontend

Phase 3 – Deployment & Polish

  • Auto-deploy scripts for Jetson + host
  • LAN streaming support (MJPEG)
  • Basic mobile responsiveness

Contributors

Mentors:

  • Divya Jyoti (PhD Scholar, EEE, IIT Guwahati)
  • Parvez Aziz Boruah (PhD Scholar, CSE, IIT Guwahati)

Supervisor:

  • Dr. Chayan Bhawal (Professor, EEE, IIT Guwahati)

Notes

  • Minimal dependencies, modern stack
  • Recording format: YYYYMMDD-HHMM.mp4 (e.g., 20250704-1315.mp4)
  • Network-based live stream and object detection are now supported

“Build it simple, scale it smart.”

About

Real-time, multi-user object detection platform with edge AI inference on SBC hardware.

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages