问题描述
我正在尝试将来自OpenMultiSourceFrameReader XAML示例的代码与Ben Lower的"FlappyArms"合并。几周前的VGB控制台示例。
I'm trying to merge code from a OpenMultiSourceFrameReader XAML example with Ben Lower's "FlappyArms" VGB console example from a few weeks ago.
我当前的Windows_Loaded方法如下所示:
My current Windows_Loaded method looks like this:
两个事件vgbr.FrameArrived和_reader.MultiSourceFrameArrived 被触发。 vgbr.FrameArrived事件arg始终为null。 Reader_MultiSourceFrameArrived工作正常。 我怀疑该行: vgbr = vgbfs.OpenReader();
不正确。
Both events vgbr.FrameArrived and _reader.MultiSourceFrameArrived are triggered. The vgbr.FrameArrived event arg is always null. The Reader_MultiSourceFrameArrived works fine. I suspect the line: vgbr = vgbfs.OpenReader(); is incorrect.
如果我已经打开传感器源,调用visualGestureBuilderFrameSource.OpenReader的正确方法是什么?
What is the correct way to call visualGestureBuilderFrameSource.OpenReader if I already have a sensor source open?
谢谢!
推荐答案
这篇关于使用MultiSourceFrameReader流初始化VisualGestureBuilderFrameReader的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!