diff --git a/src/sc.cpp b/src/sc.cpp index c7a0e04..a1c4e42 100644 --- a/src/sc.cpp +++ b/src/sc.cpp @@ -238,7 +238,7 @@ struct SessionDelegate : ST::CaptureSessionDelegate { for(int x = 0; x < depthFrame.width(); x++) { std::size_t pixelOffset = (y * depthFrame.width()) + x; - img.at(y, x) = buf[pixelOffset]; + img.at(y, x) = buf[pixelOffset] * 0.001f; } }