By K. Adarsh
Recognition of color in a particular position of an image as per the user's requirement using the Python language and OpenCV module.
Requirements
1.Python3
2.Sklearn Library
3.OpenCV Library
Description
The packet has been programmed intelligently to recognize the color at a particular position of an image using both distance and machine learning methods. The packet learns the values and improves automatically on performing the whole program. Random Forest and Support Vector Classifiers are used to predict the color using the RGB values. The dataset is a CSV file that contains the predefined RGB values of colors.
Upon double-clicking the left mouse button the 2D coordinates of that particular position is recorded and the RGB values of that position is used to predict the color of the image at that position via calculating the closest predefined RGB values and via ML algorithms.
Submitted by K. Adarsh (adharshdas)
Download packets of source code on Coders Packet
Comments