openpose
openpose copied to clipboard
how to drop a pose
Hi everyone,
I would like to do a post-processing step in which if the pixel color where a keypoint is detected is black, then the corresponding pose is dropped, i.e. do not show it on the output image.
Actually, using the python api I can process the image via opWrapper.emplaceAndPop()
function then do the post-processing step above mentioned by accessing at datum.poseKeypoints
, but obviously I can not drop the pose since it has already been rendered in datum.cvOutputData
.
Any suggestions? The post-processing step should be inserted somewhere in the openpose source code before the detected poses are rendered on the image. Thank you!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.