@modelhealth/viewer-react
    Preparing search index...

    Function parseMarkersCsv

    • Parses the wide-format marker CSV produced by the SDK's markers_csv motion data type (frame,time,MARKER1_X,MARKER1_Y,MARKER1_Z,MARKER2_X,...) into the MarkerTransforms shape MarkerOverlay expects.

      There is no dedicated "marker positions as JSON" motion data type in the SDK today (unlike VisualizerTransforms, which is a purpose-built JSON payload) — this parses the general-purpose CSV export instead.

      Parameters

      • csv: string

      Returns MarkerTransforms