Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/amankanojiya/rubic-cube-detector
Rubic Cube Detection Using OpenCV
https://github.com/amankanojiya/rubic-cube-detector
argparse numpy opencv opencv-python os python3
Last synced: 2 days ago
JSON representation
Rubic Cube Detection Using OpenCV
- Host: GitHub
- URL: https://github.com/amankanojiya/rubic-cube-detector
- Owner: AMANKANOJIYA
- License: mit
- Created: 2021-07-19T15:57:50.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-09-16T03:16:23.000Z (over 3 years ago)
- Last Synced: 2024-11-12T07:03:57.586Z (2 months ago)
- Topics: argparse, numpy, opencv, opencv-python, os, python3
- Language: Python
- Homepage:
- Size: 2.36 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Rubic Cube Detector
## How It Works
It work using command on console specified for each method
In this module it contain Two method gives seperate Output With Different Approach- _CubeOpt_
- _CubeTrac_### CubeOpt
```bat
python main.py -co
// or //
python main.py --cubeopt
```
- In this we used Hsv tracking to configer the cube and filtering it through some parameters
- cube Optimisation file contain some functions Within the class eg:
- `getFilteredCube(self)` _Main Function_
- `ColorDetection(self, color, hsv_image)` _Supporting Function_
- `removeBadCont(self, contors)` _Supporting Function_
- This file Gives Output in `output_opt/` file
- Output in form of images with color tag on the center### CubeTrac
```bat
python main.py -ct
// or //
python main.py --cubetrac
```
- In this we used Canny Edge Detection to configer the cube and filtering it through some parameters
- cube Optimisation file contain some functions Within the class eg:
- `getTrackedCube(self)` _Main Function_
- `arrangeCube(self, contors)` _Supporting Function_
- This file Gives Output in `output_trac/` file
- Output in form of Text file contain unique number pattern for color## For Both Type Of Out Put
```bat
python main.py -ct -co
// or //
python main.py --cubetrac --cubeopt
```
## External Module Used
- OpenCv
- Numpy
- OS
- ArgParse## LICENCE
#### MIT License