posenet/demos/coco.js
async function decodeSinglePoseAndDrawResults() {
  if (!modelOutputs) {
    return;
  }

  const pose = await posenet.decodeSinglePose(
      modelOutputs.heatmapScores, modelOutputs.offsets, guiState.outputStride);

  drawSinglePoseResults(pose);
}
async function decodeSinglePoseAndDrawResults() {
  if (!modelOutputs) {
    return;
  }

  const pose = await posenet.decodeSinglePose(
      modelOutputs.heatmapScores, modelOutputs.offsets, guiState.outputStride);

  drawSinglePoseResults(pose);
}
async function decodeSinglePoseAndDrawResults ( ) { if ( ! modelOutputs ) { return ; } const pose = await posenet . decodeSinglePose ( modelOutputs . heatmapScores , modelOutputs . offsets , guiState . outputStride ) ; drawSinglePoseResults ( pose ) ; }
Converts the raw model output results into single-pose estimation results
Converts the raw model output results into single - pose estimation results