'openpose extract only the skeleton
I'm using openpose in a docker container. The following command create images, where the detected keypoints are printed on the original images.
openpose -display=0 -image_dir=/data -write_images=/data -face=true -hand=true
I would like to have the keypoints without the original image on a black background. Like shown here:
How can I do this?
Solution 1:[1]
You can use --disable_blending
flag, as explained here: https://github.com/CMU-Perceptual-Computing-Lab/openpose/blob/master/doc/01_demo.md#main-flags
--disable_blending
: If enabled, it will render the results (keypoint skeletons or heatmaps) on a black background, not showing the original image. Related:part_to_show
,alpha_pose
, andalpha_pose
.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 |