microsoft / MixedRealityCompanionKit

This is a MixedRealityToolkit style repository for code bits and components that may not run directly on Microsoft HoloLens or immersive headsets but instead pair with them to build experiences.
MIT License
591 stars 286 forks source link

HI,I have a problem about calibration. #324

Closed alnegod1 closed 5 years ago

alnegod1 commented 5 years ago

When I do calibration , my hololens can't take pictures, only the camera takes pictures. Why? 微信 05605

chrisfromwork commented 5 years ago

Hello,

Calibration.exe uses the mixed reality capture REST API to obtain HoloLens images. This typically is done via the device portal. Is your HoloLens plugged into your computer via usb? If so, can you access the device portal by typing 127.0.0.1:10080 into a web browser? You may need to setup the device portal (see https://docs.microsoft.com/en-us/windows/mixed-reality/using-the-windows-device-portal for more information). You may also need to make sure the correct username and password are set for your device here: https://github.com/Microsoft/MixedRealityCompanionKit/blob/efa41f37519aafa833ad0687d01a7375b4e94711/SpectatorView/Calibration/Calibration/stdafx.h#L15 https://github.com/Microsoft/MixedRealityCompanionKit/blob/efa41f37519aafa833ad0687d01a7375b4e94711/SpectatorView/Calibration/Calibration/stdafx.h#L16

If your HoloLens is not connected to your computer via usb, you will need to update its ip address here: https://github.com/Microsoft/MixedRealityCompanionKit/blob/efa41f37519aafa833ad0687d01a7375b4e94711/SpectatorView/Calibration/Calibration/stdafx.h#L14

alnegod1 commented 5 years ago

Yes,I had set it. 1553662934(1)

chrisfromwork commented 5 years ago

Is it possible to attach your HoloLens via USB and use 127.0.0.1:10080 as an address? It may be that a slow network connection results in the calibration app attempting to process the HoloLens PV camera image before it has been downloaded over the network.

alnegod1 commented 5 years ago

Thinks,it's OK.