Colour recognition using colour histogram feature extraction and K-nearest neighbour classifier

Main Article Content

Rabia Bayraktar
https://orcid.org/0000-0003-1033-1279
Batur Alp Akgul
https://orcid.org/0000-0002-8332-6764
Kadir Sercan Bayram
https://orcid.org/0000-0002-8461-2308

Abstract

K-nearest neighbours (KNN) is a widely used neural network and machine learning classification algorithm. Recently, it has been used in the neural network and digital image processing fields. In this study, the KNN classifier is used to distinguish 12 different colours. These colours are black, blue, brown, forest green, green, navy, orange, pink, red, violet, white and yellow. Using colour histogram feature extraction, which is one of the image processing techniques, the features that distinguish these colours are determined. These features increase the effectiveness of the KNN classifier. The training data consist of saved frames and the test data are obtained from the video camera in real-time. The video consists of consecutive frames. The frames are 100 × 70 in size. Each frame is tested with K = 3,5,7,9 and the obtained results are recorded. In general, the best results are obtained when used K = 5.


 


Keywords: KNN algorithm, classifier, application, neural network, image processing, developed, colour, dataset, colour recognition.

Downloads

Download data is not yet available.

Article Details

How to Cite
Bayraktar, R., Akgul, B., & Bayram, K. (2020). Colour recognition using colour histogram feature extraction and K-nearest neighbour classifier. New Trends and Issues Proceedings on Advances in Pure and Applied Sciences, (12), 08-14. https://doi.org/10.18844/gjpaas.v0i12.4981
Section
Articles