Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

ofxKinectForWindows2 DepthKey Resolution

$
0
0

@eightlines wrote:

Just wondering if someone can explain the Depth Key resolution in ofxKinectForWindows2 addon. The Depth Camera is 512x424px and the Color Camera is 1920x1080px. In the addon, a MapDepthToColor method exists but the example only outputs an end result of 512x424px. Is it possible to map from the Depth Camera size to a higher resolution Colour Camera depth key?

What I've tried:
- In this example, foregroundimg is being allocated at the Depth width and Height. I've adjusted this to allocate to the Color size as well as OF_IMAGE_COLOR_ALPHA
- colorCoords resized to Colour width * height
- coordinateMapper->MapDepthFrameToColorSpace the last two params use the Color size and Coords instead of Depth
- mappedCoord always seems to floor to 0.

System:
- Win 10 Pro
- VS 2015
- oF Nightly 2017/02/15
- ofxKinectForWindows2 updated Mar 20

Any advice would be appreciated.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles