GithubHelp home page GithubHelp logo

green-gray-gaurav / logic-gate-simulator-with-deep-learning-intergrated Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 556 KB

This software has been developed to simulate the digital logic gates. what makes it special is its integration with deep learning to control the simulator using hand gestures

Python 100.00%
deep-learning-cnn logic-gates-simulator opencv pygame simulator

logic-gate-simulator-with-deep-learning-intergrated's Introduction

Vision_BGV_Box_Gate_Vector_Simulator

A Logic Gate Simulator like Circuit Verse, Academo.org etc. which support's Vision mode. And can easily be controlled using hand gestures.

How To Run

  1. If you are using anaconda

    • Go to search and find Anaconda Prompt
    • Change envirenment if needed
      (base) C:\Users\user_name>activate env_name
      
    • Using cd for going to unzip folder
    • Run editor.bat
      (test) C:\Users\user_name>editor.bat
      
  2. if you are using Python

    • Go to folder where you have unziped the file
    • Right click and click on open on terminal
    • Run editor.bat
      PS C:\Users\user_name\path\to\unzip\folder> .\editor.bat
      
    • If you are getting this error, it is because of envirenment paths
      'pip' is not recognized as an internal or external command
      
  3. Run maunally

    • Use any IDE like. Visual Studio Code, PyCharm, Spyder etc.
    • Open the unzip folder
    • Install required packages
    • Run main.py

Table of Contents

Vision BGV Box Gate Vector
    |-- fonts (fonts used)
    |     |-- Queensider.ttf
    |     |-- QueensiderLight-ZVj3l.ttf
    |     |-- QueensiderMedium.ttf
    |   
    |-- gateRes (assets)
    |-- model (classifiaction model weights & sounds)
    |     |-- click.wav
    |     |-- model_cpu.pk
    |     |-- model_cuda.pk
    |     |-- simulate.wav
    |
    |-- Model Recipe (For Custom Classification)
    |     |-- app.py
    |     |-- gesture_recognizer.py
    |     |-- model.ipynb
    |     |-- README.md
    |
    |-- Sample (photos and video)
    |-- saved (saved files)
    |-- shells (shell base)
    |-- singltion (widgets)
    |-- BSV.py (Architecture)
    |-- editor.bat (app runner)
    |-- gesture_recognizer.py (Gusture Class)
    |-- gui (gui related classes)
    |-- main.py (starting file)
    |-- README.md
    |-- requirements.txt (lib. names)
    |-- util_function (functions)
    |-- vectors.py (vector2D class)

Architecture of Simulator ๐Ÿ‘‡

Samples

What is what ๐Ÿ‘‡

Example of use ๐Ÿ‘‡

Sim.Video.Tut.mp4

How to Use:

  1. Keys to control Simulator

    • For menu : Shift + RMB
    • For Select gate/connection : LMB
    • For Toggle Input : Ctrl + RMB
    • For Deselect connection : RMB
  2. Included Gesture in Vision Mode

$~~~~~~~~~~~~~~~~~~~~~~~$ drawing

$~~~~~~~~~~~~~~~~~~~~~~~~~~$ Recenter

$~~~~~~~~~~~~~~~~~~~~~~~$ drawing

$~~~~$ Preffered Gesture for mouse pointer

$~~~~~~~~~~~~~~~~~~~~~~~$ drawing

$~~~~~~~~~~~~~~~~~~~$ Mouse Left Click

$~~~~~~~~~~~~~~~~~~~~~~~$ drawing

$~~~~~~~~~~~~~~~~~~~$ Mouse Right Click

$~~~~~~~~~~~~~~~~~~~~~~~$ drawing

$~~~~~~~~~~~~~~~~~~~~~~~~~~~$ Menu Bar

$~~~~~~~~~~~~~~~~~~~~~~~$ drawing

$~~~~~~~~~~~~~~~~~~~~~~~$ Toggle Imput

$~~~~~~~~~~~~~~~~~~~~~~~$ drawing

$~~~~~~~~~~~~~~~~~~~~~~~~~~$ Simulate

Created BY :

Gaurav, Rajat Singh

Gaurav GitHub, Rajat GitHub

logic-gate-simulator-with-deep-learning-intergrated's People

Contributors

green-gray-gaurav avatar

Stargazers

 avatar

Watchers

 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.