Human pose estimation
Example project of human pose estimation, facial capture and eye tracking using a single RGB camera.
Environment
- OS: Windows 10 64bit or Linux x64 (Ubuntu 18.04.6)
- Unreal Engine: 4.26, 5.0
-
NNEngine plugin v1.5
-
For Windows
- Visual Studio is required to be installed. See the official documentation for how to install.
- For Linux
- Visual Studio Code is recommended for IDE. See this guide for how to install.
Download
Demo project is available on GitHub. (To use with UE5, use UE5 branch)
Please download from the release page.
Run the demo
- Extract the downloaded zip file and double-click
NNEngineDemo.uproject
. The first time you start it, you need to build the C++ source. - After launching, click
Play
on the editor to start the demo that performs AI estimation for the pre-recorded video. - To run on your webcam, follow the instructions in
Content\NNEngineDemo\Tutorial.uasset
and specify the webcam you want to use in WebcamMediaPlayer's Video.
- Extract the downloaded zip file
- Create a directory in the extracted directory and name it
Plugins
, and copy the NNEngine plugin into it. - Double-click
NNEngineDemo.uproject
. In the pop-up, selectUnreal Engine 4.26
. - You will be asked to rebuild. Select
No
. - Double-click the generated
NNEngineDemo.code-workspace
to start VS Code. - In VS Code, select
NNEngineDemoEditor (Development) (NNEngineDemo)
fromRun and Debug
, and click Start Debugging. - After launching, click
Play
on the editor to start the demo that performs AI estimation for the pre-recorded video. - To run on your webcam, follow the instructions in
Content\NNEngineDemo\Tutorial.uasset
and specify the webcam you want to use in WebcamMediaPlayer's Video.
Classes in the demo
The tutorial below explains the relationships between the classes in each folder.
- Content\NNEngineDemo\FacialCapture\Overview_FacialCapture.uasset
- Content\NNEngineDemo\MotionCapture_Bp\Overview_PoseEstimation.uasset
- Content\NNEngineDemo\MotionCapture_Cpp\Overview_PoseEstimation_Cpp.uasset
Implementation of the demo
The tutorial below explains the implementation.
- Content\NNEngineDemo\MotionCapture_Bp\Details_PoseEstimation.uasset