Giter Site home page Giter Site logo

swaraj-khan / shape-recognition Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 8 KB

This is a Python project that trains a deep learning model to identify three user-defined shapes based on an image drawn by the user. The application uses SKLEARN and a CV2 to predict the shape based on its features.

Python 100.00%

shape-recognition's Introduction

Shape-Recognition

This project allows the user to name three different shapes of their choosing and trains a machine learning model to identify those shapes based on an image drawn by the user.

The application uses SKLEARN and a CV2 to train a convolutional neural network (CNN) on a dataset of hand-drawn shapes. The trained model can then predict the user-drawn shape based on its features, such as the number of edges and angles.

The user interface is designed using the Tkinter library and provides an intuitive drawing canvas where the user can draw their shape using the mouse or touchpad. Once the drawing is complete, the user can submit the image to the model for prediction, and the application will display the name of the recognized shape.

This project is a great way to explore the world of deep learning and computer vision, and can be easily extended to recognize more shapes or even other types of images. So go ahead, give it a try and see if the model can recognize your shapes accurately!

Given below is the process flow :

Step 1: Enter the name of classifier

1

Step 2: Enter the names of 3 shapes

2

Step 4: Draw shapes with the brush. ( you can also increase or decrease the thickness of the brush + clear the canvas with the "clear" button if you are not happy ) and then press the button that has the name of the shape

3 4

Step 5: Once you are done with drawing shapes, press the "Train Model" button

5

Step 6: Now simply draw any shape and then press the "Predict" button to see which shape you have drawn

6

shape-recognition's People

Contributors

swaraj-khan avatar

Stargazers

 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.