Hello everyone.

The Mixed Reality Forums here are no longer being used or maintained.

There are a few other places we would like to direct you to for support, both from Microsoft and from the community.

The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.

For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.

If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.

And always feel free to hit us up on Twitter @MxdRealityDev.
Options

MediaFrameReference Properties

Hi everyone,
I am currently experimenting with the Windows.Media.Capture API and I was browsing through the meta data of my MediaFrames, because I was searching for the Camera's Projection Matrix.
Therefore I printed all the GUIDs of the properties provided by the MediaFrameReference Object (https://docs.microsoft.com/en-us/uwp/api/windows.media.capture.frames.mediaframereference ; MediaFrameReference::Properties) and I found what is was searching.

However there were a lot more properties then I expected and I was wondering where do I find the according GUIDs?

Best regards
Dennis B.

PS.: the list of properties is:
Key: {8f3e35e7-2dcd-4887-8622-2a58baa652b0}
Key: {429f001f-bc30-4bac-af7f-91c024d1d974}
Key: {9d13c82f-2199-4e67-91cd-d1a4181f2534}
Key: {941ce0a3-6ae3-4dda-9a08-a64298340617}
Key: {6523775a-ba2d-405f-b2c5-01ff88e2e8f6}
Key: {66a3d7d5-f91b-42bb-ae55-b4db6f98fcd6}
Key: {0b404d45-3042-4f52-9ba5-b1dab2d02508}
Key: {c4139297-2cec-47c6-9cdf-6db62ee6df72}
Key: {9cdf01d9-a0f0-43ba-b077-eaa06cbd728a}
Key: {4e251fa4-830f-4770-859a-4b8d99aa809b}
Key: {137e6b95-4cad-4cb9-9b7f-65cef2068a41}
Key: {1d120ef0-cfc4-4e49-b64c-ddc371776022}
Key: {6b761658-b7ec-4c3b-8225-8623cabec31d}
Key: {47f9fcb5-2a02-4f26-a477-792fdf95886a}
Key: {9cdf01d8-a0f0-43ba-b077-eaa06cbd728a}
Key: {4ee3b6c5-6a15-4e72-9761-70c1db8b9fe3}
Key: {c9ba19a9-0f8a-432f-aede-ba44d7f38ab7}
Key: {b1d5830a-deb8-40e3-90fa-389943716461}

Best Answer

Answers

  • Options

    With the above statement being said, if you're looking for the camera intrinsics, that depends on the source kind. If it's a ColorFrame, then access the ColorFrame using the trygettlatestframe(), and then you can access the cameraintrinsics property to get the matrix if the source frame supports this.

    Dwight Goins
    CAO & Founder| Independent Architect | Trainer and Consultant | Sr. Enterprise Architect
    MVP | MCT | MCSD | MCPD | SharePoint TS | MS Virtual TS |Windows 8 App Store Developer | Linux Gentoo Geek | Raspberry Pi Owner | Micro .Net Developer | Kinect For Windows Device Developer
    http://dgoins.wordpress.com

  • Options

    Thank you, that kinda works. Some I cannot find at all.
    However its very unfortunate that it is not documented :neutral:

Sign In or Register to comment.