Git Product home page Git Product logo

bag-of-poses's Introduction

bag-of-poses

'Bag of Poses' is a group body language analysis tool. Combining the work of OpenPose - a real-time multi-person system to jointly detect human body, hand, and facial keypoints with a bag of words approach, 'Bag of Poses' is able to analyse large group images for supervised machine learning tasks.

This is a Python implementation with TensorFlow (CUDA optimised) and scikit-learn.

To download pre-trained Coco 4000 weights: cd model; sh get_model.sh

Project Architecture :

:::python 
- root dir/
	|- images/
			|- test /
				|- obj1/
				|- obj2/

			|- train /
				|- obj1/
				|- obj2/

	|- helpers.py
	|- Bag.py 


:~$ python Bag.py --train_path images/train/ --test_path images/test/

Saves checkpoint after each labelled object for loading large data: ./checkpoint.pkl

Remove completed labelled object by running again:

:~$ python Bag.py --train_path images/train/ --test_path images/test/ --checkpoint_path ./checkpoint.pkl

Produces Confusion Matrix and Historgram of Words:

histogramConfusion

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.