Jean-Philippe Encausse
Jean-Philippe Encausse

Reputation: 1521

Azure Kinect Green Screen

I'm looking for sample code, or getting started to perform a "green screen" with the latest Azure Kinect DK.

Upvotes: 0

Views: 1753

Answers (2)

Tetyana Sych
Tetyana Sych

Reputation: 101

We just published the new Green screen code sample as part of our GitHub open source repo microsoft/Azure-Kinect-Sensor-SDK. You can find more information at green screen example

If you have any questions about the code, you can open GitHub issue.

Upvotes: 4

BlockHead
BlockHead

Reputation: 11

I just received my Azure Kinect device recently and have not yet tried a few things I am interested in so this reply comes not from direct experience, however sample code and the SDK's indicate there may be a viable approach.

You can always try to implement traditional color-recognition algorithms, but if your usage scenario allows it, you can use data from the depth camera to filter only data within a depth range, with the "green screen" being out of range. You can then correlate pixels from the depth camera to the RGB image data to pick out data from the color stream that is within a certain depth range. Also, the background does not have to be a real green screen, but rather just has to be outside of the filtered depth range.

This approach allows you to use the sensor SDK, not requiring the body tracking SDK and its associated GPU requirements.

Upvotes: 1

Related Questions