Skip to content

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

Notifications You must be signed in to change notification settings

green-gray-gaurav/Logic-Gate-Simulator-with-deep-learning-intergrated

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages