Code Monkey home page Code Monkey logo

imitecio's Introduction

IMITECIO

logo

Table of Contents

About The Project

Pose Estimation (& Replication) Based Game

  • Pose Estimation has been for a while in the deep learning industry. Considering the various applications of it, we aimed at creating a simple game at first. Some few things we intend to do further are mentioned at the end. Refer this documentation

Game Demo


Tech Stack

  • The Posenet model trained by Google is used.
  • For the Posenet Js to Python port this repo is used.

The rest is openCV for webcam input, Unity for NotEndlessRunner game and keyboard for keypresses. Although pynput is used , we prefer pywin32 for windows.

File Structure

IMITECIO
├───docs                                                                       ## Documents and Images
│   └───images
├───NotEndlessRunner                                                           ## Game Files
│   |
│   ├───Assets
│   │   ├───Animation
│   │   ├───Materials
│   │   ├───Prefab
│   │   ├───Raw Mocap Data
│   │   ├───Scenes
│   │   ├───Scripts
│   │   ├───Sprites
│   │   └───TextMesh Pro
│   │       ├───Documentation
│   │       ├───Fonts
│   │       ├───Resources
│   │       └───Sprites
│   ├───Library
|   |
│   ├───Logs
│   ├───obj
│   ├───Packages
│   └───ProjectSettings
├───OsX.app                                          ## Game for MacOs
│   └───Contents
│       ├───Frameworks
│       ├───MacOS
│       ├───MonoBleedingEdge
│       └───Resources
└───posenet                                          ## Main Python Files
    ├───MonoBleedingEdge
    │   ├───EmbedRuntime
    │  
    ├───NotEndlessRunner_Data
    │   ├───Managed
    │   └───Resources
    ├───posenet
    │   └───converter
    └───models                                       ## You may need to download the models initially.
        └───checkpoints

Getting Started

Prerequisites & Installation

  • Tested on Windows
git clone https://github.com/SAtacker/IMITECIO.git
cd IMITECIO

In your Virtual Environment

pip install -r "requirements.txt"
python posenet\webcam_demo.py

Results and Demo

NotEndlessRunner

  • On Manipulating the code according to your requirements, you could use it to control most of the games.

Part 1
Part 2

Space Invaders

Future Work

  • Posenet tflite to Python - Single Person detection
  • Posenet Based Game
  • Pose Estimation in 3d
  • Socket Code instead of Keyboard Presses
  • C++ Port for faster recognition

Troubleshooting

  • You may need to install tensorflow 1.15.0 or tensorflow 1.13 on your own.
  • There could be an issue only in the tensorflow installation.
  • However one small thing to remember is that multithreading does not guarentee the Game to run first . Meaning that the OpenCV window might appear later and gamethread before. We dont't have a fix for this. Rather press Alt + Tab to overcome this thing.

Contributors

Acknowledgements and Resources

License

License

imitecio's People

Contributors

satacker avatar dhruvi29 avatar sarah-nisar avatar

Stargazers

 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.