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

  const poses = await posenet.decodeMultiplePoses(
      modelOutputs.heatmapScores, modelOutputs.offsets,
      modelOutputs.displacementFwd, modelOutputs.displacementBwd,
      guiState.outputStride, guiState.multiPoseDetection.maxDetections,
      guiState.multiPoseDetection);

  drawMultiplePosesResults(poses);
}
async function decodeMultiplePosesAndDrawResults() {
  if (!modelOutputs) {
    return;
  }

  const poses = await posenet.decodeMultiplePoses(
      modelOutputs.heatmapScores, modelOutputs.offsets,
      modelOutputs.displacementFwd, modelOutputs.displacementBwd,
      guiState.outputStride, guiState.multiPoseDetection.maxDetections,
      guiState.multiPoseDetection);

  drawMultiplePosesResults(poses);
}
async function decodeMultiplePosesAndDrawResults ( ) { if ( ! modelOutputs ) { return ; } const poses = await posenet . decodeMultiplePoses ( modelOutputs . heatmapScores , modelOutputs . offsets , modelOutputs . displacementFwd , modelOutputs . displacementBwd , guiState . outputStride , guiState . multiPoseDetection . maxDetections , guiState . multiPoseDetection ) ; drawMultiplePosesResults ( poses ) ; }
Converts the raw model output results into multi-pose estimation results
Converts the raw model output results into multi - pose estimation results