Skip to content

Latest commit

 

History

History
71 lines (44 loc) · 1.55 KB

Readme.md

File metadata and controls

71 lines (44 loc) · 1.55 KB

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

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

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

python main.py -ct -co

// or //

python main.py --cubetrac --cubeopt

External Module Used

LICENCE

MIT License