Skip to main content

Reference

Vision SDK Exports

  • countReps()
  • scanEquipment()
  • scanPoses()

Movement Library Exports

Version: 1.0.2

  • version()
  • all()

React Native Components

These example visual components can be used to show realtime feedback for pose and equipment detection. You can fully customize the visual style by creating your own version of these components.

PoseOverlay

This <PoseOverlay> component draws a skeleton of the athlete's pose as an overlay. This can be useful for diagnostics or for adding visual effects to your application.

<PoseOverlay
pose={pose}
lineStyles={stroke: 'red', strokeWidth: 2}
/>

EquipmentTag

This <EquipmentTag> component draws a label and outline around equipment that is detected in the frame.

<EquipmentTag
equipment={equipment}
lineStyles={stroke: 'red', strokeWidth: 2}
labelStyles={}
/>