Process Frame
MovementAnalyzer
API Reference for MovementAnalyzer functions
MovementAnalyzer
is a Guru Analyzer
that provides helper analysis methods related to human movement. It is useful for building fitness or sport-focused apps.
Functions
repsByKeypointDistance
This function, given the frames of a person, find repetitions of a movement defined by the movement between two keypoints. For example, you could use Keypoint.rightHip
and Keypoint.rightAnkle
to count the number of squat reps in a video.
Example
personMostlyFacing
Given the frames of a person, determine which direction they were mostly facing during the course of the video. Returns a value from the ObjectFacing enum.
personMostlyStanding
Given the frames of a person, determine whether they were standing for the majority of the video. Returns a boolean.