GithubHelp home page GithubHelp logo

reknahs / rubiks-cube-inference-model Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 0.0 4.58 MB

Python 100.00%
machine-learning randomforestclassifier randomforest-classification color-classification image-processing image-classification

rubiks-cube-inference-model's Introduction

Rubiks-Cube-Inference-Model

Modify color_dataset_modifier.py to add data for a new type of Rubik's cube . Make sure to create 6 files for each color called "blue_rgb", "red_rgb", etc. Call the function getData for each of the 6 different colors on the cube. Position the solved face of the current color in the box on the webcam and press "d" once done.

Try to ollect multiple samples for each color at different times of the day for maximum accuracy. Note: If there are any more or less than 3 samples for each color, some numbers might need to be adjusted for the program not to produce an error.

Run the mlmodel.py file to train the Random Forest Classifier model on the data. Note: This might take 1 - 2 minutes.

Finally, run the recognition.py file and the model should accurately predict the colors of each face!

rubiks-cube-inference-model's People

Contributors

reknahs avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.