Company logo
  • Empleos
  • Bootcamp
  • Acerca de nosotros
  • Para profesionales
    • Inicio
    • Empleos
    • Cursos y retos
    • Preguntas
    • Profesores
    • Bootcamp
  • Para empresas
    • Inicio
    • Nuestro proceso
    • Planes
    • Pruebas
    • Nómina
    • Blog
    • Calculadora

0

55
Vistas
How to find out large dips in Array values?

So I'm creating a boxing game based on pose detection. Essentially every tick it takes out the angle between the shoulder, elbow and wrist and according to that it detects if it is a punch or not.

So when the angle is less the punch is loading up and when the angle is more the punch gets released.

So the low points in the data mean that the punch is loading up and the high points are the releases.

The data looks like this in graphical formThe Image

, where the blue curve is the left hand angle and the red is the right hand angle.

I also need to detect the speed at which the punch is thrown. Is there any way to do all of this?

Thanks in advance :)

7 months ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos