Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
w-okada committed May 13, 2022
1 parent 201bba5 commit ab303db
Show file tree
Hide file tree
Showing 6 changed files with 119 additions and 115 deletions.
4 changes: 2 additions & 2 deletions 017_blaze-pose-worker-js/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion 017_blaze-pose-worker-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,5 @@
"@tensorflow/tfjs-backend-wasm": "^3.16.0",
"buffer": "^6.0.3"
},
"version": "0.0.28"
"version": "0.0.29"
}
4 changes: 3 additions & 1 deletion 017_blaze-pose-worker-js/src/blaze-pose-worker-worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,9 @@ const predict = async (config: BlazePoseConfig, params: BlazePoseOperationParams
yMax: x.pose.maxY,
width: x.pose.maxX - x.pose.minX,
height: x.pose.maxY - x.pose.maxY
}
},
// score: x.score, // not accurate
score: x.landmarkScore
}

return pose
Expand Down
4 changes: 3 additions & 1 deletion 017_blaze-pose-worker-js/src/blaze-pose-worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,9 @@ export class LocalBP extends LocalWorker {
yMax: x.pose.maxY,
width: x.pose.maxX - x.pose.minX,
height: x.pose.maxY - x.pose.maxY
}
},
// score: x.score, // not accurate
score: x.landmarkScore
}

return pose
Expand Down
Loading

0 comments on commit ab303db

Please sign in to comment.