# RealSense2OpenPose3D **Repository Path**: soanhuang/RealSense2OpenPose3D ## Basic Information - **Project Name**: RealSense2OpenPose3D - **Description**: No description available - **Primary Language**: Unknown - **License**: BSD-3-Clause - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-09-30 - **Last Updated**: 2026-09-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README
git clone https://github.com/CMU-Perceptual-Computing-Lab/openpose
cd openpose/
git submodule update --init --recursive --remote
3. CMake Configuration
1. Enter the `OpenPose/openpose` directory
2. Make a new folder named “build”
3. Enter that new folder
4. Run CMake: `cmake-gui ..`
5. Make sure that the source code path field is `…OpenPose/openpose` and that the build directory is `…/OpenPose/openpose/build`
6. Click “Configure”
7. Select the version of Visual Studio that is installed and select x64
8. Click “Finish”
1. If the model downloads fail (should not take long since files are ~100-150Mb each), need to manually install model files
2. The models can be found in [OpenPoseDependancies/models](https://github.com/foxtierney/RealSense2OpenPose3D/tree/master/OpenPoseDependancies/models)
3. Download all of them to an non-admin accessable folder and uncompress them using 7Zip by `Right-click ...7z.001 > 7Zip > Extract Files here`
4. Merge the now uncompressed `face, hand, pose` folders into `.../OpenPose/openpose/models`
5. If the windows dependancy downloads fail, repeat the above steps b-d but with the files in [OpenPoseDependancies/3rdPartyWindows](https://github.com/foxtierney/RealSense2OpenPose3D/tree/master/OpenPoseDependancies/3rdPartyWindows) and placing the `.zip` folders into `...openpose/3rdparty/windows`
6. Extract the contents (not parent .zip folder itself) of each .zip folder into the `.../3rdparty/windows` folder that the .zip folders are now in.
9. Make sure that the GPU mode is set to CUDA, WITH_3D_RENDERER is on, and WITH_FLIR_CAMERA is off
10. Click “Configure” one more time
11. Click “Generate”
4. Compilation:
1. Click on “Open Project” to open the Visual Studio solution
2. Switch the configuration from “Debug” to “Release”
3. Press “Ctrl+Shift+B” (Build)
4. Copy all the .dll files from `…/build/bin` to `…/build/x64/release`
5. Test that it works
1. Go to …/OpenPose/openpose/
2. Run an example like: `build/x64/Release/OpenPoseDemo.exe --video examples/media/video.avi`
3. Using a camera: `build/x64/Release/OpenPoseDemo.exe --hand --face --camera 1`
### Download RealSense2OpenPose3D exe
This is the easiest way to get up and running.
1. [Download here](https://github.com/foxtierney/RealSense2OpenPose3D/releases/tag/1.3)
2. Place the whole folder, including all the `.dll` files, where you would like.
### Compile RealSense2OpenPose3D
1. Create a new empty C++ Project in Visual Studio
2. Add the Intel RealSenseSDK 2.0 Property sheets
1. View -> Other Windows -> Property Manager
2. Right click on project name in the window that just opened
3. Add existing property sheet
4. Navigate to the SDK directory `“C:\Program Files (x86)\Intel RealSense SDK 2.0”` in my case
5. Select one of the `.props` files and click Open
6. Repeat for the other two `.props` files
3. Test to see if it all works
1. Find `“rs-hello-realsense.cpp”` under `“Intel RealSense SDK 2.0\samples\hello-realsense”`
2. Add the file to the project
1. Right click on Source Files in the Solution Explorer
2. Add -> Existing Item
3. Select `“rs-hello-realsense.cpp”` and click Add
3. Run the program
1. Click on the green arrow at the top of the IDE
4. Take a break. It wasn’t terrible, but figuring out how to do this wasn’t easy either.
5. Download the source for RealSense2OpenPose3D
1. Download from [here](https://github.com/foxtierney/RealSense2OpenPose3D/blob/main/RealSense2OpenPose3D/source)
6. Download the JSON library
1. Go to [JSON.hpp download](https://github.com/nlohmann/json/releases) or use the version included in the `"source"` folder from the previous step
2. Download the latest “json.hpp”
3. Send some thanks in the direction of the creators
4. Save the file in your working directory for the project and double check that the #include statement in RealSense2OpenPose.cpp has the correct path
7. Compile!
## Tips
* If you are not getting the framerate you want
- This program can run at a maximum of ~40fps, if the pose detection exceeds this, the program will crash. OpenPose's framerate can be limited in the `launch.py` file if this happens.
- You can increase the speed of OpenPose by installing a better or second GPU
- In the `launch.py` file, you may alter the OpenPose launch flags to reduce the computational load
* The output files are disapearing
- The `launch.py` program automatically deletes the output files as it runs to prevent filling up your hard drive
- If you would like to keep all files, run the launch file with the argument `frames=-1`
- If you would like to keep only the past `#` many, and be prompted to delete them or not at the end, then run the launch file with the argument `frames=#`
* While typing something, the program stops
- The program has `q` as the default quit key.
- This can be changed with the `quit=