Skip to content

Pseudo-code for computer vision system capable of detecting objects and their associated sub-objects in a hierarchical structure.

Notifications You must be signed in to change notification settings

ymahak/safetyWhat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Object and Sub-Object Detection System

Prerequisites

  • Python 3.8 or later
  • Install dependencies: pip install -r requirements.txt

Setup

  1. Clone the repository: git clone <repo-link>
  2. Create a virtual environment: python -m venv cv_env
  3. Activate the environment:
    • Windows: cv_env\Scripts\activate
    • Linux/Mac: source cv_env/bin/activate
  4. Install requirements: pip install -r requirements.txt

Usage

  1. Place your video in the video_input folder.
  2. Run the system: python main.py.
  3. Output JSON and images will be saved in the output folder.

Dependencies

  • torch
  • opencv-python
  • yolov5
  • numpy
  • matplotlib

About

Pseudo-code for computer vision system capable of detecting objects and their associated sub-objects in a hierarchical structure.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages