We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6027bda commit faad764Copy full SHA for faad764
src/sc.cpp
@@ -238,7 +238,7 @@ struct SessionDelegate : ST::CaptureSessionDelegate {
238
for(int x = 0; x < depthFrame.width(); x++)
239
{
240
std::size_t pixelOffset = (y * depthFrame.width()) + x;
241
- img.at<float>(y, x) = buf[pixelOffset];
+ img.at<float>(y, x) = buf[pixelOffset] * 0.001f;
242
}
243
244
0 commit comments