提交 670c5d2c 编写于 作者: G gineshidalgo99

Improved doc

上级 ac4607a8
......@@ -28,6 +28,15 @@ The visual GUI should show the original image with the poses blended on it, simi
<img src="media/shake.gif", width="720">
</p>
If you choose to visualize a body part or a PAF (Part Affinity Field) heat map, the result should be similar to the following images:
<p align="center">
<img src="media/body_heat_maps.gif", width="720">
</p>
<p align="center">
<img src="media/paf_heat_maps.gif", width="720">
</p>
## Other Important Options
......
因为 它太大了无法显示 image diff 。你可以改为 查看blob
......@@ -47,12 +47,9 @@ namespace op
{
if (numberFaces > 0)
{
//framePtr = width * height * 3
//facePtr = 3 (x,y,score) * #Hand parts * # face
const auto threshold = 0.4f;
const auto threshold = 0.5f;
dim3 threadsPerBlock = dim3{THREADS_PER_BLOCK_1D, THREADS_PER_BLOCK_1D};
dim3 numBlocks = dim3{getNumberCudaBlocks(frameSize.width, threadsPerBlock.x), getNumberCudaBlocks(frameSize.height, threadsPerBlock.y)};
// log("numberFaces: " + std::to_string(numberFaces), Priority::Low, __LINE__, __FUNCTION__, __FILE__);
renderFaceParts<<<threadsPerBlock, numBlocks>>>(framePtr, frameSize.width, frameSize.height, facePtr, numberFaces, threshold, alphaColorToAdd);
cudaCheck(__LINE__, __FUNCTION__, __FILE__);
}
......
......@@ -70,12 +70,9 @@ namespace op
{
if (numberHands > 0)
{
//framePtr = width * height * 3
//handsPtr = 3 (x,y,score) * #Hand parts * # hands
const auto threshold = 0.05f;
dim3 threadsPerBlock = dim3{THREADS_PER_BLOCK_1D, THREADS_PER_BLOCK_1D};
dim3 numBlocks = dim3{getNumberCudaBlocks(frameSize.width, threadsPerBlock.x), getNumberCudaBlocks(frameSize.height, threadsPerBlock.y)};
// log("numberHands: " + std::to_string(numberHands), Priority::Low, __LINE__, __FUNCTION__, __FILE__);
renderHandsParts<<<threadsPerBlock, numBlocks>>>(framePtr, frameSize.width, frameSize.height, handsPtr, numberHands, threshold, alphaColorToAdd);
cudaCheck(__LINE__, __FUNCTION__, __FILE__);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册