diff --git a/doc/demo_overview.md b/doc/demo_overview.md
index a50c1ff0..64c496b3 100644
--- a/doc/demo_overview.md
+++ b/doc/demo_overview.md
@@ -28,6 +28,15 @@ The visual GUI should show the original image with the poses blended on it, simi
+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:
+
+
+
+
+
+
+
+
## Other Important Options
diff --git a/doc/media/body_heat_maps.png b/doc/media/body_heat_maps.png
new file mode 100644
index 00000000..024ea280
Binary files /dev/null and b/doc/media/body_heat_maps.png differ
diff --git a/doc/media/paf_heat_maps.jpg b/doc/media/paf_heat_maps.jpg
new file mode 100644
index 00000000..90d40443
Binary files /dev/null and b/doc/media/paf_heat_maps.jpg differ
diff --git a/doc/media/pose_face_hands.gif b/doc/media/pose_face_hands.gif
index cae09110..ed4cd1c4 100644
Binary files a/doc/media/pose_face_hands.gif and b/doc/media/pose_face_hands.gif differ
diff --git a/src/openpose/experimental/face/faceRenderGpu.cu b/src/openpose/experimental/face/faceRenderGpu.cu
index 9811ed12..7071add0 100644
--- a/src/openpose/experimental/face/faceRenderGpu.cu
+++ b/src/openpose/experimental/face/faceRenderGpu.cu
@@ -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<<>>(framePtr, frameSize.width, frameSize.height, facePtr, numberFaces, threshold, alphaColorToAdd);
cudaCheck(__LINE__, __FUNCTION__, __FILE__);
}
diff --git a/src/openpose/experimental/hand/handRenderGpu.cu b/src/openpose/experimental/hand/handRenderGpu.cu
index 8c53d6e1..16a3c4ec 100644
--- a/src/openpose/experimental/hand/handRenderGpu.cu
+++ b/src/openpose/experimental/hand/handRenderGpu.cu
@@ -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<<>>(framePtr, frameSize.width, frameSize.height, handsPtr, numberHands, threshold, alphaColorToAdd);
cudaCheck(__LINE__, __FUNCTION__, __FILE__);
}