J
J
Julia2017-06-07 21:43:07
PHP
Julia, 2017-06-07 21:43:07

How to calculate a person's center of gravity using Kinect?

Hi all. I can't figure out how to calculate a person's center of gravity using joints from Kinect.
What I have ? Joints as in the picture at the link
https://msdn.microsoft.com/en-us/library/microsoft...
In addition, there is a table of approximate masses
www.ele.uri.edu/faculty/vetter/BME207/anthropometr...
As I understand it, something=something will be in the form
CoM = x1* m1 + x2*m2...... + xn*mn/ Mtot
x1 = Roughly speaking, the average position on the part of the body.
Mtot = should be the total amount
But is this the sum from the second link from the first table Total Body Mass or what?
I found articles, but I do not understand them, unfortunately
Thanks in advance

Answer the question

In order to leave comments, you need to log in

6 answer(s)
N
nozzy, 2018-10-09
@nozzy

https://github.com/colshrapnel/safemysql

S
SadKron, 2018-10-08
@SadKron

Use other libraries than the standard mysql connect. You can already find them online.

E
Eugene, 2018-10-08
@klim76

to use storages?

P
ponaehal, 2018-10-09
@ponaehal

+ be careful with the LIKE expression
+ be careful with dynamic SQL
i.e. keep track of the values ​​\u200b\u200bthat variables can take from which you mold expressions like or dynamic sql

A
Alexander Gorbunov, 2018-10-09
@Avenax

php.net/manual/en/function.filter-var.php

T
tomatho, 2017-06-08
@tomatho

If you need to approximately guess the location of the center of mass based on the tabular data that we assume these parts of the body weigh, then your formula for the x coordinate is correct, and similarly for all other coordinates.
But this is only if all x have one common coordinate system, and these coordinates must be the centers of mass of body parts, and then the center of mass will also be in the same coordinate system.
Just in case, it will suddenly come in handy, if you didn’t know, a simple formula for the middle of a segment:
x \u003d (x 1 + x 2 ) / 2
y \u003d (y 1 + y 2 ) / 2
z \u003d (z 1 + z 2 ) / 2
I don't know anything about kinect. I think the masses by the coordinates of body parts can also be determined approximately if there is a significant sample and based on the hypothesis that in order not to fall, a person needs to keep the center of mass in a certain area under him. But this is too complicated, and I doubt the expediency of this.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question