Git Product home page Git Product logo

openposerig's Introduction

SETUP for OPENPOSE and 3D-POSE-BASELINE on Ubuntu 16.04 / 180505

Note: OpenPose alone can record 3D coordinates with a multi-camera setup. However the 3d-pose-baseline method allows generating 3D coordinates for multiple subjects from a single camera.

  1. Clone OpenPose:
    https://github.com/CMU-Perceptual-Computing-Lab/openpose

  2. Install CUDA, CUDNN, and OpenCV

./ubuntu/install_cuda.sh
./ubuntu/install.cudnn.sh
sudo apt-get install libopencv-dev python-opencv
  1. Download models
./models/getModels.sh
  1. Install Caffe and build OpenPose
./ubuntu/install_caffe_and_openpose_if_cuda8.sh
  1. Sample OpenPose shell scripts for Ubuntu and Windows.

  2. Clone 3D-pose-baseline (fork with OpenPose converter script):
    https://github.com/ArashHosseini/3d-pose-baseline

  3. Install Python dependencies:

pip install h5py
pip install tensorflow
pip install imageio
pip install matplotlib
  1. Download models:

(Place in ./experiments/)
https://drive.google.com/file/d/0BxWzojlLp259MF9qSFpiVjl0cU0/view?usp=sharing

(Place in ./data/h36m/)
https://www.dropbox.com/s/e35qv3n6zlkouki/h36m.zip

  1. Create a directory ./png for output.

  2. Run a sample shell script.

openposerig's People

Contributors

n1ckfg 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

openposerig's Issues

run_3d-pose-baseline : IndexError: list index out of range

_data = data["people"][0]["pose_keypoints"]
IndexError: list index out of range

i run 'run_openpose.sh and checked json file in record folder.
but, When i run 'run_3d-pose-baseline', The error appeared.

json file 000000000000_keypoints.json

{
"version":1.1,
"people":[
{
"pose_keypoints":[
631.299,214.114,0.736385,576.509,270.83,0.847076,637.232,270.787,0.79596,672.471,372.778,0.837893,654.85,443.298,0.817253,517.717,270.811,0.791746,496.127,376.645,0.843301,515.753,447.101,0.840284,619.653,447.213,0.60002,635.216,584.266,0.752385,649.001,715.62,0.507386,554.823,453.073,0.628888,554.966,588.174,0.817086,541.265,715.627,0.472614,629.391,208.131,0.810958,0,0,0,607.877,200.352,0.826267,0,0,0
],
"face_keypoints":[

		],
		"hand_left_keypoints":[
			
		],
		"hand_right_keypoints":[
			
		]
	}
]

}

FormatException: Input string was not in the correct format.

ERROR////////////////////////////////////////////////
FormatException: Input string was not in the correct format
System.Double.Parse (System.String s, NumberStyles style, IFormatProvider provider) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Double.cs:209)
System.Single.Parse (System.String s) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Single.cs:183)
BoneController.m__3 (System.String f) (at Assets/BoneController.cs:109)
System.Linq.Enumerable+c__Iterator102[System.String,System.Single].MoveNext () System.Collections.Generic.List1[System.Single].AddEnumerable (IEnumerable1 enumerable) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/List.cs:128) System.Collections.Generic.List1[System.Single]..ctor (IEnumerable1 collection) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/List.cs:65) System.Linq.Enumerable.ToArray[Single] (IEnumerable1 source)
BoneController.PointUpdate () (at Assets/BoneController.cs:109)
BoneController.PointUpdateByTime () (at Assets/BoneController.cs:128)
BoneController.Update () (at Assets/BoneController.cs:43)

3d positon and openposeRig

hello, How do you get the one frame pose estimation result ? I use openpose and 3d-post-baseline to get 3d-data.json, which is totally different from the JSON format provided by you. Are there any other steps in the middle,
my json: {"0": {"0": {"translate": [-526.1015, 0.0, 607.4599038791717]}, "1": {"translate": [-606.7712571744592, 29.97365833193502, 638.2196033433054]},

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.