Skip to content

How to take a picture with Hololens 2 and use the image as texture to create a photo you can hold in AR

Notifications You must be signed in to change notification settings

rderbier/Hololens-PictureSample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hololens-Picture Sample

This project shows how to use windows media capture in Hololens 2 to access the Camera, take picture and use the resulting image as a texture in Unity to create an augmented reality photograph.

Refer to Locatable camera info from Microsoft for details on the Device Camera.

Locatable camera in Unity provides the key API and sample scripts.

Dependencies

  • MRTK Foundation 2.3.0

Install

Open the project in Unity 2019.2.17f1

Import MRTK 2.3.0 Foundation.

Unity should ask to install Text Mesh Pro.

Verify that

  • 'App MixedRealitySpeechCommandsProfile' in CustomProfile folder contains the key word "Take Picture".
  • your build settings is correctly set for Hololens 2
  • The build contains the scene TakePictureScene

Build, deploy to Hololens 2 (through Visual Studio).

The App should request access to Camera and Microphone, accept !

Enjoy taking Picture by just saying "Take Picture"

Next Steps

  • Add a visor
  • Add annotation capability

About

How to take a picture with Hololens 2 and use the image as texture to create a photo you can hold in AR

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages