Created
March 23, 2020 06:57
-
-
Save universax/dc7007dc053dad51f6d6c72658265cbb to your computer and use it in GitHub Desktop.
azure kinectのデプスをCVdeファイルに書き出すメモ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Write to file | |
std::string rec_filename = "C:/Users/unive/Develop/kinect_data/depth/depth_" + std::to_string(framecount) + ".png"; | |
cv::imwrite(rec_filename, depth_mat, std::vector<int>(0)); | |
framecount++; | |
printf("frame: %d\n", framecount); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment