Skip to content
This repository was archived by the owner on Apr 26, 2023. It is now read-only.
This repository was archived by the owner on Apr 26, 2023. It is now read-only.

A IDirect3DDevice Mediacapture alternative. #52

@Algomancer

Description

@Algomancer

Hey - great fork, just was floating around and noticed you are using the media capture work around for initialising a IDirect3DDevice.

Here is something if you want something that works even without a Capture Device connected and enabled. Save you some pain.

from winsdk.windows.ai.machinelearning import LearningModelDevice, LearningModelDeviceKind
device  = LearningModelDevice(LearningModelDeviceKind.DIRECT_X_HIGH_PERFORMANCE)

Doesn't require the media device.

Should be an easy change, enjoy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions