How to convert k4a::imge(k4a_image_t) to UTexture2D 1,u should Convert k4a::image to k4a_image_t; (k4a_image_t=k4a::image.handle()); 2, convert k4a_image_t to cv::Mat; 3, cv::Mat to UTexture2D; cv::Mat(rows, cols, CV_8UC4, (void*)buffer, cv::Mat::AUTO_STEP); 4,Convert Ka4::image to Texture2D use function k4a2Texture(k4a::image inImg)
-
Notifications
You must be signed in to change notification settings - Fork 0
VegetableWithChicken/Turn-different-types-of-images-into-Texture2D
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
convert k4a::image to Texture2D,convert k4a::image to cv::Mat;Convet Mat to Texture2D
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published