d3130496e6 | ||
---|---|---|
.. | ||
3rdparty | ||
.gitignore | ||
CMakeLists.txt | ||
README.md | ||
main.cpp |
README.md
Kinect Mask Generator
Command line tool to generate body mask images from an Azure Kinect video. It also generates a PTS (presentation time stamp) file that can be consumed by ffmpeg to create an alpha video.
Requirements
- OpenCV 4.3.0
- Download OpenCV 4.3.0
- Install on 3rdparty/opencv directory
- Add to Path
[ROOT]\3rdparty\opencv\build\x64\vc15\bin
- Azure Kinect SDK 1.4.0
- Download and install
- Add to
PATH
the bin folderC:\Program Files\Azure Kinect SDK v1.4.0\sdk\windows-desktop\amd64\release\bin
- Azure Kinect Body Traking SDK 1.0.1
- Download and install
- Add to
PATH
the bin folderC:\Program Files\Azure Kinect Body Tracking SDK\sdk\windows-desktop\amd64\release\bin
Build
The project uses CMake
Usage
./build/KinectmaskGenerator.exe VIDEO_INPUT_PATH MASK_OUTPUT_PATH START DURATION [COLOR_IMG_SUFFIX]
START
andDURATION
are specified in seconds- Set
DURATION
to-1
to process the video until the end - If
COLOR_IMG_SUFFIX
is set, it also generates color images with the suffix provided