Skip to content

olincollege/night-light

Repository files navigation

night-light

SCOPE Santos-Volpe '24-25

Getting Started

Prerequisites

  • Python 3.12
  • pip
  • virtualenv

Installation

  1. Clone the repo
git clone git@github.com:olincollege/night-light.git
  1. Create a virtual environment
python -m venv venv
  1. Activate the virtual environment

source venv/bin/activate MacOS/Linux or .\venv\Scripts\activate for Windows

  1. Install the required packages
pip install -r requirements.txt

Usage

Download the YOLOv8 model

Download the YOLOv8 model from the following link: YOLOv8. Place the model in the root directory.

Set the environment variables

Create a .env file in the root directory and add the following environment variables:

IMAGE_PATH="path/to/image"

Run the script

python pedestrian_detection.py

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages