Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

14 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ¦‰ Noctua

Noctua is a full-stack project that combines a React + TypeScript + Vite frontend with a Flask backend to help drivers stay awake during when driving.

🌐 Live Demo (Frontend Only): noctua-khaki.vercel.app
⚠️ Note: The backend is not deployed. To fully experience the app, you must run the backend locally.


πŸ“ Project Structure

noctua/
β”œβ”€β”€ client/     # Frontend (React + TypeScript + Vite)
β”œβ”€β”€ server/     # Backend (Flask API and model)
└── README.md   # Project documentation

πŸ› οΈ Installation & Setup

βœ… Prerequisites

Make sure the following are installed on your system:

  • Python 3.8+
  • Node.js v16+
  • npm (bundled with Node.js)
  • Git

πŸš€ Getting Started

1. Clone the repository

git clone https://github.com/nathanielalex/noctua.git
cd noctua

2. Set up the Backend

cd server

# Create a virtual environment
python -m venv venv

# Activate it
# On Windows:
venv\Scripts\activate
# On macOS/Linux:
source venv/bin/activate

# Install Python dependencies
pip install flask flask-cors pillow numpy opencv-python torch torchvision ultralytics

# Run the Flask server
python server.py

3. Set up the Frontend

cd ../client

# Install frontend dependencies
npm install

# Start the development server
npm run dev

About

A real-time driver monitoring system that uses live camera input to detect signs of drowsiness or sleep using YOLO.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages