{"id":15132098,"url":"https://github.com/shivakumargourimath/color-detection-using-opencv-and-python","last_synced_at":"2026-02-15T06:33:34.230Z","repository":{"id":256814635,"uuid":"856510819","full_name":"shivakumargourimath/Color-Detection-using-OpenCV-and-Python","owner":"shivakumargourimath","description":"The Color Detection Project leverages the capabilities of OpenCV and Python to create a system for identifying and naming colors in images.","archived":false,"fork":false,"pushed_at":"2024-09-12T18:17:57.000Z","size":32,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-21T18:03:39.865Z","etag":null,"topics":["color-detection","color-detection-python","opencv","pandas","python"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shivakumargourimath.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-12T17:40:43.000Z","updated_at":"2025-06-18T12:23:03.000Z","dependencies_parsed_at":"2024-09-13T07:03:09.776Z","dependency_job_id":null,"html_url":"https://github.com/shivakumargourimath/Color-Detection-using-OpenCV-and-Python","commit_stats":null,"previous_names":["shivakumargourimath/color-detection-using-opencv-and-python"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/shivakumargourimath/Color-Detection-using-OpenCV-and-Python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivakumargourimath%2FColor-Detection-using-OpenCV-and-Python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivakumargourimath%2FColor-Detection-using-OpenCV-and-Python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivakumargourimath%2FColor-Detection-using-OpenCV-and-Python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivakumargourimath%2FColor-Detection-using-OpenCV-and-Python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shivakumargourimath","download_url":"https://codeload.github.com/shivakumargourimath/Color-Detection-using-OpenCV-and-Python/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivakumargourimath%2FColor-Detection-using-OpenCV-and-Python/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278444555,"owners_count":25987790,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["color-detection","color-detection-python","opencv","pandas","python"],"created_at":"2024-09-26T04:03:38.596Z","updated_at":"2025-10-05T11:21:31.470Z","avatar_url":"https://github.com/shivakumargourimath.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Color-Detection-using-OpenCV-and-Python\nThis project demonstrates how to detect colors in an image using the OpenCV library in Python. It allows users to click on any part of an image and get the name of the color along with its RGB values.\nThe project utilizes a dataset ('colors.csv') that maps RGB values to color names, providing a foundation for accurate color recognition.\n\n# How to interact:\nClick anywhere on the image, and the script will display the color name and RGB values both on the image window and in the terminal.\nPress Esc to exit the program.\n\n# How It Works\n1.Loading the Image: OpenCV reads the input image and displays it in a window. \n2.Color Data: The colors.csv file contains color names and their corresponding RGB values. This file helps the program match the clicked pixel to its closest color name. \n3.Mouse Callback: OpenCV captures the mouse click events, extracting the RGB values of the clicked pixel. \n4.Color Matching: The program compares the pixel's RGB values with the colors in colors.csv to find the nearest color name. \n5.Result Display: The detected color and its RGB values are displayed on the image and printed in the terminal\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshivakumargourimath%2Fcolor-detection-using-opencv-and-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshivakumargourimath%2Fcolor-detection-using-opencv-and-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshivakumargourimath%2Fcolor-detection-using-opencv-and-python/lists"}