Coder Social home page Coder Social logo

character-control-using-body-posture's Introduction

Character-control-using-body-posture

This is a small project using python OpenCV, mediapipe, and Tkinter. Here we can control the character's movement using our body posture. This can be improved further and lot of amazing things we can do with it. Updation of the code is highly appreciated.

Thank you.

Getting Started

To get started you need to:

  1. Clone the repository.
  2. Install dependencies and Prerequisites
  3. Run Python Script

Prerequisites

  1. Windows or Ubuntu 18.04 bionic
  2. Python Dependencies
  3. Conda Environment (Follow only if normal python Env. not working)

Installing

Python Dependencies

sudo apt install python3-dev python3-pip
pip install --upgrade pip

Conda Steps to follow

Installation

  1. https://docs.anaconda.com/anaconda/install/linux/#installing-on-linux
  2. https://docs.conda.io/projects/conda/en/4.6.0/_downloads/52a95608c49671267e40c689e0bc00ca/conda-cheatsheet.pdf

Conda Dependencies

conda activate env_name
conda install --channel https://conda.anaconda.org/menpo opencv3 
pip install mediapipe 
conda install tk 

Execution

Go to clone folder

python3 Character_control_using_body_posture.py

character-control-using-body-posture's People

Contributors

itzranjeet avatar nikhilasogekar3 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

character-control-using-body-posture's Issues

tkinter module not found error

Hi Nikhil! Great work.
I am getting this error.



ModuleNotFoundError Traceback (most recent call last)
in
2 import mediapipe as mp
3 import numpy as np
----> 4 from tkinter import *
5 import random
6 import time

~/.pyenv/versions/3.6.10/lib/python3.6/tkinter/init.py in
34 import sys
35
---> 36 import _tkinter # If this fails your Python may not be configured for Tk
37 TclError = _tkinter.TclError
38 from tkinter.constants import *

ModuleNotFoundError: No module named '_tkinter'


Any idea how to solve this?

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.