{"id":16475342,"url":"https://github.com/amankanojiya/rubic-cube-detector","last_synced_at":"2026-05-06T13:35:49.808Z","repository":{"id":138811204,"uuid":"387519800","full_name":"AMANKANOJIYA/Rubic-Cube-Detector","owner":"AMANKANOJIYA","description":"Rubic Cube Detection Using OpenCV","archived":false,"fork":false,"pushed_at":"2021-09-16T03:16:23.000Z","size":2475,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-11T04:19:21.803Z","etag":null,"topics":["argparse","numpy","opencv","opencv-python","os","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AMANKANOJIYA.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-07-19T15:57:50.000Z","updated_at":"2023-06-22T13:56:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"79ca9190-1525-41c8-ae5b-2fa755ab1535","html_url":"https://github.com/AMANKANOJIYA/Rubic-Cube-Detector","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AMANKANOJIYA%2FRubic-Cube-Detector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AMANKANOJIYA%2FRubic-Cube-Detector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AMANKANOJIYA%2FRubic-Cube-Detector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AMANKANOJIYA%2FRubic-Cube-Detector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AMANKANOJIYA","download_url":"https://codeload.github.com/AMANKANOJIYA/Rubic-Cube-Detector/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241131780,"owners_count":19915013,"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","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":["argparse","numpy","opencv","opencv-python","os","python3"],"created_at":"2024-10-11T12:37:45.589Z","updated_at":"2026-05-06T13:35:44.786Z","avatar_url":"https://github.com/AMANKANOJIYA.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rubic Cube Detector\n\n## How It Works\n\nIt work using command on console specified for each method\nIn this module it contain Two method gives seperate Output With Different Approach\n\n- _CubeOpt_\n- _CubeTrac_\n\n### CubeOpt\n\n```bat\n\npython main.py -co\n\n// or //\n\npython main.py --cubeopt\n\n```\n\n- In this we used Hsv tracking to configer the cube and filtering it through some parameters\n- cube Optimisation file contain some functions Within the class eg:\n  - `getFilteredCube(self)` _Main Function_\n  - `ColorDetection(self, color, hsv_image)` _Supporting Function_\n  - `removeBadCont(self, contors)` _Supporting Function_\n- This file Gives Output in `output_opt/` file\n- Output in form of images with color tag on the center\n\n### CubeTrac\n\n```bat\n\npython main.py -ct\n\n// or //\n\npython main.py --cubetrac\n\n```\n\n- In this we used Canny Edge Detection to configer the cube and filtering it through some parameters\n- cube Optimisation file contain some functions Within the class eg:\n  - `getTrackedCube(self)` _Main Function_\n  - `arrangeCube(self, contors)` _Supporting Function_\n- This file Gives Output in `output_trac/` file\n- Output in form of Text file contain unique number pattern for color\n\n## For Both Type Of Out Put\n\n```bat\n\npython main.py -ct -co\n\n// or //\n\npython main.py --cubetrac --cubeopt\n\n```\n\n## External Module Used\n\n- \u003ca href=\"https://opencv.org/\" \u003eOpenCv\u003c/a\u003e\n- \u003ca href=\"https://opencv.org/\" \u003eNumpy\u003c/a\u003e\n- \u003ca href=\"https://docs.python.org/3/library/os.html\" \u003eOS\u003c/a\u003e\n- \u003ca href=\"https://docs.python.org/3/library/argparse.html\" \u003eArgParse\u003c/a\u003e\n\n## LICENCE\n\n#### MIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famankanojiya%2Frubic-cube-detector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famankanojiya%2Frubic-cube-detector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famankanojiya%2Frubic-cube-detector/lists"}