Skip to content

Latest commit

 

History

History
50 lines (34 loc) · 909 Bytes

README.md

File metadata and controls

50 lines (34 loc) · 909 Bytes

night-light

SCOPE Santos-Volpe '24-25

Getting Started

Prerequisites

  • Python 3.12
  • pip
  • virtualenv

Installation

  1. Clone the repo
git clone [email protected]: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