Skip to content

Python script using OpenCV to detect brown boxes in an image. It isolates boxes based on HSV color range and contours, highlighting with green rectangles. Replace 'box.jpeg' with your image. Ideal for basic box detection tasks.

Notifications You must be signed in to change notification settings

AnujNautiyal22bme024/CardboardBoxDeteection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CardboardBoxDeteection

This repository contains a Python script that uses the OpenCV library to detect brown boxes in an image. The script processes the image to isolate brown-colored boxes using the HSV color space and contour detection. Detected boxes are highlighted with green rectangles.

Instructions:

Clone or download this repository. Place the image you want to process in the same directory as the script. Replace 'box.jpeg' with the filename of your image. Run the script using a Python environment with OpenCV installed. Detected brown boxes will be highlighted with green rectangles in the displayed image. Please note that the provided script might need further adjustments to work optimally with your specific images and detection requirements.

About

Python script using OpenCV to detect brown boxes in an image. It isolates boxes based on HSV color range and contours, highlighting with green rectangles. Replace 'box.jpeg' with your image. Ideal for basic box detection tasks.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages