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.
- Host: GitHub
- URL: https://github.com/mateusjssilva/classification-of-objects-pdi
- Owner: MateusjsSilva
- License: mit
- Created: 2024-02-11T12:05:13.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-28T18:36:10.000Z (7 months ago)
- Last Synced: 2025-02-05T09:54:00.648Z (4 months ago)
- Topics: classification, image-processing, object-detection, opencv-python, python
- Language: Python
- Homepage:
- Size: 4.82 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.