Skip to content

JohanSmet/kinect_webcam

Repository files navigation

KinectWebcam v0.1

A DirectShow capture filter that turns a Kinect v2 into a webcam.

Features

  • supports the Kinect v2 and the original Kinect
  • head-tracking
  • green screen (basic - more a gimmick than a feature)
  • 32bit and 64bit support
  • tested with:
    • Flash on Firefox, Chrome, and WaterFox (64-bit)
    • GraphStudioNext (32-bit and 64-bit)
    • Yahoo Messenger (yes, really)
  • Kinect v2 requires Windows 8+, original Kinect should work on older OS-versions (not tested).

Known Issues

  • Doesn't work with IE and Skype These only seem to detect WDM-drivers, not software DirectShow filter. TBI.

Binaries

Will be provided in the future.

Building

A CMake build file is provided and the Conan C/C++ package manager is to fetch dependencies. Visual Studio 2013 was used for development; newer should fine. Some C++11 features were used so it might not work with older versions.

Requirements :

Detailed instructions (assume msys2 or other source of posix utilities are installed):

# clone kinect webcam
git clone https://github.com/JohanSmet/kinect_webcam.git

# clone DirectShow Base Classes
git clone --depth 1 --filter=blob:none --sparse https://github.com/microsoft/Windows-classic-samples.git
git sparse-checkout set Samples/Win7Samples/multimedia/directshow/baseclasses
cp -a Windows-classic-samples\Samples\Win7Samples\multimedia\directshow\baseclasses kinect_webcam\strmbase

# prepare build directory
cd kinect_webcam
mkdir build && cd build
conan install .. -s build_type=Release
cd ..
cmake -B build -G "Visual Studio 16 2019" -A x64 -DENABLE_KINECT_V2=ON -DENABLE_KINECT_V2=ON

# build
cmake --build build --config Release
cmake --build build --config Release --target install

License

This Software is provided under the MIT-license. See LICENSE.txt in the main source directory or http://opensource.org/licenses/MIT for more details.

Contact

Maintainer : Johan Smet [email protected]

About

A DirectShow filter for the Microsoft Kinect v2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published