MixedRealityCompanionKit icon indicating copy to clipboard operation
MixedRealityCompanionKit copied to clipboard

SpectatorView Compositor OpenCVFrameProvider Concurrency

Open phlobo opened this issue 8 years ago • 0 comments

I am using OpenCVFrameProvider to take SpectatorView Videos with a GoPro Hero 5 Black and Razor Ripsaw Capture Card.

However, at FullHD and 30fps, the video stream in Unity is extremely choppy.

The reason seems to lie in the use of concurrency::create_task in OpenCVFrameProvider::Update(). If I change the code to just let the code in this method run synchronously, the video stream in unity is much smoother.

phlobo avatar Nov 09 '17 15:11 phlobo