Skip to content

Latest commit

 

History

History
118 lines (96 loc) · 4.12 KB

File metadata and controls

118 lines (96 loc) · 4.12 KB

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