win32more-Microsoft.WindowsAppSDK 0.7.1.7.250401001__tar.gz → 0.7.1.7.250513003__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of win32more-Microsoft.WindowsAppSDK might be problematic. Click here for more details.
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/PKG-INFO +1 -1
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/pyproject.toml +1 -1
- win32more_microsoft_windowsappsdk-0.7.1.7.250513003/src/win32more/Microsoft/Graphics/Imaging/__init__.py +77 -0
- win32more_microsoft_windowsappsdk-0.7.1.7.250513003/src/win32more/Microsoft/Windows/AI/ContentSafety/__init__.py +197 -0
- win32more_microsoft_windowsappsdk-0.7.1.7.250513003/src/win32more/Microsoft/Windows/AI/Imaging/__init__.py +330 -0
- win32more_microsoft_windowsappsdk-0.7.1.7.250513003/src/win32more/Microsoft/Windows/AI/Text/__init__.py +261 -0
- win32more_microsoft_windowsappsdk-0.7.1.7.250513003/src/win32more/Microsoft/Windows/AI/__init__.py +49 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/Windows/ApplicationModel/WindowsAppRuntime/__init__.py +3 -0
- win32more_microsoft_windowsappsdk-0.7.1.7.250513003/src/win32more/Microsoft/Windows/Workloads/__init__.py +11 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/appsdk/versioninfo.py +1 -1
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/dll/arm64/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/dll/arm64/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/dll/x64/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/dll/x64/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/dll/x86/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/dll/x86/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/.gitignore +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/LICENSE (Microsoft.WindowsAppSDK).txt +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/Foundation/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/Graphics/DirectX/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/Graphics/Display/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/Security/Authentication/OAuth/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/UI/Composition/Core/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/UI/Composition/Diagnostics/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/UI/Composition/Effects/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/UI/Composition/Interactions/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/UI/Composition/Scenes/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/UI/Composition/SystemBackdrops/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/UI/Composition/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/UI/Content/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/UI/Dispatching/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/UI/Input/DragDrop/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/UI/Input/Interop/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/UI/Input/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/UI/System/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/UI/Text/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/UI/Windowing/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/UI/Xaml/Automation/Peers/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/UI/Xaml/Automation/Provider/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/UI/Xaml/Automation/Text/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/UI/Xaml/Automation/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/UI/Xaml/Controls/AnimatedVisuals/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/UI/Xaml/Controls/Primitives/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/UI/Xaml/Controls/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/UI/Xaml/Data/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/UI/Xaml/Documents/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/UI/Xaml/Hosting/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/UI/Xaml/Input/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/UI/Xaml/Interop/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/UI/Xaml/Markup/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/UI/Xaml/Media/Animation/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/UI/Xaml/Media/Imaging/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/UI/Xaml/Media/Media3D/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/UI/Xaml/Media/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/UI/Xaml/Navigation/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/UI/Xaml/Printing/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/UI/Xaml/Resources/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/UI/Xaml/Shapes/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/UI/Xaml/XamlTypeInfo/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/UI/Xaml/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/UI/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/Windows/AppLifecycle/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/Windows/AppNotifications/Builder/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/Windows/AppNotifications/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/Windows/ApplicationModel/Background/UniversalBGTask/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/Windows/ApplicationModel/Background/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/Windows/ApplicationModel/DynamicDependency/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/Windows/ApplicationModel/Resources/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/Windows/BadgeNotifications/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/Windows/Globalization/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/Windows/Management/Deployment/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/Windows/Media/Capture/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/Windows/PushNotifications/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/Windows/Security/AccessControl/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/Windows/Storage/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/Windows/System/Power/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/Windows/System/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/Windows/Widgets/Feeds/Providers/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/Windows/Widgets/Notifications/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/Windows/Widgets/Providers/__init__.py +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001 → win32more_microsoft_windowsappsdk-0.7.1.7.250513003}/src/win32more/Microsoft/Windows/Widgets/__init__.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: win32more-Microsoft.WindowsAppSDK
|
|
3
|
-
Version: 0.7.1.7.
|
|
3
|
+
Version: 0.7.1.7.250513003
|
|
4
4
|
License-File: LICENSE (Microsoft.WindowsAppSDK).txt
|
|
5
5
|
Requires-Dist: win32more-core==0.7.*
|
|
6
6
|
Requires-Dist: win32more-microsoft-web-webview2<0.8,>=0.7.1.0.2903.40
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
from win32more._prelude import *
|
|
3
|
+
import win32more.Microsoft.Graphics.Imaging
|
|
4
|
+
import win32more.Windows.Foundation
|
|
5
|
+
import win32more.Windows.Graphics.Imaging
|
|
6
|
+
import win32more.Windows.Storage.Streams
|
|
7
|
+
class IImageBuffer(ComPtr):
|
|
8
|
+
extends: IInspectable
|
|
9
|
+
_classid_ = 'Microsoft.Graphics.Imaging.IImageBuffer'
|
|
10
|
+
_iid_ = Guid('{3baabd0b-1854-51f1-bd2a-74c87858f461}')
|
|
11
|
+
@winrt_commethod(6)
|
|
12
|
+
def get_Buffer(self) -> win32more.Windows.Storage.Streams.IBuffer: ...
|
|
13
|
+
@winrt_commethod(7)
|
|
14
|
+
def get_PixelFormat(self) -> win32more.Microsoft.Graphics.Imaging.ImageBufferPixelFormat: ...
|
|
15
|
+
@winrt_commethod(8)
|
|
16
|
+
def get_PixelHeight(self) -> Int32: ...
|
|
17
|
+
@winrt_commethod(9)
|
|
18
|
+
def get_PixelWidth(self) -> Int32: ...
|
|
19
|
+
@winrt_commethod(10)
|
|
20
|
+
def get_RowStride(self) -> Int32: ...
|
|
21
|
+
@winrt_commethod(11)
|
|
22
|
+
def CopyToByteArray(self, values: FillArray[Byte]) -> Void: ...
|
|
23
|
+
@winrt_commethod(12)
|
|
24
|
+
def CopyToSoftwareBitmap(self) -> win32more.Windows.Graphics.Imaging.SoftwareBitmap: ...
|
|
25
|
+
Buffer = property(get_Buffer, None)
|
|
26
|
+
PixelFormat = property(get_PixelFormat, None)
|
|
27
|
+
PixelHeight = property(get_PixelHeight, None)
|
|
28
|
+
PixelWidth = property(get_PixelWidth, None)
|
|
29
|
+
RowStride = property(get_RowStride, None)
|
|
30
|
+
class IImageBufferStatics(ComPtr):
|
|
31
|
+
extends: IInspectable
|
|
32
|
+
_classid_ = 'Microsoft.Graphics.Imaging.IImageBufferStatics'
|
|
33
|
+
_iid_ = Guid('{35b17bd3-f346-529f-8c0f-3bf96c56eb13}')
|
|
34
|
+
@winrt_commethod(6)
|
|
35
|
+
def CreateForBuffer(self, buffer: win32more.Windows.Storage.Streams.IBuffer, pixelFormat: win32more.Microsoft.Graphics.Imaging.ImageBufferPixelFormat, width: Int32, height: Int32, rowStride: Int32) -> win32more.Microsoft.Graphics.Imaging.ImageBuffer: ...
|
|
36
|
+
@winrt_commethod(7)
|
|
37
|
+
def CreateForSoftwareBitmap(self, softwareBitmap: win32more.Windows.Graphics.Imaging.SoftwareBitmap) -> win32more.Microsoft.Graphics.Imaging.ImageBuffer: ...
|
|
38
|
+
class ImageBuffer(ComPtr):
|
|
39
|
+
extends: IInspectable
|
|
40
|
+
implements: Tuple[ContextManagerProtocol]
|
|
41
|
+
default_interface: win32more.Microsoft.Graphics.Imaging.IImageBuffer
|
|
42
|
+
_classid_ = 'Microsoft.Graphics.Imaging.ImageBuffer'
|
|
43
|
+
@winrt_mixinmethod
|
|
44
|
+
def get_Buffer(self: win32more.Microsoft.Graphics.Imaging.IImageBuffer) -> win32more.Windows.Storage.Streams.IBuffer: ...
|
|
45
|
+
@winrt_mixinmethod
|
|
46
|
+
def get_PixelFormat(self: win32more.Microsoft.Graphics.Imaging.IImageBuffer) -> win32more.Microsoft.Graphics.Imaging.ImageBufferPixelFormat: ...
|
|
47
|
+
@winrt_mixinmethod
|
|
48
|
+
def get_PixelHeight(self: win32more.Microsoft.Graphics.Imaging.IImageBuffer) -> Int32: ...
|
|
49
|
+
@winrt_mixinmethod
|
|
50
|
+
def get_PixelWidth(self: win32more.Microsoft.Graphics.Imaging.IImageBuffer) -> Int32: ...
|
|
51
|
+
@winrt_mixinmethod
|
|
52
|
+
def get_RowStride(self: win32more.Microsoft.Graphics.Imaging.IImageBuffer) -> Int32: ...
|
|
53
|
+
@winrt_mixinmethod
|
|
54
|
+
def CopyToByteArray(self: win32more.Microsoft.Graphics.Imaging.IImageBuffer, values: FillArray[Byte]) -> Void: ...
|
|
55
|
+
@winrt_mixinmethod
|
|
56
|
+
def CopyToSoftwareBitmap(self: win32more.Microsoft.Graphics.Imaging.IImageBuffer) -> win32more.Windows.Graphics.Imaging.SoftwareBitmap: ...
|
|
57
|
+
@winrt_mixinmethod
|
|
58
|
+
def Close(self: win32more.Windows.Foundation.IClosable) -> Void: ...
|
|
59
|
+
@winrt_classmethod
|
|
60
|
+
def CreateForBuffer(cls: win32more.Microsoft.Graphics.Imaging.IImageBufferStatics, buffer: win32more.Windows.Storage.Streams.IBuffer, pixelFormat: win32more.Microsoft.Graphics.Imaging.ImageBufferPixelFormat, width: Int32, height: Int32, rowStride: Int32) -> win32more.Microsoft.Graphics.Imaging.ImageBuffer: ...
|
|
61
|
+
@winrt_classmethod
|
|
62
|
+
def CreateForSoftwareBitmap(cls: win32more.Microsoft.Graphics.Imaging.IImageBufferStatics, softwareBitmap: win32more.Windows.Graphics.Imaging.SoftwareBitmap) -> win32more.Microsoft.Graphics.Imaging.ImageBuffer: ...
|
|
63
|
+
Buffer = property(get_Buffer, None)
|
|
64
|
+
PixelFormat = property(get_PixelFormat, None)
|
|
65
|
+
PixelHeight = property(get_PixelHeight, None)
|
|
66
|
+
PixelWidth = property(get_PixelWidth, None)
|
|
67
|
+
RowStride = property(get_RowStride, None)
|
|
68
|
+
ImageBufferContract: UInt32 = 65536
|
|
69
|
+
class ImageBufferPixelFormat(Enum, Int32):
|
|
70
|
+
Rgb8 = 137224
|
|
71
|
+
Rgba8 = 30
|
|
72
|
+
Argb8 = 2498570
|
|
73
|
+
Bgra8 = 87
|
|
74
|
+
Gray8 = 62
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
make_ready(__name__)
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
from win32more._prelude import *
|
|
3
|
+
import win32more.Microsoft.Windows.AI.ContentSafety
|
|
4
|
+
class ContentFilterOptions(ComPtr):
|
|
5
|
+
extends: IInspectable
|
|
6
|
+
default_interface: win32more.Microsoft.Windows.AI.ContentSafety.IContentFilterOptions
|
|
7
|
+
_classid_ = 'Microsoft.Windows.AI.ContentSafety.ContentFilterOptions'
|
|
8
|
+
def __init__(self, *args, **kwargs):
|
|
9
|
+
if kwargs:
|
|
10
|
+
super().__init__(**kwargs)
|
|
11
|
+
elif len(args) == 0:
|
|
12
|
+
super().__init__(move=win32more.Microsoft.Windows.AI.ContentSafety.ContentFilterOptions.CreateInstance(*args))
|
|
13
|
+
else:
|
|
14
|
+
raise ValueError('no matched constructor')
|
|
15
|
+
@winrt_activatemethod
|
|
16
|
+
def CreateInstance(cls) -> win32more.Microsoft.Windows.AI.ContentSafety.ContentFilterOptions: ...
|
|
17
|
+
@winrt_mixinmethod
|
|
18
|
+
def get_PromptMaxAllowedSeverityLevel(self: win32more.Microsoft.Windows.AI.ContentSafety.IContentFilterOptions) -> win32more.Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity: ...
|
|
19
|
+
@winrt_mixinmethod
|
|
20
|
+
def put_PromptMaxAllowedSeverityLevel(self: win32more.Microsoft.Windows.AI.ContentSafety.IContentFilterOptions, value: win32more.Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity) -> Void: ...
|
|
21
|
+
@winrt_mixinmethod
|
|
22
|
+
def get_ResponseMaxAllowedSeverityLevel(self: win32more.Microsoft.Windows.AI.ContentSafety.IContentFilterOptions) -> win32more.Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity: ...
|
|
23
|
+
@winrt_mixinmethod
|
|
24
|
+
def put_ResponseMaxAllowedSeverityLevel(self: win32more.Microsoft.Windows.AI.ContentSafety.IContentFilterOptions, value: win32more.Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity) -> Void: ...
|
|
25
|
+
@winrt_mixinmethod
|
|
26
|
+
def get_ImageMaxAllowedSeverityLevel(self: win32more.Microsoft.Windows.AI.ContentSafety.IContentFilterOptions) -> win32more.Microsoft.Windows.AI.ContentSafety.ImageContentFilterSeverity: ...
|
|
27
|
+
@winrt_mixinmethod
|
|
28
|
+
def put_ImageMaxAllowedSeverityLevel(self: win32more.Microsoft.Windows.AI.ContentSafety.IContentFilterOptions, value: win32more.Microsoft.Windows.AI.ContentSafety.ImageContentFilterSeverity) -> Void: ...
|
|
29
|
+
ImageMaxAllowedSeverityLevel = property(get_ImageMaxAllowedSeverityLevel, put_ImageMaxAllowedSeverityLevel)
|
|
30
|
+
PromptMaxAllowedSeverityLevel = property(get_PromptMaxAllowedSeverityLevel, put_PromptMaxAllowedSeverityLevel)
|
|
31
|
+
ResponseMaxAllowedSeverityLevel = property(get_ResponseMaxAllowedSeverityLevel, put_ResponseMaxAllowedSeverityLevel)
|
|
32
|
+
ContentSafetyContract: UInt32 = 65536
|
|
33
|
+
class IContentFilterOptions(ComPtr):
|
|
34
|
+
extends: IInspectable
|
|
35
|
+
_classid_ = 'Microsoft.Windows.AI.ContentSafety.IContentFilterOptions'
|
|
36
|
+
_iid_ = Guid('{6808be9f-80d2-5136-8a8a-1f5c52c824ad}')
|
|
37
|
+
@winrt_commethod(6)
|
|
38
|
+
def get_PromptMaxAllowedSeverityLevel(self) -> win32more.Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity: ...
|
|
39
|
+
@winrt_commethod(7)
|
|
40
|
+
def put_PromptMaxAllowedSeverityLevel(self, value: win32more.Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity) -> Void: ...
|
|
41
|
+
@winrt_commethod(8)
|
|
42
|
+
def get_ResponseMaxAllowedSeverityLevel(self) -> win32more.Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity: ...
|
|
43
|
+
@winrt_commethod(9)
|
|
44
|
+
def put_ResponseMaxAllowedSeverityLevel(self, value: win32more.Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity) -> Void: ...
|
|
45
|
+
@winrt_commethod(10)
|
|
46
|
+
def get_ImageMaxAllowedSeverityLevel(self) -> win32more.Microsoft.Windows.AI.ContentSafety.ImageContentFilterSeverity: ...
|
|
47
|
+
@winrt_commethod(11)
|
|
48
|
+
def put_ImageMaxAllowedSeverityLevel(self, value: win32more.Microsoft.Windows.AI.ContentSafety.ImageContentFilterSeverity) -> Void: ...
|
|
49
|
+
ImageMaxAllowedSeverityLevel = property(get_ImageMaxAllowedSeverityLevel, put_ImageMaxAllowedSeverityLevel)
|
|
50
|
+
PromptMaxAllowedSeverityLevel = property(get_PromptMaxAllowedSeverityLevel, put_PromptMaxAllowedSeverityLevel)
|
|
51
|
+
ResponseMaxAllowedSeverityLevel = property(get_ResponseMaxAllowedSeverityLevel, put_ResponseMaxAllowedSeverityLevel)
|
|
52
|
+
class IImageContentFilterSeverity(ComPtr):
|
|
53
|
+
extends: IInspectable
|
|
54
|
+
_classid_ = 'Microsoft.Windows.AI.ContentSafety.IImageContentFilterSeverity'
|
|
55
|
+
_iid_ = Guid('{f1563582-c66a-5861-9995-1440b05191ac}')
|
|
56
|
+
@winrt_commethod(6)
|
|
57
|
+
def get_AdultContentLevel(self) -> win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel: ...
|
|
58
|
+
@winrt_commethod(7)
|
|
59
|
+
def put_AdultContentLevel(self, value: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> Void: ...
|
|
60
|
+
@winrt_commethod(8)
|
|
61
|
+
def get_RacyContentLevel(self) -> win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel: ...
|
|
62
|
+
@winrt_commethod(9)
|
|
63
|
+
def put_RacyContentLevel(self, value: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> Void: ...
|
|
64
|
+
@winrt_commethod(10)
|
|
65
|
+
def get_GoryContentLevel(self) -> win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel: ...
|
|
66
|
+
@winrt_commethod(11)
|
|
67
|
+
def put_GoryContentLevel(self, value: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> Void: ...
|
|
68
|
+
@winrt_commethod(12)
|
|
69
|
+
def get_ViolentContentLevel(self) -> win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel: ...
|
|
70
|
+
@winrt_commethod(13)
|
|
71
|
+
def put_ViolentContentLevel(self, value: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> Void: ...
|
|
72
|
+
AdultContentLevel = property(get_AdultContentLevel, put_AdultContentLevel)
|
|
73
|
+
GoryContentLevel = property(get_GoryContentLevel, put_GoryContentLevel)
|
|
74
|
+
RacyContentLevel = property(get_RacyContentLevel, put_RacyContentLevel)
|
|
75
|
+
ViolentContentLevel = property(get_ViolentContentLevel, put_ViolentContentLevel)
|
|
76
|
+
class IImageContentFilterSeverityFactory(ComPtr):
|
|
77
|
+
extends: IInspectable
|
|
78
|
+
_classid_ = 'Microsoft.Windows.AI.ContentSafety.IImageContentFilterSeverityFactory'
|
|
79
|
+
_iid_ = Guid('{ead11457-81b1-5b81-9ca3-c5b04b4df043}')
|
|
80
|
+
@winrt_commethod(6)
|
|
81
|
+
def CreateInstance(self, severityForALlCategories: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> win32more.Microsoft.Windows.AI.ContentSafety.ImageContentFilterSeverity: ...
|
|
82
|
+
class ITextContentFilterSeverity(ComPtr):
|
|
83
|
+
extends: IInspectable
|
|
84
|
+
_classid_ = 'Microsoft.Windows.AI.ContentSafety.ITextContentFilterSeverity'
|
|
85
|
+
_iid_ = Guid('{68c1ee47-c35c-5f4c-a647-b0c0f64aa0d5}')
|
|
86
|
+
@winrt_commethod(6)
|
|
87
|
+
def get_Hate(self) -> win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel: ...
|
|
88
|
+
@winrt_commethod(7)
|
|
89
|
+
def put_Hate(self, value: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> Void: ...
|
|
90
|
+
@winrt_commethod(8)
|
|
91
|
+
def get_Sexual(self) -> win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel: ...
|
|
92
|
+
@winrt_commethod(9)
|
|
93
|
+
def put_Sexual(self, value: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> Void: ...
|
|
94
|
+
@winrt_commethod(10)
|
|
95
|
+
def get_Violent(self) -> win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel: ...
|
|
96
|
+
@winrt_commethod(11)
|
|
97
|
+
def put_Violent(self, value: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> Void: ...
|
|
98
|
+
@winrt_commethod(12)
|
|
99
|
+
def get_SelfHarm(self) -> win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel: ...
|
|
100
|
+
@winrt_commethod(13)
|
|
101
|
+
def put_SelfHarm(self, value: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> Void: ...
|
|
102
|
+
Hate = property(get_Hate, put_Hate)
|
|
103
|
+
SelfHarm = property(get_SelfHarm, put_SelfHarm)
|
|
104
|
+
Sexual = property(get_Sexual, put_Sexual)
|
|
105
|
+
Violent = property(get_Violent, put_Violent)
|
|
106
|
+
class ITextContentFilterSeverityFactory(ComPtr):
|
|
107
|
+
extends: IInspectable
|
|
108
|
+
_classid_ = 'Microsoft.Windows.AI.ContentSafety.ITextContentFilterSeverityFactory'
|
|
109
|
+
_iid_ = Guid('{e0ca501e-4004-501e-8984-442d091607d4}')
|
|
110
|
+
@winrt_commethod(6)
|
|
111
|
+
def CreateInstance(self, severityForAllCategories: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> win32more.Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity: ...
|
|
112
|
+
class ImageContentFilterSeverity(ComPtr):
|
|
113
|
+
extends: IInspectable
|
|
114
|
+
default_interface: win32more.Microsoft.Windows.AI.ContentSafety.IImageContentFilterSeverity
|
|
115
|
+
_classid_ = 'Microsoft.Windows.AI.ContentSafety.ImageContentFilterSeverity'
|
|
116
|
+
def __init__(self, *args, **kwargs):
|
|
117
|
+
if kwargs:
|
|
118
|
+
super().__init__(**kwargs)
|
|
119
|
+
elif len(args) == 0:
|
|
120
|
+
super().__init__(move=win32more.Microsoft.Windows.AI.ContentSafety.ImageContentFilterSeverity.CreateInstance(*args))
|
|
121
|
+
elif len(args) == 1:
|
|
122
|
+
super().__init__(move=win32more.Microsoft.Windows.AI.ContentSafety.ImageContentFilterSeverity.CreateInstance(*args))
|
|
123
|
+
else:
|
|
124
|
+
raise ValueError('no matched constructor')
|
|
125
|
+
@winrt_overload
|
|
126
|
+
@winrt_activatemethod
|
|
127
|
+
def CreateInstance(cls) -> win32more.Microsoft.Windows.AI.ContentSafety.ImageContentFilterSeverity: ...
|
|
128
|
+
@CreateInstance.register
|
|
129
|
+
@winrt_factorymethod
|
|
130
|
+
def CreateInstance(cls: win32more.Microsoft.Windows.AI.ContentSafety.IImageContentFilterSeverityFactory, severityForALlCategories: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> win32more.Microsoft.Windows.AI.ContentSafety.ImageContentFilterSeverity: ...
|
|
131
|
+
@winrt_mixinmethod
|
|
132
|
+
def get_AdultContentLevel(self: win32more.Microsoft.Windows.AI.ContentSafety.IImageContentFilterSeverity) -> win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel: ...
|
|
133
|
+
@winrt_mixinmethod
|
|
134
|
+
def put_AdultContentLevel(self: win32more.Microsoft.Windows.AI.ContentSafety.IImageContentFilterSeverity, value: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> Void: ...
|
|
135
|
+
@winrt_mixinmethod
|
|
136
|
+
def get_RacyContentLevel(self: win32more.Microsoft.Windows.AI.ContentSafety.IImageContentFilterSeverity) -> win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel: ...
|
|
137
|
+
@winrt_mixinmethod
|
|
138
|
+
def put_RacyContentLevel(self: win32more.Microsoft.Windows.AI.ContentSafety.IImageContentFilterSeverity, value: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> Void: ...
|
|
139
|
+
@winrt_mixinmethod
|
|
140
|
+
def get_GoryContentLevel(self: win32more.Microsoft.Windows.AI.ContentSafety.IImageContentFilterSeverity) -> win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel: ...
|
|
141
|
+
@winrt_mixinmethod
|
|
142
|
+
def put_GoryContentLevel(self: win32more.Microsoft.Windows.AI.ContentSafety.IImageContentFilterSeverity, value: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> Void: ...
|
|
143
|
+
@winrt_mixinmethod
|
|
144
|
+
def get_ViolentContentLevel(self: win32more.Microsoft.Windows.AI.ContentSafety.IImageContentFilterSeverity) -> win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel: ...
|
|
145
|
+
@winrt_mixinmethod
|
|
146
|
+
def put_ViolentContentLevel(self: win32more.Microsoft.Windows.AI.ContentSafety.IImageContentFilterSeverity, value: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> Void: ...
|
|
147
|
+
AdultContentLevel = property(get_AdultContentLevel, put_AdultContentLevel)
|
|
148
|
+
GoryContentLevel = property(get_GoryContentLevel, put_GoryContentLevel)
|
|
149
|
+
RacyContentLevel = property(get_RacyContentLevel, put_RacyContentLevel)
|
|
150
|
+
ViolentContentLevel = property(get_ViolentContentLevel, put_ViolentContentLevel)
|
|
151
|
+
class SeverityLevel(Enum, Int32):
|
|
152
|
+
Minimum = 10
|
|
153
|
+
Low = 11
|
|
154
|
+
Medium = 12
|
|
155
|
+
High = 13
|
|
156
|
+
class TextContentFilterSeverity(ComPtr):
|
|
157
|
+
extends: IInspectable
|
|
158
|
+
default_interface: win32more.Microsoft.Windows.AI.ContentSafety.ITextContentFilterSeverity
|
|
159
|
+
_classid_ = 'Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity'
|
|
160
|
+
def __init__(self, *args, **kwargs):
|
|
161
|
+
if kwargs:
|
|
162
|
+
super().__init__(**kwargs)
|
|
163
|
+
elif len(args) == 0:
|
|
164
|
+
super().__init__(move=win32more.Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity.CreateInstance(*args))
|
|
165
|
+
elif len(args) == 1:
|
|
166
|
+
super().__init__(move=win32more.Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity.CreateInstance(*args))
|
|
167
|
+
else:
|
|
168
|
+
raise ValueError('no matched constructor')
|
|
169
|
+
@winrt_overload
|
|
170
|
+
@winrt_activatemethod
|
|
171
|
+
def CreateInstance(cls) -> win32more.Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity: ...
|
|
172
|
+
@CreateInstance.register
|
|
173
|
+
@winrt_factorymethod
|
|
174
|
+
def CreateInstance(cls: win32more.Microsoft.Windows.AI.ContentSafety.ITextContentFilterSeverityFactory, severityForAllCategories: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> win32more.Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity: ...
|
|
175
|
+
@winrt_mixinmethod
|
|
176
|
+
def get_Hate(self: win32more.Microsoft.Windows.AI.ContentSafety.ITextContentFilterSeverity) -> win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel: ...
|
|
177
|
+
@winrt_mixinmethod
|
|
178
|
+
def put_Hate(self: win32more.Microsoft.Windows.AI.ContentSafety.ITextContentFilterSeverity, value: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> Void: ...
|
|
179
|
+
@winrt_mixinmethod
|
|
180
|
+
def get_Sexual(self: win32more.Microsoft.Windows.AI.ContentSafety.ITextContentFilterSeverity) -> win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel: ...
|
|
181
|
+
@winrt_mixinmethod
|
|
182
|
+
def put_Sexual(self: win32more.Microsoft.Windows.AI.ContentSafety.ITextContentFilterSeverity, value: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> Void: ...
|
|
183
|
+
@winrt_mixinmethod
|
|
184
|
+
def get_Violent(self: win32more.Microsoft.Windows.AI.ContentSafety.ITextContentFilterSeverity) -> win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel: ...
|
|
185
|
+
@winrt_mixinmethod
|
|
186
|
+
def put_Violent(self: win32more.Microsoft.Windows.AI.ContentSafety.ITextContentFilterSeverity, value: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> Void: ...
|
|
187
|
+
@winrt_mixinmethod
|
|
188
|
+
def get_SelfHarm(self: win32more.Microsoft.Windows.AI.ContentSafety.ITextContentFilterSeverity) -> win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel: ...
|
|
189
|
+
@winrt_mixinmethod
|
|
190
|
+
def put_SelfHarm(self: win32more.Microsoft.Windows.AI.ContentSafety.ITextContentFilterSeverity, value: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> Void: ...
|
|
191
|
+
Hate = property(get_Hate, put_Hate)
|
|
192
|
+
SelfHarm = property(get_SelfHarm, put_SelfHarm)
|
|
193
|
+
Sexual = property(get_Sexual, put_Sexual)
|
|
194
|
+
Violent = property(get_Violent, put_Violent)
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
make_ready(__name__)
|
|
@@ -0,0 +1,330 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
from win32more._prelude import *
|
|
3
|
+
import win32more.Microsoft.Graphics.Imaging
|
|
4
|
+
import win32more.Microsoft.Windows.AI
|
|
5
|
+
import win32more.Microsoft.Windows.AI.ContentSafety
|
|
6
|
+
import win32more.Microsoft.Windows.AI.Imaging
|
|
7
|
+
import win32more.Windows.Foundation
|
|
8
|
+
import win32more.Windows.Foundation.Collections
|
|
9
|
+
import win32more.Windows.Graphics
|
|
10
|
+
import win32more.Windows.Graphics.Imaging
|
|
11
|
+
class IImageDescriptionGenerator(ComPtr):
|
|
12
|
+
extends: IInspectable
|
|
13
|
+
_classid_ = 'Microsoft.Windows.AI.Imaging.IImageDescriptionGenerator'
|
|
14
|
+
_iid_ = Guid('{576b989e-9829-5682-91b0-a7110fa7d51e}')
|
|
15
|
+
@winrt_commethod(6)
|
|
16
|
+
def DescribeAsync(self, image: win32more.Microsoft.Graphics.Imaging.ImageBuffer, kind: win32more.Microsoft.Windows.AI.Imaging.ImageDescriptionKind, contentFilterOptions: win32more.Microsoft.Windows.AI.ContentSafety.ContentFilterOptions) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Imaging.ImageDescriptionResult, hstr]: ...
|
|
17
|
+
class IImageDescriptionGeneratorStatics(ComPtr):
|
|
18
|
+
extends: IInspectable
|
|
19
|
+
_classid_ = 'Microsoft.Windows.AI.Imaging.IImageDescriptionGeneratorStatics'
|
|
20
|
+
_iid_ = Guid('{5fb50b2a-5700-55a7-b413-6073b4b7f175}')
|
|
21
|
+
@winrt_commethod(6)
|
|
22
|
+
def GetReadyState(self) -> win32more.Microsoft.Windows.AI.AIFeatureReadyState: ...
|
|
23
|
+
@winrt_commethod(7)
|
|
24
|
+
def EnsureReadyAsync(self) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.AIFeatureReadyResult, Double]: ...
|
|
25
|
+
@winrt_commethod(8)
|
|
26
|
+
def CreateAsync(self) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Microsoft.Windows.AI.Imaging.ImageDescriptionGenerator]: ...
|
|
27
|
+
class IImageDescriptionResult(ComPtr):
|
|
28
|
+
extends: IInspectable
|
|
29
|
+
_classid_ = 'Microsoft.Windows.AI.Imaging.IImageDescriptionResult'
|
|
30
|
+
_iid_ = Guid('{a066dd0c-110b-5275-a635-52bed7519a2f}')
|
|
31
|
+
@winrt_commethod(6)
|
|
32
|
+
def get_Description(self) -> hstr: ...
|
|
33
|
+
@winrt_commethod(7)
|
|
34
|
+
def get_Status(self) -> win32more.Microsoft.Windows.AI.Imaging.ImageDescriptionResultStatus: ...
|
|
35
|
+
Description = property(get_Description, None)
|
|
36
|
+
Status = property(get_Status, None)
|
|
37
|
+
class IImageObjectExtractor(ComPtr):
|
|
38
|
+
extends: IInspectable
|
|
39
|
+
_classid_ = 'Microsoft.Windows.AI.Imaging.IImageObjectExtractor'
|
|
40
|
+
_iid_ = Guid('{2919fdc0-d772-5fd9-a8b7-ffb56010c99c}')
|
|
41
|
+
@winrt_commethod(6)
|
|
42
|
+
def GetSoftwareBitmapObjectMask(self, hint: win32more.Microsoft.Windows.AI.Imaging.ImageObjectExtractorHint) -> win32more.Windows.Graphics.Imaging.SoftwareBitmap: ...
|
|
43
|
+
@winrt_commethod(7)
|
|
44
|
+
def GetImageBufferObjectMask(self, hint: win32more.Microsoft.Windows.AI.Imaging.ImageObjectExtractorHint) -> win32more.Microsoft.Graphics.Imaging.ImageBuffer: ...
|
|
45
|
+
class IImageObjectExtractorHint(ComPtr):
|
|
46
|
+
extends: IInspectable
|
|
47
|
+
_classid_ = 'Microsoft.Windows.AI.Imaging.IImageObjectExtractorHint'
|
|
48
|
+
_iid_ = Guid('{1bd8d67c-8a7a-5fe7-98a5-cbdfeb509452}')
|
|
49
|
+
@winrt_commethod(6)
|
|
50
|
+
def get_IncludeRects(self) -> win32more.Windows.Foundation.Collections.IVectorView[win32more.Windows.Graphics.RectInt32]: ...
|
|
51
|
+
@winrt_commethod(7)
|
|
52
|
+
def get_IncludePoints(self) -> win32more.Windows.Foundation.Collections.IVectorView[win32more.Windows.Graphics.PointInt32]: ...
|
|
53
|
+
@winrt_commethod(8)
|
|
54
|
+
def get_ExcludePoints(self) -> win32more.Windows.Foundation.Collections.IVectorView[win32more.Windows.Graphics.PointInt32]: ...
|
|
55
|
+
ExcludePoints = property(get_ExcludePoints, None)
|
|
56
|
+
IncludePoints = property(get_IncludePoints, None)
|
|
57
|
+
IncludeRects = property(get_IncludeRects, None)
|
|
58
|
+
class IImageObjectExtractorHintFactory(ComPtr):
|
|
59
|
+
extends: IInspectable
|
|
60
|
+
_classid_ = 'Microsoft.Windows.AI.Imaging.IImageObjectExtractorHintFactory'
|
|
61
|
+
_iid_ = Guid('{5028f206-145d-5a70-9a51-e17e60cfbad8}')
|
|
62
|
+
@winrt_commethod(6)
|
|
63
|
+
def CreateInstance(self, includeRects: win32more.Windows.Foundation.Collections.IVector[win32more.Windows.Graphics.RectInt32], includePoints: win32more.Windows.Foundation.Collections.IVector[win32more.Windows.Graphics.PointInt32], excludePoints: win32more.Windows.Foundation.Collections.IVector[win32more.Windows.Graphics.PointInt32]) -> win32more.Microsoft.Windows.AI.Imaging.ImageObjectExtractorHint: ...
|
|
64
|
+
class IImageObjectExtractorStatics(ComPtr):
|
|
65
|
+
extends: IInspectable
|
|
66
|
+
_classid_ = 'Microsoft.Windows.AI.Imaging.IImageObjectExtractorStatics'
|
|
67
|
+
_iid_ = Guid('{38fa261e-2c33-54cb-9e10-98d50685743d}')
|
|
68
|
+
@winrt_commethod(6)
|
|
69
|
+
def CreateWithSoftwareBitmapAsync(self, softwareBitmap: win32more.Windows.Graphics.Imaging.SoftwareBitmap) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Microsoft.Windows.AI.Imaging.ImageObjectExtractor]: ...
|
|
70
|
+
@winrt_commethod(7)
|
|
71
|
+
def CreateWithImageBufferAsync(self, imageBuffer: win32more.Microsoft.Graphics.Imaging.ImageBuffer) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Microsoft.Windows.AI.Imaging.ImageObjectExtractor]: ...
|
|
72
|
+
@winrt_commethod(8)
|
|
73
|
+
def GetReadyState(self) -> win32more.Microsoft.Windows.AI.AIFeatureReadyState: ...
|
|
74
|
+
@winrt_commethod(9)
|
|
75
|
+
def EnsureReadyAsync(self) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.AIFeatureReadyResult, Double]: ...
|
|
76
|
+
class IImageScaler(ComPtr):
|
|
77
|
+
extends: IInspectable
|
|
78
|
+
_classid_ = 'Microsoft.Windows.AI.Imaging.IImageScaler'
|
|
79
|
+
_iid_ = Guid('{06eec88e-91c5-5326-8128-2807faafa571}')
|
|
80
|
+
@winrt_commethod(6)
|
|
81
|
+
def ScaleSoftwareBitmap(self, softwareBitmap: win32more.Windows.Graphics.Imaging.SoftwareBitmap, width: Int32, height: Int32) -> win32more.Windows.Graphics.Imaging.SoftwareBitmap: ...
|
|
82
|
+
@winrt_commethod(7)
|
|
83
|
+
def ScaleImageBuffer(self, imageBuffer: win32more.Microsoft.Graphics.Imaging.ImageBuffer, width: Int32, height: Int32) -> win32more.Microsoft.Graphics.Imaging.ImageBuffer: ...
|
|
84
|
+
@winrt_commethod(8)
|
|
85
|
+
def get_MaxSupportedScaleFactor(self) -> Int32: ...
|
|
86
|
+
MaxSupportedScaleFactor = property(get_MaxSupportedScaleFactor, None)
|
|
87
|
+
class IImageScalerStatics(ComPtr):
|
|
88
|
+
extends: IInspectable
|
|
89
|
+
_classid_ = 'Microsoft.Windows.AI.Imaging.IImageScalerStatics'
|
|
90
|
+
_iid_ = Guid('{75380c81-9c7f-544b-9337-6e638cfb464a}')
|
|
91
|
+
@winrt_commethod(6)
|
|
92
|
+
def GetReadyState(self) -> win32more.Microsoft.Windows.AI.AIFeatureReadyState: ...
|
|
93
|
+
@winrt_commethod(7)
|
|
94
|
+
def EnsureReadyAsync(self) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.AIFeatureReadyResult, Double]: ...
|
|
95
|
+
@winrt_commethod(8)
|
|
96
|
+
def CreateAsync(self) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Microsoft.Windows.AI.Imaging.ImageScaler]: ...
|
|
97
|
+
class IRecognizedLine(ComPtr):
|
|
98
|
+
extends: IInspectable
|
|
99
|
+
_classid_ = 'Microsoft.Windows.AI.Imaging.IRecognizedLine'
|
|
100
|
+
_iid_ = Guid('{612a6be6-f6bb-53c9-84ce-f0a5e565faa7}')
|
|
101
|
+
@winrt_commethod(6)
|
|
102
|
+
def get_Text(self) -> hstr: ...
|
|
103
|
+
@winrt_commethod(7)
|
|
104
|
+
def get_BoundingBox(self) -> win32more.Microsoft.Windows.AI.Imaging.RecognizedTextBoundingBox: ...
|
|
105
|
+
@winrt_commethod(8)
|
|
106
|
+
def get_Words(self) -> ReceiveArray[win32more.Microsoft.Windows.AI.Imaging.RecognizedWord]: ...
|
|
107
|
+
@winrt_commethod(9)
|
|
108
|
+
def get_Style(self) -> win32more.Microsoft.Windows.AI.Imaging.RecognizedLineStyle: ...
|
|
109
|
+
@winrt_commethod(10)
|
|
110
|
+
def get_LineStyleConfidence(self) -> Single: ...
|
|
111
|
+
BoundingBox = property(get_BoundingBox, None)
|
|
112
|
+
LineStyleConfidence = property(get_LineStyleConfidence, None)
|
|
113
|
+
Style = property(get_Style, None)
|
|
114
|
+
Text = property(get_Text, None)
|
|
115
|
+
Words = property(get_Words, None)
|
|
116
|
+
class IRecognizedText(ComPtr):
|
|
117
|
+
extends: IInspectable
|
|
118
|
+
_classid_ = 'Microsoft.Windows.AI.Imaging.IRecognizedText'
|
|
119
|
+
_iid_ = Guid('{ae4766d3-2924-57a6-b3d3-b866f59b9972}')
|
|
120
|
+
@winrt_commethod(6)
|
|
121
|
+
def get_Lines(self) -> ReceiveArray[win32more.Microsoft.Windows.AI.Imaging.RecognizedLine]: ...
|
|
122
|
+
@winrt_commethod(7)
|
|
123
|
+
def get_TextAngle(self) -> Single: ...
|
|
124
|
+
Lines = property(get_Lines, None)
|
|
125
|
+
TextAngle = property(get_TextAngle, None)
|
|
126
|
+
class IRecognizedWord(ComPtr):
|
|
127
|
+
extends: IInspectable
|
|
128
|
+
_classid_ = 'Microsoft.Windows.AI.Imaging.IRecognizedWord'
|
|
129
|
+
_iid_ = Guid('{6b53daab-3410-5088-826a-0788a1ee3b52}')
|
|
130
|
+
@winrt_commethod(6)
|
|
131
|
+
def get_Text(self) -> hstr: ...
|
|
132
|
+
@winrt_commethod(7)
|
|
133
|
+
def get_BoundingBox(self) -> win32more.Microsoft.Windows.AI.Imaging.RecognizedTextBoundingBox: ...
|
|
134
|
+
@winrt_commethod(8)
|
|
135
|
+
def get_MatchConfidence(self) -> Single: ...
|
|
136
|
+
BoundingBox = property(get_BoundingBox, None)
|
|
137
|
+
MatchConfidence = property(get_MatchConfidence, None)
|
|
138
|
+
Text = property(get_Text, None)
|
|
139
|
+
class ITextRecognizer(ComPtr):
|
|
140
|
+
extends: IInspectable
|
|
141
|
+
_classid_ = 'Microsoft.Windows.AI.Imaging.ITextRecognizer'
|
|
142
|
+
_iid_ = Guid('{be7bf6c0-30f6-570d-bd92-3ffe5665d933}')
|
|
143
|
+
@winrt_commethod(6)
|
|
144
|
+
def RecognizeTextFromImageAsync(self, imageBuffer: win32more.Microsoft.Graphics.Imaging.ImageBuffer) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Microsoft.Windows.AI.Imaging.RecognizedText]: ...
|
|
145
|
+
@winrt_commethod(7)
|
|
146
|
+
def RecognizeTextFromImage(self, imageBuffer: win32more.Microsoft.Graphics.Imaging.ImageBuffer) -> win32more.Microsoft.Windows.AI.Imaging.RecognizedText: ...
|
|
147
|
+
class ITextRecognizerStatics(ComPtr):
|
|
148
|
+
extends: IInspectable
|
|
149
|
+
_classid_ = 'Microsoft.Windows.AI.Imaging.ITextRecognizerStatics'
|
|
150
|
+
_iid_ = Guid('{3788c2fd-e496-53ab-85a7-e54a135824e9}')
|
|
151
|
+
@winrt_commethod(6)
|
|
152
|
+
def GetReadyState(self) -> win32more.Microsoft.Windows.AI.AIFeatureReadyState: ...
|
|
153
|
+
@winrt_commethod(7)
|
|
154
|
+
def EnsureReadyAsync(self) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.AIFeatureReadyResult, Double]: ...
|
|
155
|
+
@winrt_commethod(8)
|
|
156
|
+
def CreateAsync(self) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Microsoft.Windows.AI.Imaging.TextRecognizer]: ...
|
|
157
|
+
ImageDescriptionContract: UInt32 = 65536
|
|
158
|
+
class ImageDescriptionGenerator(ComPtr):
|
|
159
|
+
extends: IInspectable
|
|
160
|
+
implements: Tuple[ContextManagerProtocol]
|
|
161
|
+
default_interface: win32more.Microsoft.Windows.AI.Imaging.IImageDescriptionGenerator
|
|
162
|
+
_classid_ = 'Microsoft.Windows.AI.Imaging.ImageDescriptionGenerator'
|
|
163
|
+
@winrt_mixinmethod
|
|
164
|
+
def DescribeAsync(self: win32more.Microsoft.Windows.AI.Imaging.IImageDescriptionGenerator, image: win32more.Microsoft.Graphics.Imaging.ImageBuffer, kind: win32more.Microsoft.Windows.AI.Imaging.ImageDescriptionKind, contentFilterOptions: win32more.Microsoft.Windows.AI.ContentSafety.ContentFilterOptions) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Imaging.ImageDescriptionResult, hstr]: ...
|
|
165
|
+
@winrt_mixinmethod
|
|
166
|
+
def Close(self: win32more.Windows.Foundation.IClosable) -> Void: ...
|
|
167
|
+
@winrt_classmethod
|
|
168
|
+
def GetReadyState(cls: win32more.Microsoft.Windows.AI.Imaging.IImageDescriptionGeneratorStatics) -> win32more.Microsoft.Windows.AI.AIFeatureReadyState: ...
|
|
169
|
+
@winrt_classmethod
|
|
170
|
+
def EnsureReadyAsync(cls: win32more.Microsoft.Windows.AI.Imaging.IImageDescriptionGeneratorStatics) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.AIFeatureReadyResult, Double]: ...
|
|
171
|
+
@winrt_classmethod
|
|
172
|
+
def CreateAsync(cls: win32more.Microsoft.Windows.AI.Imaging.IImageDescriptionGeneratorStatics) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Microsoft.Windows.AI.Imaging.ImageDescriptionGenerator]: ...
|
|
173
|
+
class ImageDescriptionKind(Enum, Int32):
|
|
174
|
+
BriefDescription = 0
|
|
175
|
+
DetailedDescription = 1
|
|
176
|
+
DiagramDescription = 2
|
|
177
|
+
AccessibleDescription = 3
|
|
178
|
+
class ImageDescriptionResult(ComPtr):
|
|
179
|
+
extends: IInspectable
|
|
180
|
+
default_interface: win32more.Microsoft.Windows.AI.Imaging.IImageDescriptionResult
|
|
181
|
+
_classid_ = 'Microsoft.Windows.AI.Imaging.ImageDescriptionResult'
|
|
182
|
+
@winrt_mixinmethod
|
|
183
|
+
def get_Description(self: win32more.Microsoft.Windows.AI.Imaging.IImageDescriptionResult) -> hstr: ...
|
|
184
|
+
@winrt_mixinmethod
|
|
185
|
+
def get_Status(self: win32more.Microsoft.Windows.AI.Imaging.IImageDescriptionResult) -> win32more.Microsoft.Windows.AI.Imaging.ImageDescriptionResultStatus: ...
|
|
186
|
+
Description = property(get_Description, None)
|
|
187
|
+
Status = property(get_Status, None)
|
|
188
|
+
class ImageDescriptionResultStatus(Enum, Int32):
|
|
189
|
+
Complete = 0
|
|
190
|
+
InProgress = 1
|
|
191
|
+
BlockedByPolicy = 2
|
|
192
|
+
ImageBlockedByContentModeration = 3
|
|
193
|
+
TextInImageBlockedByContentModeration = 4
|
|
194
|
+
DescriptionTextBlockedByContentModeration = 5
|
|
195
|
+
ImageHasTooMuchText = 6
|
|
196
|
+
InternalError = 7
|
|
197
|
+
class ImageObjectExtractor(ComPtr):
|
|
198
|
+
extends: IInspectable
|
|
199
|
+
implements: Tuple[ContextManagerProtocol]
|
|
200
|
+
default_interface: win32more.Microsoft.Windows.AI.Imaging.IImageObjectExtractor
|
|
201
|
+
_classid_ = 'Microsoft.Windows.AI.Imaging.ImageObjectExtractor'
|
|
202
|
+
@winrt_mixinmethod
|
|
203
|
+
def GetSoftwareBitmapObjectMask(self: win32more.Microsoft.Windows.AI.Imaging.IImageObjectExtractor, hint: win32more.Microsoft.Windows.AI.Imaging.ImageObjectExtractorHint) -> win32more.Windows.Graphics.Imaging.SoftwareBitmap: ...
|
|
204
|
+
@winrt_mixinmethod
|
|
205
|
+
def GetImageBufferObjectMask(self: win32more.Microsoft.Windows.AI.Imaging.IImageObjectExtractor, hint: win32more.Microsoft.Windows.AI.Imaging.ImageObjectExtractorHint) -> win32more.Microsoft.Graphics.Imaging.ImageBuffer: ...
|
|
206
|
+
@winrt_mixinmethod
|
|
207
|
+
def Close(self: win32more.Windows.Foundation.IClosable) -> Void: ...
|
|
208
|
+
@winrt_classmethod
|
|
209
|
+
def CreateWithSoftwareBitmapAsync(cls: win32more.Microsoft.Windows.AI.Imaging.IImageObjectExtractorStatics, softwareBitmap: win32more.Windows.Graphics.Imaging.SoftwareBitmap) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Microsoft.Windows.AI.Imaging.ImageObjectExtractor]: ...
|
|
210
|
+
@winrt_classmethod
|
|
211
|
+
def CreateWithImageBufferAsync(cls: win32more.Microsoft.Windows.AI.Imaging.IImageObjectExtractorStatics, imageBuffer: win32more.Microsoft.Graphics.Imaging.ImageBuffer) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Microsoft.Windows.AI.Imaging.ImageObjectExtractor]: ...
|
|
212
|
+
@winrt_classmethod
|
|
213
|
+
def GetReadyState(cls: win32more.Microsoft.Windows.AI.Imaging.IImageObjectExtractorStatics) -> win32more.Microsoft.Windows.AI.AIFeatureReadyState: ...
|
|
214
|
+
@winrt_classmethod
|
|
215
|
+
def EnsureReadyAsync(cls: win32more.Microsoft.Windows.AI.Imaging.IImageObjectExtractorStatics) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.AIFeatureReadyResult, Double]: ...
|
|
216
|
+
ImageObjectExtractorContract: UInt32 = 65536
|
|
217
|
+
class ImageObjectExtractorHint(ComPtr):
|
|
218
|
+
extends: IInspectable
|
|
219
|
+
default_interface: win32more.Microsoft.Windows.AI.Imaging.IImageObjectExtractorHint
|
|
220
|
+
_classid_ = 'Microsoft.Windows.AI.Imaging.ImageObjectExtractorHint'
|
|
221
|
+
def __init__(self, *args, **kwargs):
|
|
222
|
+
if kwargs:
|
|
223
|
+
super().__init__(**kwargs)
|
|
224
|
+
elif len(args) == 3:
|
|
225
|
+
super().__init__(move=win32more.Microsoft.Windows.AI.Imaging.ImageObjectExtractorHint.CreateInstance(*args))
|
|
226
|
+
else:
|
|
227
|
+
raise ValueError('no matched constructor')
|
|
228
|
+
@winrt_factorymethod
|
|
229
|
+
def CreateInstance(cls: win32more.Microsoft.Windows.AI.Imaging.IImageObjectExtractorHintFactory, includeRects: win32more.Windows.Foundation.Collections.IVector[win32more.Windows.Graphics.RectInt32], includePoints: win32more.Windows.Foundation.Collections.IVector[win32more.Windows.Graphics.PointInt32], excludePoints: win32more.Windows.Foundation.Collections.IVector[win32more.Windows.Graphics.PointInt32]) -> win32more.Microsoft.Windows.AI.Imaging.ImageObjectExtractorHint: ...
|
|
230
|
+
@winrt_mixinmethod
|
|
231
|
+
def get_IncludeRects(self: win32more.Microsoft.Windows.AI.Imaging.IImageObjectExtractorHint) -> win32more.Windows.Foundation.Collections.IVectorView[win32more.Windows.Graphics.RectInt32]: ...
|
|
232
|
+
@winrt_mixinmethod
|
|
233
|
+
def get_IncludePoints(self: win32more.Microsoft.Windows.AI.Imaging.IImageObjectExtractorHint) -> win32more.Windows.Foundation.Collections.IVectorView[win32more.Windows.Graphics.PointInt32]: ...
|
|
234
|
+
@winrt_mixinmethod
|
|
235
|
+
def get_ExcludePoints(self: win32more.Microsoft.Windows.AI.Imaging.IImageObjectExtractorHint) -> win32more.Windows.Foundation.Collections.IVectorView[win32more.Windows.Graphics.PointInt32]: ...
|
|
236
|
+
ExcludePoints = property(get_ExcludePoints, None)
|
|
237
|
+
IncludePoints = property(get_IncludePoints, None)
|
|
238
|
+
IncludeRects = property(get_IncludeRects, None)
|
|
239
|
+
class ImageScaler(ComPtr):
|
|
240
|
+
extends: IInspectable
|
|
241
|
+
implements: Tuple[ContextManagerProtocol]
|
|
242
|
+
default_interface: win32more.Microsoft.Windows.AI.Imaging.IImageScaler
|
|
243
|
+
_classid_ = 'Microsoft.Windows.AI.Imaging.ImageScaler'
|
|
244
|
+
@winrt_mixinmethod
|
|
245
|
+
def ScaleSoftwareBitmap(self: win32more.Microsoft.Windows.AI.Imaging.IImageScaler, softwareBitmap: win32more.Windows.Graphics.Imaging.SoftwareBitmap, width: Int32, height: Int32) -> win32more.Windows.Graphics.Imaging.SoftwareBitmap: ...
|
|
246
|
+
@winrt_mixinmethod
|
|
247
|
+
def ScaleImageBuffer(self: win32more.Microsoft.Windows.AI.Imaging.IImageScaler, imageBuffer: win32more.Microsoft.Graphics.Imaging.ImageBuffer, width: Int32, height: Int32) -> win32more.Microsoft.Graphics.Imaging.ImageBuffer: ...
|
|
248
|
+
@winrt_mixinmethod
|
|
249
|
+
def get_MaxSupportedScaleFactor(self: win32more.Microsoft.Windows.AI.Imaging.IImageScaler) -> Int32: ...
|
|
250
|
+
@winrt_mixinmethod
|
|
251
|
+
def Close(self: win32more.Windows.Foundation.IClosable) -> Void: ...
|
|
252
|
+
@winrt_classmethod
|
|
253
|
+
def GetReadyState(cls: win32more.Microsoft.Windows.AI.Imaging.IImageScalerStatics) -> win32more.Microsoft.Windows.AI.AIFeatureReadyState: ...
|
|
254
|
+
@winrt_classmethod
|
|
255
|
+
def EnsureReadyAsync(cls: win32more.Microsoft.Windows.AI.Imaging.IImageScalerStatics) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.AIFeatureReadyResult, Double]: ...
|
|
256
|
+
@winrt_classmethod
|
|
257
|
+
def CreateAsync(cls: win32more.Microsoft.Windows.AI.Imaging.IImageScalerStatics) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Microsoft.Windows.AI.Imaging.ImageScaler]: ...
|
|
258
|
+
MaxSupportedScaleFactor = property(get_MaxSupportedScaleFactor, None)
|
|
259
|
+
ImageScalerContract: UInt32 = 65536
|
|
260
|
+
class RecognizedLine(ComPtr):
|
|
261
|
+
extends: IInspectable
|
|
262
|
+
default_interface: win32more.Microsoft.Windows.AI.Imaging.IRecognizedLine
|
|
263
|
+
_classid_ = 'Microsoft.Windows.AI.Imaging.RecognizedLine'
|
|
264
|
+
@winrt_mixinmethod
|
|
265
|
+
def get_Text(self: win32more.Microsoft.Windows.AI.Imaging.IRecognizedLine) -> hstr: ...
|
|
266
|
+
@winrt_mixinmethod
|
|
267
|
+
def get_BoundingBox(self: win32more.Microsoft.Windows.AI.Imaging.IRecognizedLine) -> win32more.Microsoft.Windows.AI.Imaging.RecognizedTextBoundingBox: ...
|
|
268
|
+
@winrt_mixinmethod
|
|
269
|
+
def get_Words(self: win32more.Microsoft.Windows.AI.Imaging.IRecognizedLine) -> ReceiveArray[win32more.Microsoft.Windows.AI.Imaging.RecognizedWord]: ...
|
|
270
|
+
@winrt_mixinmethod
|
|
271
|
+
def get_Style(self: win32more.Microsoft.Windows.AI.Imaging.IRecognizedLine) -> win32more.Microsoft.Windows.AI.Imaging.RecognizedLineStyle: ...
|
|
272
|
+
@winrt_mixinmethod
|
|
273
|
+
def get_LineStyleConfidence(self: win32more.Microsoft.Windows.AI.Imaging.IRecognizedLine) -> Single: ...
|
|
274
|
+
BoundingBox = property(get_BoundingBox, None)
|
|
275
|
+
LineStyleConfidence = property(get_LineStyleConfidence, None)
|
|
276
|
+
Style = property(get_Style, None)
|
|
277
|
+
Text = property(get_Text, None)
|
|
278
|
+
Words = property(get_Words, None)
|
|
279
|
+
class RecognizedLineStyle(Enum, Int32):
|
|
280
|
+
Handwritten = 0
|
|
281
|
+
class RecognizedText(ComPtr):
|
|
282
|
+
extends: IInspectable
|
|
283
|
+
default_interface: win32more.Microsoft.Windows.AI.Imaging.IRecognizedText
|
|
284
|
+
_classid_ = 'Microsoft.Windows.AI.Imaging.RecognizedText'
|
|
285
|
+
@winrt_mixinmethod
|
|
286
|
+
def get_Lines(self: win32more.Microsoft.Windows.AI.Imaging.IRecognizedText) -> ReceiveArray[win32more.Microsoft.Windows.AI.Imaging.RecognizedLine]: ...
|
|
287
|
+
@winrt_mixinmethod
|
|
288
|
+
def get_TextAngle(self: win32more.Microsoft.Windows.AI.Imaging.IRecognizedText) -> Single: ...
|
|
289
|
+
Lines = property(get_Lines, None)
|
|
290
|
+
TextAngle = property(get_TextAngle, None)
|
|
291
|
+
class RecognizedTextBoundingBox(Structure):
|
|
292
|
+
_name_ = 'Microsoft.Windows.AI.Imaging.RecognizedTextBoundingBox'
|
|
293
|
+
BottomLeft: win32more.Windows.Foundation.Point
|
|
294
|
+
BottomRight: win32more.Windows.Foundation.Point
|
|
295
|
+
TopLeft: win32more.Windows.Foundation.Point
|
|
296
|
+
TopRight: win32more.Windows.Foundation.Point
|
|
297
|
+
class RecognizedWord(ComPtr):
|
|
298
|
+
extends: IInspectable
|
|
299
|
+
default_interface: win32more.Microsoft.Windows.AI.Imaging.IRecognizedWord
|
|
300
|
+
_classid_ = 'Microsoft.Windows.AI.Imaging.RecognizedWord'
|
|
301
|
+
@winrt_mixinmethod
|
|
302
|
+
def get_Text(self: win32more.Microsoft.Windows.AI.Imaging.IRecognizedWord) -> hstr: ...
|
|
303
|
+
@winrt_mixinmethod
|
|
304
|
+
def get_BoundingBox(self: win32more.Microsoft.Windows.AI.Imaging.IRecognizedWord) -> win32more.Microsoft.Windows.AI.Imaging.RecognizedTextBoundingBox: ...
|
|
305
|
+
@winrt_mixinmethod
|
|
306
|
+
def get_MatchConfidence(self: win32more.Microsoft.Windows.AI.Imaging.IRecognizedWord) -> Single: ...
|
|
307
|
+
BoundingBox = property(get_BoundingBox, None)
|
|
308
|
+
MatchConfidence = property(get_MatchConfidence, None)
|
|
309
|
+
Text = property(get_Text, None)
|
|
310
|
+
TextRecognitionContract: UInt32 = 65536
|
|
311
|
+
class TextRecognizer(ComPtr):
|
|
312
|
+
extends: IInspectable
|
|
313
|
+
implements: Tuple[ContextManagerProtocol]
|
|
314
|
+
default_interface: win32more.Microsoft.Windows.AI.Imaging.ITextRecognizer
|
|
315
|
+
_classid_ = 'Microsoft.Windows.AI.Imaging.TextRecognizer'
|
|
316
|
+
@winrt_mixinmethod
|
|
317
|
+
def RecognizeTextFromImageAsync(self: win32more.Microsoft.Windows.AI.Imaging.ITextRecognizer, imageBuffer: win32more.Microsoft.Graphics.Imaging.ImageBuffer) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Microsoft.Windows.AI.Imaging.RecognizedText]: ...
|
|
318
|
+
@winrt_mixinmethod
|
|
319
|
+
def RecognizeTextFromImage(self: win32more.Microsoft.Windows.AI.Imaging.ITextRecognizer, imageBuffer: win32more.Microsoft.Graphics.Imaging.ImageBuffer) -> win32more.Microsoft.Windows.AI.Imaging.RecognizedText: ...
|
|
320
|
+
@winrt_mixinmethod
|
|
321
|
+
def Close(self: win32more.Windows.Foundation.IClosable) -> Void: ...
|
|
322
|
+
@winrt_classmethod
|
|
323
|
+
def GetReadyState(cls: win32more.Microsoft.Windows.AI.Imaging.ITextRecognizerStatics) -> win32more.Microsoft.Windows.AI.AIFeatureReadyState: ...
|
|
324
|
+
@winrt_classmethod
|
|
325
|
+
def EnsureReadyAsync(cls: win32more.Microsoft.Windows.AI.Imaging.ITextRecognizerStatics) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.AIFeatureReadyResult, Double]: ...
|
|
326
|
+
@winrt_classmethod
|
|
327
|
+
def CreateAsync(cls: win32more.Microsoft.Windows.AI.Imaging.ITextRecognizerStatics) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Microsoft.Windows.AI.Imaging.TextRecognizer]: ...
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
make_ready(__name__)
|