I have tried all kinds of command line options compositions,but none of them worked as expected,so is that possible?How to do?
Asked
Active
Viewed 2,988 times
1 Answers
0
Simply use the flag -render_pose 0
(Directly from the instructions: https://github.com/CMU-Perceptual-Computing-Lab/openpose/blob/master/doc/demo_overview.md)

Ginés Hidalgo
- 717
- 9
- 20
-
Thanks,this will turn it off completely,so pose related info will miss in json also.What I want is keeping pose info in json but 'removing' points and linking lines in image – Alex Luya Nov 30 '17 at 03:14
-
That should not be the case, ``render_pose 0`` will just disable the blending of keypoints in the image, it has nothing to do with the ``write_keypoint_json`` flag. If it has, then I have a bug in the code. Could you add the exact command you use? It should be something like ``--render_pose 0 --write_keypoint_json output_folder``. Also, as you don't want to render the keypoints, you might also remove the output display for small speed up: ``--render_pose 0 --no_display --write_keypoint_json output_folder``. – Ginés Hidalgo Nov 30 '17 at 04:42
-
'./openpose.bin --no_display --render_pose 0 --write_images /home/alex/debug --write_keypoint_json /home/alex/debug --video /home/alex/video.mp4' gives me error 'Error: In order to save the rendered frames (`write_images` or `write_video`), you must set `render_output` to true.' – Alex Luya Nov 30 '17 at 07:23
-
I need pose info in just json without keypoints and linking lines in images – Alex Luya Nov 30 '17 at 07:25
-
That was fixed around a month ago, download the latest version, But even in that version, ``openpose.bin --no_display --render_pose 0 --write_keypoint_json /home/alex/debug`` will work (if you don't need the images). – Ginés Hidalgo Nov 30 '17 at 13:31