posenet/demos/coco.js
function drawMultiplePosesResults(poses) {
  const canvas = multiPersonCanvas();
  drawResults(
      canvas, poses, guiState.multiPoseDetection.minPartConfidence,
      guiState.multiPoseDetection.minPoseConfidence);

  const {part, showHeatmap, showOffsets, showDisplacements} =
      guiState.visualizeOutputs;
  const partId = +part;

  visualizeOutputs(
      partId, showHeatmap, showOffsets, showDisplacements,
      canvas.getContext('2d'));
}
function drawMultiplePosesResults(poses) {
  const canvas = multiPersonCanvas();
  drawResults(
      canvas, poses, guiState.multiPoseDetection.minPartConfidence,
      guiState.multiPoseDetection.minPoseConfidence);

  const {part, showHeatmap, showOffsets, showDisplacements} =
      guiState.visualizeOutputs;
  const partId = +part;

  visualizeOutputs(
      partId, showHeatmap, showOffsets, showDisplacements,
      canvas.getContext('2d'));
}
function drawMultiplePosesResults ( poses ) { const canvas = multiPersonCanvas ( ) ; drawResults ( canvas , poses , guiState . multiPoseDetection . minPartConfidence , guiState . multiPoseDetection . minPoseConfidence ) ; const { part , showHeatmap , showOffsets , showDisplacements } = guiState . visualizeOutputs ; const partId = + part ; visualizeOutputs ( partId , showHeatmap , showOffsets , showDisplacements , canvas . getContext ( '2d' ) ) ; }
Draw the results from the multi-pose estimation on to a canvas
Draw the results from the multi - pose estimation on to a canvas