1.0.7 • Published 3 years ago

posemotion v1.0.7

Weekly downloads
77
License
ISC
Repository
github
Last release
3 years ago

System for Workoutgenerator-Data Input

System for User-Data Input

System for Excercise-Data Input

Name

"name": [NAME] Represents the name of the excercise

Difficulty

"difficulty": [VALUE] Describes the difficulty (needet physical to be able to performe the excercise well) which is ranging from 1-10. This Difficult has the same scale then the one stored in the user data.

Intensities

"intensities": [{"name": [NAME], "intensity": [VALUE]}] Describes the intensities for each body part. The values have to add up to 100 total points

idnamevalue
0Chest0-100
1Shoulders0-100
2Bizeps0-100
3Underarms0-100
4Butt0-100
5Legs0-100
6Stomach0-100
7Back0-100

Repetition-indicator

"repetitionIndicator": [VALUE] Is used to estimate if a excercise should be done faster or slower | id | value | | --- | --------- | | 1 | 1-2/min | | 2 | 2-5/min | | 3 | 5-10/min | | 4 | 10-15/min | | 5 | 15-20/min | | 6 | 25-30/min | | 7 | 30-40/min | | 8 | 40-50/min | | 9 | 50-60/min |

Detections

"detections": [] Describe what kind of detection and what detections are used. Different types of detections in an array are the input needed. Every object in this array is considered in every step

Statusorder

The detections functions in steps (waiting till sertain conditions are reached and then jumps to next step) "statusorder": [STATUS_1, STATUS_2] After every step is done the programm counts one repetition up and start over again till times up or the needed repetitions are reached.

Types

Angle-Detection

{
  "point1": 6,
  "point2": 10,
  "pointMiddle": 8,
  "status": [0, 1, 2],
  "statusValue": [
    { "min": 0, "max": 45 },
    { "min": 145, "max": 180 }
  ]
}

Points

  • Point Middle: the point where the angle is
  • Point 1/2: Points to wich the vectors for the angle from the middle point are drawn The ID´s refer to the ID´s used by posenet
IdPart
0nose
1leftEye
2rightEye
3leftEar
4rightEar
5leftShoulder
6rightShoulder
7leftElbow
8rightElbow
9leftWrist
10rightWrist
11leftHip
12rightHip
13leftKnee
14rightKnee
15leftAnkle
16rightAnkle

Status The arrays first number is 0 for fallback The other correspond to the statusValue-array. Note: treat the status as if fallback does not exist when corresponding to statusValue-array. "statusValue": [{min: [VALUE_1], max: [VALUE_2]}]

  • value_1/2: describe the lower and upper limit in which a certain status is returned. The values reach from 0° - 180°
1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago