Skip to content

This repository implements centroid-based pattern recognition, extracting features from images using grid cell centroids for classification in computer vision and image processing.

Notifications You must be signed in to change notification settings

Abdelrahman-Amen/Centroid-in-Pattern_Recognition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Centroid-Based Pattern Recognition🏝

Introduction

Centroid-based pattern recognition is a technique used in computer vision and image processing for feature extraction and classification. This repository contains Python code that implements a centroid-based pattern recognition system. The system extracts features from images based on the centroids of grid cells and uses a Decision Tree Classifier or Random Forest Classifier for image classification.

Features

•Extracts features from images based on centroids of grid cells.

•Utilizes a Decision Tree Classifier or Random Forest Classifier for image classification.

•Allows for customization of grid dimensions.

This project aims to demonstrate the application of centroid-based feature extraction in pattern recognition tasks, particularly in image classification. By dividing the image into a grid and calculating the centroids of each grid cell, we can extract meaningful features for classification.

In initial experiments, a Decision Tree Classifier was used for classification. However, further experimentation revealed that utilizing a Random Forest Classifier yielded higher accuracy. This highlights the importance of exploring different classifiers and parameters to achieve optimal performance in pattern recognition tasks.

Note

•This implementation is for educational purposes and may require customization for specific applications.

•Ensure that images used for classification are appropriately preprocessed and labeled.

About

This repository implements centroid-based pattern recognition, extracting features from images using grid cell centroids for classification in computer vision and image processing.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published