ObjectDetectron is a Python repository for DETR-based object detection and visualization.
git clone git@github.com:BrandonMagana/ObjectDetective.git
cd ObjectDetective
# Install virtualenv if not already installed
sudo apt install python3-venv
# Create a virtual environment
python3 -m venv .venv
# Activate the virtual environment
source .venv/bin/activate
pip install -r requirements.txt
You can now run the main script to perform object detection on an image.
Replace path/to/your/image.jpg
with the path to your image file.
python3 main.py -image path/to/your/image.jpg
The detected objects will be highlighted in the displayed image.
Once you are done, you can deactivate the virtual environment.
deactivate