Company logo
  • Jobs
  • Bootcamp
  • About Us
  • For professionals
    • Home
    • Jobs
    • Courses and challenges
    • Questions
    • Teachers
    • Bootcamp
  • For business
    • Home
    • Our process
    • Plans
    • Assessments
    • Payroll
    • Blog
    • Sales
    • Calculator

0

56
Views
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 :)

8 months ago ยท Juan Pablo Isaza
Answer question
Find remote jobs