I have successfully installed openpose on ubuntu 22, python3.12.
Here are some note to install openpose on ubuntu.
Highly recommend this blog to install openpose: https://amir-yazdani.github.io/post/openpose/
You also need to install cmake.
Important note: Check the gcc version and make sure it is version 8.. Make sure that install gcc version 8. To install gcc version 8. check this post: https://askubuntu.com/questions/1446863/trying-to-install-gcc-8-and-g-8-on-ubuntu-22-04.
when using ssh remote server, it cannot use the cmake-gui. But cmake-gui can work when you use the computer directly not through ssh remote server.
After build openpose successfull. The result looks like this
To run the openpose, you also need to download the model. check this post: https://github.com/CMU-Perceptual-Computing-Lab/openpose/issues/1602#issuecomment-641653411 And done !!!