{"id":24839125,"url":"https://github.com/winand/hsv_color_picker","last_synced_at":"2026-04-27T12:03:44.843Z","repository":{"id":66676123,"uuid":"439082271","full_name":"Winand/hsv_color_picker","owner":"Winand","description":"HSV Color Picker for OpenCV and ROI","archived":false,"fork":false,"pushed_at":"2022-01-04T10:43:02.000Z","size":2433,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-26T04:34:52.748Z","etag":null,"topics":["color-picker","colors","cv","hsv","opencv","python","roi","widget"],"latest_commit_sha":null,"homepage":"","language":"Python","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/Winand.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":"2021-12-16T18:00:38.000Z","updated_at":"2024-08-15T05:16:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"652c58c3-1001-40d2-9413-fc664c4cf92c","html_url":"https://github.com/Winand/hsv_color_picker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Winand/hsv_color_picker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Winand%2Fhsv_color_picker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Winand%2Fhsv_color_picker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Winand%2Fhsv_color_picker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Winand%2Fhsv_color_picker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Winand","download_url":"https://codeload.github.com/Winand/hsv_color_picker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Winand%2Fhsv_color_picker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32335299,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"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-picker","colors","cv","hsv","opencv","python","roi","widget"],"created_at":"2025-01-31T06:36:47.493Z","updated_at":"2026-04-27T12:03:44.824Z","avatar_url":"https://github.com/Winand.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HSV Color Picker and ROI\n## Color Picker\nHSV Color Picker widget for OpenCV (Python) allows to select hue value and\nsaturation/brightness range with your mouse cursor.\n\n![](screenshot.gif)\n\nUsage example (see `demo.py`):\n```\nimport cv2 as cv\n\nfrom hsv_color_picker import SliderHSV\n\n\ncolor_slider = SliderHSV(\"HSV slider\", normalized_display=True)\nwhile True:\n    k = cv.waitKey(5) \u0026 0xFF\n    if k == 27:\n        break\n```\n\n## ROI\n`selection.RectSelection` class allows to select ROI on any loaded image.\nThe selection rectangle can be moved or resized using the mouse cursor.\n\n![](screenshot_roi.jpg)\n\nUsage example (see `demo_roi.py`):\n```\nimport cv2\n\nfrom hsv_color_picker.selection import RectSelection\n\n\nimg = cv2.imread(\"house.jpg\")\ncv2.imshow('ROI', img)\nsel = RectSelection('ROI', img)\n\nwhile True:\n    k = cv2.waitKey(5) \u0026 0xFF\n    if k == 27:\n        break\n```\n\n### selectROI\n`selection.selectROI` function implements interface of\n[cv2.selectROI](https://docs.opencv.org/4.x/d7/dfc/group__highgui.html#ga8daf4730d3adf7035b6de9be4c469af5).\n\n```\nimport cv2\n\nfrom hsv_color_picker.selection import selectROI\n\nimg = cv2.imread(\"house.jpg\")\nrc = selectROI(img)\nprint(rc)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwinand%2Fhsv_color_picker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwinand%2Fhsv_color_picker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwinand%2Fhsv_color_picker/lists"}