API For Body Mesurement

Overview

Extract a minimum of 10 image frames from the user's recorded video. Convert each frame into a Base64-encoded string and send it to the API below. Retrieve the body measurement data from each frame, then compute the average measurement values.

Refer to the JavaScript function provided below for implementation:

API Parameters


height: Represents the height of the person in centimeters (e.g., 170 cm).

data_url: Base64-encoded image.

options: JSON object (e.g., { "gender": "male" }).

Response:

Function Parameters


Array of measurement which is returned from the above Body Measurement API.