An open API service indexing awesome lists of open source software.

https://github.com/mateusjssilva/classification-of-objects-pdi

This repository is a project for classifying objects in images based on shape and color. It includes steps such as shadow removal, image segmentation, and contour detection. The system can identify and count objects based on their shapes (triangle, square, rectangle, circle) and colors.
https://github.com/mateusjssilva/classification-of-objects-pdi

classification image-processing object-detection opencv-python python

Last synced: 2 months ago
JSON representation

This repository is a project for classifying objects in images based on shape and color. It includes steps such as shadow removal, image segmentation, and contour detection. The system can identify and count objects based on their shapes (triangle, square, rectangle, circle) and colors.

Awesome Lists containing this project

README

        

# Object Classification (PDI)

This repository contains a project for classifying objects in images, distinguishing them by shape and color. The code implements a class called ObjectDetector that processes images to detect, classify, and count objects based on their shapes and colors. The process includes shadow removal, image segmentation, contour detection, and classification of objects by shape (triangle, square, rectangle, circle) and color. Note: parameters need to be adjusted for each image for better identification.

## Screenshot



## How to Run

1. Make sure all dependencies are installed:
```sh
pip install -r .\src\requirements.txt
```

2. Run the script:
```sh
python .\src\main.py
```

## Contribution

Feel free to open issues or submit pull requests. All contributions are welcome!

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for more details.