microsoft / MixedRealityToolkit-Unity

This repository is for the legacy Mixed Reality Toolkit (MRTK) v2. For the latest version of the MRTK please visit https://github.com/MixedRealityToolkit/MixedRealityToolkit-Unity
https://aka.ms/mrtkdocs
MIT License
6.01k stars 2.12k forks source link

provide example for how to do video and photo capture in mrtk #5276

Closed julenka closed 5 years ago

julenka commented 5 years ago

Overview

A customer is having trouble doing video capture on HoloLens. They were looking for code to copy. It would be nice to provide an example for how to do photo and video capture in the MRTK examples package.

Troy-Ferrell commented 5 years ago

@julenka I would be wary of creating too much. There is already existing documentation with pretty good amount of how-to code: https://docs.microsoft.com/en-us/windows/mixed-reality/locatable-camera-in-unity https://docs.microsoft.com/en-us/windows/mixed-reality/locatable-camera https://docs.unity3d.com/Manual/windowsholographic-photocapture.html https://docs.unity3d.com/Manual/windowsholographic-videocapture.html

I think it would be more interesting to have an example of how to use an opencv plugin in Unity/HL. That is much harder to accomplish to create one's own native plugin and then ingest properly with Unity. We have this example but it hasn't been updated for HL2: https://github.com/microsoft/MixedRealityCompanionKit/tree/master/PosterCalibrationSample

Yoyozilla commented 5 years ago

I think this would be a good candidate for community member if they are interested.

wiwei commented 5 years ago

Actually closing this one out - I agree with @Troy-Ferrell in that we shouldn't duplicate efforts here in terms of doing video/photo capture (i.e. if I google "unity hololens video capture" it literally brings you to a unity page that tells you how to do it).