VayAnalyser provides all the functionalities to communicate with our service.
VayAnalyser to configure a movement analysis session. When doing so, an
VayListener can be passed. It is also possible to add a
after creating the
VayAnalyser by using the
To analyse an image with our movement analysis service, the PNG or JPEG encoded
image is converted into an
AnalyserFactory provides a
createInput to create this required input format. For movement
analysis, submit the
VayAnalyserInput by calling the
enqueue method. The
method controls the rate of analysis of the images allowing the user to enqueue
recorded images immediately. The
AnalyserFactory further offers an option to
attach the image capture time (
timestamp) to each input. This will lead to a more
accurate movement analysis and allows specific applications such as analysing a
recorded video. We strongly recommend to set this parameter.
Please note that it is not guaranteed that every enqueued image will be
VayAnalyser internally optimises the frame rate for optimal latency
and motion analysis.
Stop the analyser by calling the method
stop. This method halts the enqueueing
of images to be analysed.
Once the connection is established and
onReady is called, the analyser contains
information about the exercise (
VayExercise) and session (
Check the Swiftdoc reference for more detailed information. Furthermore, we cache
the last received pose for you, which you can access with