-
-
Notifications
You must be signed in to change notification settings - Fork 27
Closed
Labels
Included in next releaseenhancementNew feature or enhancement requestNew feature or enhancement request
Description
Woops, didn't notice there was a 2.0 branch here, posted this on a fork.
Great project.
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.
Avasam
Metadata
Metadata
Assignees
Labels
Included in next releaseenhancementNew feature or enhancement requestNew feature or enhancement request