问题描述
var points = pc.Process(depthFrame).As<Points>();
//float depth = depthFrame.Getdistance(x,y);
//bBox = (287,23,86,320);
// We colorize the depth frame for visualization purposes
var colorizedDepth = colorizer.Process<VideoFrame>(depthFrame).disposeWith(frames);
//var org = Cv2.ImRead(colorFrame);
// copyVertices is extensible,any of these will do:
var vertices = new float[points.Count * 3];
// var vertices = new Intel.RealSense.Math.Vertex[points.Count];
// var vertices = new UnityEngine.Vector3[points.Count];
// var vertices = new System.Numerics.Vector3[points.Count]; // SIMD
// var vertices = new GlmSharp.vec3[points.Count];
// var vertices = new byte[points.Count * 3 * sizeof(float)];
points.copyVertices(vertices);
@H_502_4@
我通过将点云导出到一个层文件中并在之后使用helixtoolkit导入它来显示它,但这会显着降低程序速度。有没有一种更方便的方法可以根据英特尔Realsense代码显示点云?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)