- Python 3.8 or later
- Install dependencies:
pip install -r requirements.txt
- Clone the repository:
git clone <repo-link> - Create a virtual environment:
python -m venv cv_env - Activate the environment:
- Windows:
cv_env\Scripts\activate - Linux/Mac:
source cv_env/bin/activate
- Windows:
- Install requirements:
pip install -r requirements.txt
- Place your video in the
video_inputfolder. - Run the system:
python main.py. - Output JSON and images will be saved in the
outputfolder.
- torch
- opencv-python
- yolov5
- numpy
- matplotlib