win32more-Microsoft.WindowsAppSDK 0.7.1.6.250430001__py2.py3-none-any.whl → 0.8.1.8.251003001__py2.py3-none-any.whl

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.
Files changed (74) hide show
  1. win32more/Microsoft/Foundation/__init__.py +1 -1
  2. win32more/Microsoft/Graphics/DirectX/__init__.py +4 -0
  3. win32more/Microsoft/Graphics/Display/__init__.py +2 -0
  4. win32more/Microsoft/Graphics/Imaging/__init__.py +78 -0
  5. win32more/Microsoft/Security/Authentication/OAuth/__init__.py +593 -0
  6. win32more/Microsoft/UI/Composition/Core/__init__.py +4 -4
  7. win32more/Microsoft/UI/Composition/Diagnostics/__init__.py +5 -4
  8. win32more/Microsoft/UI/Composition/Effects/__init__.py +11 -10
  9. win32more/Microsoft/UI/Composition/Interactions/__init__.py +100 -93
  10. win32more/Microsoft/UI/Composition/Scenes/__init__.py +82 -78
  11. win32more/Microsoft/UI/Composition/SystemBackdrops/__init__.py +46 -42
  12. win32more/Microsoft/UI/Composition/__init__.py +146 -125
  13. win32more/Microsoft/UI/Content/__init__.py +677 -32
  14. win32more/Microsoft/UI/Dispatching/__init__.py +6 -4
  15. win32more/Microsoft/UI/Input/DragDrop/__init__.py +11 -9
  16. win32more/Microsoft/UI/Input/__init__.py +88 -66
  17. win32more/Microsoft/UI/Text/__init__.py +46 -0
  18. win32more/Microsoft/UI/Windowing/__init__.py +112 -21
  19. win32more/Microsoft/UI/Xaml/Automation/Peers/__init__.py +12 -0
  20. win32more/Microsoft/UI/Xaml/Automation/Text/__init__.py +2 -0
  21. win32more/Microsoft/UI/Xaml/Automation/__init__.py +21 -0
  22. win32more/Microsoft/UI/Xaml/Controls/Primitives/__init__.py +19 -0
  23. win32more/Microsoft/UI/Xaml/Controls/__init__.py +369 -0
  24. win32more/Microsoft/UI/Xaml/Data/__init__.py +3 -0
  25. win32more/Microsoft/UI/Xaml/Documents/__init__.py +2 -0
  26. win32more/Microsoft/UI/Xaml/Hosting/__init__.py +1 -0
  27. win32more/Microsoft/UI/Xaml/Input/__init__.py +11 -0
  28. win32more/Microsoft/UI/Xaml/Interop/__init__.py +1 -0
  29. win32more/Microsoft/UI/Xaml/Media/Animation/__init__.py +6 -0
  30. win32more/Microsoft/UI/Xaml/Media/Imaging/__init__.py +3 -0
  31. win32more/Microsoft/UI/Xaml/Media/__init__.py +14 -0
  32. win32more/Microsoft/UI/Xaml/Navigation/__init__.py +2 -0
  33. win32more/Microsoft/UI/Xaml/Printing/__init__.py +1 -0
  34. win32more/Microsoft/UI/Xaml/__init__.py +101 -2
  35. win32more/Microsoft/Windows/AI/ContentSafety/__init__.py +198 -0
  36. win32more/Microsoft/Windows/AI/Foundation/__init__.py +46 -0
  37. win32more/Microsoft/Windows/AI/Imaging/__init__.py +369 -0
  38. win32more/Microsoft/Windows/AI/MachineLearning/__init__.py +125 -0
  39. win32more/Microsoft/Windows/AI/Text/__init__.py +501 -0
  40. win32more/Microsoft/Windows/AI/__init__.py +51 -0
  41. win32more/Microsoft/Windows/AppLifecycle/__init__.py +1 -0
  42. win32more/Microsoft/Windows/AppNotifications/Builder/__init__.py +7 -1
  43. win32more/Microsoft/Windows/AppNotifications/__init__.py +4 -1
  44. win32more/Microsoft/Windows/ApplicationModel/Background/UniversalBGTask/__init__.py +27 -0
  45. win32more/Microsoft/Windows/ApplicationModel/Background/__init__.py +65 -0
  46. win32more/Microsoft/Windows/ApplicationModel/DynamicDependency/__init__.py +2 -0
  47. win32more/Microsoft/Windows/ApplicationModel/Resources/__init__.py +1 -0
  48. win32more/Microsoft/Windows/ApplicationModel/WindowsAppRuntime/__init__.py +120 -0
  49. win32more/Microsoft/Windows/BadgeNotifications/__init__.py +54 -0
  50. win32more/Microsoft/Windows/Foundation/__init__.py +221 -0
  51. win32more/Microsoft/Windows/Management/Deployment/__init__.py +5 -0
  52. win32more/Microsoft/Windows/Media/Capture/__init__.py +201 -0
  53. win32more/Microsoft/Windows/PushNotifications/__init__.py +1 -0
  54. win32more/Microsoft/Windows/Storage/Pickers/__init__.py +260 -0
  55. win32more/Microsoft/Windows/Storage/__init__.py +2 -0
  56. win32more/Microsoft/Windows/System/Power/__init__.py +8 -0
  57. win32more/Microsoft/Windows/Widgets/Feeds/Providers/__init__.py +8 -0
  58. win32more/Microsoft/Windows/Widgets/Notifications/__init__.py +2 -0
  59. win32more/Microsoft/Windows/Widgets/Providers/__init__.py +24 -0
  60. win32more/Microsoft/Windows/Widgets/__init__.py +2 -1
  61. win32more/Microsoft/Windows/Workloads/__init__.py +12 -0
  62. win32more/appsdk/versioninfo.py +2 -2
  63. win32more/dll/arm64/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll +0 -0
  64. win32more/dll/arm64/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
  65. win32more/dll/x64/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll +0 -0
  66. win32more/dll/x64/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
  67. win32more/dll/x86/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll +0 -0
  68. win32more/dll/x86/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
  69. win32more_microsoft_windowsappsdk-0.8.1.8.251003001.dist-info/METADATA +6 -0
  70. win32more_microsoft_windowsappsdk-0.8.1.8.251003001.dist-info/RECORD +85 -0
  71. {win32more_microsoft_windowsappsdk-0.7.1.6.250430001.dist-info → win32more_microsoft_windowsappsdk-0.8.1.8.251003001.dist-info}/WHEEL +1 -1
  72. {win32more_microsoft_windowsappsdk-0.7.1.6.250430001.dist-info → win32more_microsoft_windowsappsdk-0.8.1.8.251003001.dist-info}/licenses/LICENSE (Microsoft.WindowsAppSDK).txt +5 -3
  73. win32more_microsoft_windowsappsdk-0.7.1.6.250430001.dist-info/METADATA +0 -6
  74. win32more_microsoft_windowsappsdk-0.7.1.6.250430001.dist-info/RECORD +0 -67
@@ -0,0 +1,198 @@
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
+ _name_ = 'Microsoft.Windows.AI.ContentSafety.SeverityLevel'
153
+ Minimum = 10
154
+ Low = 11
155
+ Medium = 12
156
+ High = 13
157
+ class TextContentFilterSeverity(ComPtr):
158
+ extends: IInspectable
159
+ default_interface: win32more.Microsoft.Windows.AI.ContentSafety.ITextContentFilterSeverity
160
+ _classid_ = 'Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity'
161
+ def __init__(self, *args, **kwargs):
162
+ if kwargs:
163
+ super().__init__(**kwargs)
164
+ elif len(args) == 0:
165
+ super().__init__(move=win32more.Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity.CreateInstance(*args))
166
+ elif len(args) == 1:
167
+ super().__init__(move=win32more.Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity.CreateInstance(*args))
168
+ else:
169
+ raise ValueError('no matched constructor')
170
+ @winrt_overload
171
+ @winrt_activatemethod
172
+ def CreateInstance(cls) -> win32more.Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity: ...
173
+ @CreateInstance.register
174
+ @winrt_factorymethod
175
+ def CreateInstance(cls: win32more.Microsoft.Windows.AI.ContentSafety.ITextContentFilterSeverityFactory, severityForAllCategories: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> win32more.Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity: ...
176
+ @winrt_mixinmethod
177
+ def get_Hate(self: win32more.Microsoft.Windows.AI.ContentSafety.ITextContentFilterSeverity) -> win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel: ...
178
+ @winrt_mixinmethod
179
+ def put_Hate(self: win32more.Microsoft.Windows.AI.ContentSafety.ITextContentFilterSeverity, value: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> Void: ...
180
+ @winrt_mixinmethod
181
+ def get_Sexual(self: win32more.Microsoft.Windows.AI.ContentSafety.ITextContentFilterSeverity) -> win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel: ...
182
+ @winrt_mixinmethod
183
+ def put_Sexual(self: win32more.Microsoft.Windows.AI.ContentSafety.ITextContentFilterSeverity, value: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> Void: ...
184
+ @winrt_mixinmethod
185
+ def get_Violent(self: win32more.Microsoft.Windows.AI.ContentSafety.ITextContentFilterSeverity) -> win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel: ...
186
+ @winrt_mixinmethod
187
+ def put_Violent(self: win32more.Microsoft.Windows.AI.ContentSafety.ITextContentFilterSeverity, value: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> Void: ...
188
+ @winrt_mixinmethod
189
+ def get_SelfHarm(self: win32more.Microsoft.Windows.AI.ContentSafety.ITextContentFilterSeverity) -> win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel: ...
190
+ @winrt_mixinmethod
191
+ def put_SelfHarm(self: win32more.Microsoft.Windows.AI.ContentSafety.ITextContentFilterSeverity, value: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> Void: ...
192
+ Hate = property(get_Hate, put_Hate)
193
+ SelfHarm = property(get_SelfHarm, put_SelfHarm)
194
+ Sexual = property(get_Sexual, put_Sexual)
195
+ Violent = property(get_Violent, put_Violent)
196
+
197
+
198
+ make_ready(__name__)
@@ -0,0 +1,46 @@
1
+ from __future__ import annotations
2
+ from win32more._prelude import *
3
+ import win32more.Microsoft.Windows.AI.Foundation
4
+ AIFoundationContract: UInt32 = 65536
5
+ class EmbeddingVector(ComPtr):
6
+ extends: IInspectable
7
+ default_interface: win32more.Microsoft.Windows.AI.Foundation.IEmbeddingVector
8
+ _classid_ = 'Microsoft.Windows.AI.Foundation.EmbeddingVector'
9
+ def __init__(self, *args, **kwargs):
10
+ if kwargs:
11
+ super().__init__(**kwargs)
12
+ elif len(args) == 2:
13
+ super().__init__(move=win32more.Microsoft.Windows.AI.Foundation.EmbeddingVector.CreateInstance(*args))
14
+ else:
15
+ raise ValueError('no matched constructor')
16
+ @winrt_factorymethod
17
+ def CreateInstance(cls: win32more.Microsoft.Windows.AI.Foundation.IEmbeddingVectorFactory, data: PassArray[Single], vectorSpaceID: Guid) -> win32more.Microsoft.Windows.AI.Foundation.EmbeddingVector: ...
18
+ @winrt_mixinmethod
19
+ def GetValues(self: win32more.Microsoft.Windows.AI.Foundation.IEmbeddingVector, values: FillArray[Single]) -> Void: ...
20
+ @winrt_mixinmethod
21
+ def get_Size(self: win32more.Microsoft.Windows.AI.Foundation.IEmbeddingVector) -> UInt32: ...
22
+ @winrt_mixinmethod
23
+ def get_VectorSpaceId(self: win32more.Microsoft.Windows.AI.Foundation.IEmbeddingVector) -> Guid: ...
24
+ Size = property(get_Size, None)
25
+ VectorSpaceId = property(get_VectorSpaceId, None)
26
+ class IEmbeddingVector(ComPtr):
27
+ extends: IInspectable
28
+ _classid_ = 'Microsoft.Windows.AI.Foundation.IEmbeddingVector'
29
+ _iid_ = Guid('{07bdaa90-b3d2-5701-97d1-c390ec62799c}')
30
+ @winrt_commethod(6)
31
+ def GetValues(self, values: FillArray[Single]) -> Void: ...
32
+ @winrt_commethod(7)
33
+ def get_Size(self) -> UInt32: ...
34
+ @winrt_commethod(8)
35
+ def get_VectorSpaceId(self) -> Guid: ...
36
+ Size = property(get_Size, None)
37
+ VectorSpaceId = property(get_VectorSpaceId, None)
38
+ class IEmbeddingVectorFactory(ComPtr):
39
+ extends: IInspectable
40
+ _classid_ = 'Microsoft.Windows.AI.Foundation.IEmbeddingVectorFactory'
41
+ _iid_ = Guid('{16b72758-2b69-5e97-b865-6a6a71683dd0}')
42
+ @winrt_commethod(6)
43
+ def CreateInstance(self, data: PassArray[Single], vectorSpaceID: Guid) -> win32more.Microsoft.Windows.AI.Foundation.EmbeddingVector: ...
44
+
45
+
46
+ make_ready(__name__)
@@ -0,0 +1,369 @@
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 IImageObjectRemover(ComPtr):
77
+ extends: IInspectable
78
+ _classid_ = 'Microsoft.Windows.AI.Imaging.IImageObjectRemover'
79
+ _iid_ = Guid('{cfa20faf-5ae1-5b8c-b0d8-e7c64db59d26}')
80
+ @winrt_commethod(6)
81
+ def RemoveFromSoftwareBitmap(self, softwareBitmap: win32more.Windows.Graphics.Imaging.SoftwareBitmap, softwareBitmapMask: win32more.Windows.Graphics.Imaging.SoftwareBitmap) -> win32more.Windows.Graphics.Imaging.SoftwareBitmap: ...
82
+ @winrt_commethod(7)
83
+ def RemoveFromImageBuffer(self, imageBuffer: win32more.Microsoft.Graphics.Imaging.ImageBuffer, imageBufferMask: win32more.Microsoft.Graphics.Imaging.ImageBuffer) -> win32more.Microsoft.Graphics.Imaging.ImageBuffer: ...
84
+ class IImageObjectRemoverStatics(ComPtr):
85
+ extends: IInspectable
86
+ _classid_ = 'Microsoft.Windows.AI.Imaging.IImageObjectRemoverStatics'
87
+ _iid_ = Guid('{cbcbd7e1-5b81-503f-8fcb-66ae1d6e5b9c}')
88
+ @winrt_commethod(6)
89
+ def GetReadyState(self) -> win32more.Microsoft.Windows.AI.AIFeatureReadyState: ...
90
+ @winrt_commethod(7)
91
+ def EnsureReadyAsync(self) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.AIFeatureReadyResult, Double]: ...
92
+ @winrt_commethod(8)
93
+ def CreateAsync(self) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Microsoft.Windows.AI.Imaging.ImageObjectRemover]: ...
94
+ class IImageScaler(ComPtr):
95
+ extends: IInspectable
96
+ _classid_ = 'Microsoft.Windows.AI.Imaging.IImageScaler'
97
+ _iid_ = Guid('{06eec88e-91c5-5326-8128-2807faafa571}')
98
+ @winrt_commethod(6)
99
+ def ScaleSoftwareBitmap(self, softwareBitmap: win32more.Windows.Graphics.Imaging.SoftwareBitmap, width: Int32, height: Int32) -> win32more.Windows.Graphics.Imaging.SoftwareBitmap: ...
100
+ @winrt_commethod(7)
101
+ def ScaleImageBuffer(self, imageBuffer: win32more.Microsoft.Graphics.Imaging.ImageBuffer, width: Int32, height: Int32) -> win32more.Microsoft.Graphics.Imaging.ImageBuffer: ...
102
+ @winrt_commethod(8)
103
+ def get_MaxSupportedScaleFactor(self) -> Int32: ...
104
+ MaxSupportedScaleFactor = property(get_MaxSupportedScaleFactor, None)
105
+ class IImageScalerStatics(ComPtr):
106
+ extends: IInspectable
107
+ _classid_ = 'Microsoft.Windows.AI.Imaging.IImageScalerStatics'
108
+ _iid_ = Guid('{75380c81-9c7f-544b-9337-6e638cfb464a}')
109
+ @winrt_commethod(6)
110
+ def GetReadyState(self) -> win32more.Microsoft.Windows.AI.AIFeatureReadyState: ...
111
+ @winrt_commethod(7)
112
+ def EnsureReadyAsync(self) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.AIFeatureReadyResult, Double]: ...
113
+ @winrt_commethod(8)
114
+ def CreateAsync(self) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Microsoft.Windows.AI.Imaging.ImageScaler]: ...
115
+ class IRecognizedLine(ComPtr):
116
+ extends: IInspectable
117
+ _classid_ = 'Microsoft.Windows.AI.Imaging.IRecognizedLine'
118
+ _iid_ = Guid('{612a6be6-f6bb-53c9-84ce-f0a5e565faa7}')
119
+ @winrt_commethod(6)
120
+ def get_Text(self) -> hstr: ...
121
+ @winrt_commethod(7)
122
+ def get_BoundingBox(self) -> win32more.Microsoft.Windows.AI.Imaging.RecognizedTextBoundingBox: ...
123
+ @winrt_commethod(8)
124
+ def get_Words(self) -> ReceiveArray[win32more.Microsoft.Windows.AI.Imaging.RecognizedWord]: ...
125
+ @winrt_commethod(9)
126
+ def get_Style(self) -> win32more.Microsoft.Windows.AI.Imaging.RecognizedLineStyle: ...
127
+ @winrt_commethod(10)
128
+ def get_LineStyleConfidence(self) -> Single: ...
129
+ BoundingBox = property(get_BoundingBox, None)
130
+ LineStyleConfidence = property(get_LineStyleConfidence, None)
131
+ Style = property(get_Style, None)
132
+ Text = property(get_Text, None)
133
+ Words = property(get_Words, None)
134
+ class IRecognizedText(ComPtr):
135
+ extends: IInspectable
136
+ _classid_ = 'Microsoft.Windows.AI.Imaging.IRecognizedText'
137
+ _iid_ = Guid('{ae4766d3-2924-57a6-b3d3-b866f59b9972}')
138
+ @winrt_commethod(6)
139
+ def get_Lines(self) -> ReceiveArray[win32more.Microsoft.Windows.AI.Imaging.RecognizedLine]: ...
140
+ @winrt_commethod(7)
141
+ def get_TextAngle(self) -> Single: ...
142
+ Lines = property(get_Lines, None)
143
+ TextAngle = property(get_TextAngle, None)
144
+ class IRecognizedWord(ComPtr):
145
+ extends: IInspectable
146
+ _classid_ = 'Microsoft.Windows.AI.Imaging.IRecognizedWord'
147
+ _iid_ = Guid('{6b53daab-3410-5088-826a-0788a1ee3b52}')
148
+ @winrt_commethod(6)
149
+ def get_Text(self) -> hstr: ...
150
+ @winrt_commethod(7)
151
+ def get_BoundingBox(self) -> win32more.Microsoft.Windows.AI.Imaging.RecognizedTextBoundingBox: ...
152
+ @winrt_commethod(8)
153
+ def get_MatchConfidence(self) -> Single: ...
154
+ BoundingBox = property(get_BoundingBox, None)
155
+ MatchConfidence = property(get_MatchConfidence, None)
156
+ Text = property(get_Text, None)
157
+ class ITextRecognizer(ComPtr):
158
+ extends: IInspectable
159
+ _classid_ = 'Microsoft.Windows.AI.Imaging.ITextRecognizer'
160
+ _iid_ = Guid('{be7bf6c0-30f6-570d-bd92-3ffe5665d933}')
161
+ @winrt_commethod(6)
162
+ def RecognizeTextFromImageAsync(self, imageBuffer: win32more.Microsoft.Graphics.Imaging.ImageBuffer) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Microsoft.Windows.AI.Imaging.RecognizedText]: ...
163
+ @winrt_commethod(7)
164
+ def RecognizeTextFromImage(self, imageBuffer: win32more.Microsoft.Graphics.Imaging.ImageBuffer) -> win32more.Microsoft.Windows.AI.Imaging.RecognizedText: ...
165
+ class ITextRecognizerStatics(ComPtr):
166
+ extends: IInspectable
167
+ _classid_ = 'Microsoft.Windows.AI.Imaging.ITextRecognizerStatics'
168
+ _iid_ = Guid('{3788c2fd-e496-53ab-85a7-e54a135824e9}')
169
+ @winrt_commethod(6)
170
+ def GetReadyState(self) -> win32more.Microsoft.Windows.AI.AIFeatureReadyState: ...
171
+ @winrt_commethod(7)
172
+ def EnsureReadyAsync(self) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.AIFeatureReadyResult, Double]: ...
173
+ @winrt_commethod(8)
174
+ def CreateAsync(self) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Microsoft.Windows.AI.Imaging.TextRecognizer]: ...
175
+ ImageDescriptionContract: UInt32 = 65536
176
+ class ImageDescriptionGenerator(ComPtr):
177
+ extends: IInspectable
178
+ implements: Tuple[ContextManagerProtocol]
179
+ default_interface: win32more.Microsoft.Windows.AI.Imaging.IImageDescriptionGenerator
180
+ _classid_ = 'Microsoft.Windows.AI.Imaging.ImageDescriptionGenerator'
181
+ @winrt_mixinmethod
182
+ 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]: ...
183
+ @winrt_mixinmethod
184
+ def Close(self: win32more.Windows.Foundation.IClosable) -> Void: ...
185
+ @winrt_classmethod
186
+ def GetReadyState(cls: win32more.Microsoft.Windows.AI.Imaging.IImageDescriptionGeneratorStatics) -> win32more.Microsoft.Windows.AI.AIFeatureReadyState: ...
187
+ @winrt_classmethod
188
+ def EnsureReadyAsync(cls: win32more.Microsoft.Windows.AI.Imaging.IImageDescriptionGeneratorStatics) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.AIFeatureReadyResult, Double]: ...
189
+ @winrt_classmethod
190
+ def CreateAsync(cls: win32more.Microsoft.Windows.AI.Imaging.IImageDescriptionGeneratorStatics) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Microsoft.Windows.AI.Imaging.ImageDescriptionGenerator]: ...
191
+ class ImageDescriptionKind(Enum, Int32):
192
+ _name_ = 'Microsoft.Windows.AI.Imaging.ImageDescriptionKind'
193
+ BriefDescription = 0
194
+ DetailedDescription = 1
195
+ DiagramDescription = 2
196
+ AccessibleDescription = 3
197
+ class ImageDescriptionResult(ComPtr):
198
+ extends: IInspectable
199
+ default_interface: win32more.Microsoft.Windows.AI.Imaging.IImageDescriptionResult
200
+ _classid_ = 'Microsoft.Windows.AI.Imaging.ImageDescriptionResult'
201
+ @winrt_mixinmethod
202
+ def get_Description(self: win32more.Microsoft.Windows.AI.Imaging.IImageDescriptionResult) -> hstr: ...
203
+ @winrt_mixinmethod
204
+ def get_Status(self: win32more.Microsoft.Windows.AI.Imaging.IImageDescriptionResult) -> win32more.Microsoft.Windows.AI.Imaging.ImageDescriptionResultStatus: ...
205
+ Description = property(get_Description, None)
206
+ Status = property(get_Status, None)
207
+ class ImageDescriptionResultStatus(Enum, Int32):
208
+ _name_ = 'Microsoft.Windows.AI.Imaging.ImageDescriptionResultStatus'
209
+ Complete = 0
210
+ InProgress = 1
211
+ BlockedByPolicy = 2
212
+ ImageBlockedByContentModeration = 3
213
+ TextInImageBlockedByContentModeration = 4
214
+ DescriptionTextBlockedByContentModeration = 5
215
+ ImageHasTooMuchText = 6
216
+ InternalError = 7
217
+ class ImageObjectExtractor(ComPtr):
218
+ extends: IInspectable
219
+ implements: Tuple[ContextManagerProtocol]
220
+ default_interface: win32more.Microsoft.Windows.AI.Imaging.IImageObjectExtractor
221
+ _classid_ = 'Microsoft.Windows.AI.Imaging.ImageObjectExtractor'
222
+ @winrt_mixinmethod
223
+ def GetSoftwareBitmapObjectMask(self: win32more.Microsoft.Windows.AI.Imaging.IImageObjectExtractor, hint: win32more.Microsoft.Windows.AI.Imaging.ImageObjectExtractorHint) -> win32more.Windows.Graphics.Imaging.SoftwareBitmap: ...
224
+ @winrt_mixinmethod
225
+ def GetImageBufferObjectMask(self: win32more.Microsoft.Windows.AI.Imaging.IImageObjectExtractor, hint: win32more.Microsoft.Windows.AI.Imaging.ImageObjectExtractorHint) -> win32more.Microsoft.Graphics.Imaging.ImageBuffer: ...
226
+ @winrt_mixinmethod
227
+ def Close(self: win32more.Windows.Foundation.IClosable) -> Void: ...
228
+ @winrt_classmethod
229
+ 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]: ...
230
+ @winrt_classmethod
231
+ 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]: ...
232
+ @winrt_classmethod
233
+ def GetReadyState(cls: win32more.Microsoft.Windows.AI.Imaging.IImageObjectExtractorStatics) -> win32more.Microsoft.Windows.AI.AIFeatureReadyState: ...
234
+ @winrt_classmethod
235
+ def EnsureReadyAsync(cls: win32more.Microsoft.Windows.AI.Imaging.IImageObjectExtractorStatics) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.AIFeatureReadyResult, Double]: ...
236
+ ImageObjectExtractorContract: UInt32 = 65536
237
+ class ImageObjectExtractorHint(ComPtr):
238
+ extends: IInspectable
239
+ default_interface: win32more.Microsoft.Windows.AI.Imaging.IImageObjectExtractorHint
240
+ _classid_ = 'Microsoft.Windows.AI.Imaging.ImageObjectExtractorHint'
241
+ def __init__(self, *args, **kwargs):
242
+ if kwargs:
243
+ super().__init__(**kwargs)
244
+ elif len(args) == 3:
245
+ super().__init__(move=win32more.Microsoft.Windows.AI.Imaging.ImageObjectExtractorHint.CreateInstance(*args))
246
+ else:
247
+ raise ValueError('no matched constructor')
248
+ @winrt_factorymethod
249
+ 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: ...
250
+ @winrt_mixinmethod
251
+ def get_IncludeRects(self: win32more.Microsoft.Windows.AI.Imaging.IImageObjectExtractorHint) -> win32more.Windows.Foundation.Collections.IVectorView[win32more.Windows.Graphics.RectInt32]: ...
252
+ @winrt_mixinmethod
253
+ def get_IncludePoints(self: win32more.Microsoft.Windows.AI.Imaging.IImageObjectExtractorHint) -> win32more.Windows.Foundation.Collections.IVectorView[win32more.Windows.Graphics.PointInt32]: ...
254
+ @winrt_mixinmethod
255
+ def get_ExcludePoints(self: win32more.Microsoft.Windows.AI.Imaging.IImageObjectExtractorHint) -> win32more.Windows.Foundation.Collections.IVectorView[win32more.Windows.Graphics.PointInt32]: ...
256
+ ExcludePoints = property(get_ExcludePoints, None)
257
+ IncludePoints = property(get_IncludePoints, None)
258
+ IncludeRects = property(get_IncludeRects, None)
259
+ class ImageObjectRemover(ComPtr):
260
+ extends: IInspectable
261
+ implements: Tuple[ContextManagerProtocol]
262
+ default_interface: win32more.Microsoft.Windows.AI.Imaging.IImageObjectRemover
263
+ _classid_ = 'Microsoft.Windows.AI.Imaging.ImageObjectRemover'
264
+ @winrt_mixinmethod
265
+ def RemoveFromSoftwareBitmap(self: win32more.Microsoft.Windows.AI.Imaging.IImageObjectRemover, softwareBitmap: win32more.Windows.Graphics.Imaging.SoftwareBitmap, softwareBitmapMask: win32more.Windows.Graphics.Imaging.SoftwareBitmap) -> win32more.Windows.Graphics.Imaging.SoftwareBitmap: ...
266
+ @winrt_mixinmethod
267
+ def RemoveFromImageBuffer(self: win32more.Microsoft.Windows.AI.Imaging.IImageObjectRemover, imageBuffer: win32more.Microsoft.Graphics.Imaging.ImageBuffer, imageBufferMask: win32more.Microsoft.Graphics.Imaging.ImageBuffer) -> win32more.Microsoft.Graphics.Imaging.ImageBuffer: ...
268
+ @winrt_mixinmethod
269
+ def Close(self: win32more.Windows.Foundation.IClosable) -> Void: ...
270
+ @winrt_classmethod
271
+ def GetReadyState(cls: win32more.Microsoft.Windows.AI.Imaging.IImageObjectRemoverStatics) -> win32more.Microsoft.Windows.AI.AIFeatureReadyState: ...
272
+ @winrt_classmethod
273
+ def EnsureReadyAsync(cls: win32more.Microsoft.Windows.AI.Imaging.IImageObjectRemoverStatics) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.AIFeatureReadyResult, Double]: ...
274
+ @winrt_classmethod
275
+ def CreateAsync(cls: win32more.Microsoft.Windows.AI.Imaging.IImageObjectRemoverStatics) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Microsoft.Windows.AI.Imaging.ImageObjectRemover]: ...
276
+ ImageObjectRemoverContract: UInt32 = 65536
277
+ class ImageScaler(ComPtr):
278
+ extends: IInspectable
279
+ implements: Tuple[ContextManagerProtocol]
280
+ default_interface: win32more.Microsoft.Windows.AI.Imaging.IImageScaler
281
+ _classid_ = 'Microsoft.Windows.AI.Imaging.ImageScaler'
282
+ @winrt_mixinmethod
283
+ def ScaleSoftwareBitmap(self: win32more.Microsoft.Windows.AI.Imaging.IImageScaler, softwareBitmap: win32more.Windows.Graphics.Imaging.SoftwareBitmap, width: Int32, height: Int32) -> win32more.Windows.Graphics.Imaging.SoftwareBitmap: ...
284
+ @winrt_mixinmethod
285
+ def ScaleImageBuffer(self: win32more.Microsoft.Windows.AI.Imaging.IImageScaler, imageBuffer: win32more.Microsoft.Graphics.Imaging.ImageBuffer, width: Int32, height: Int32) -> win32more.Microsoft.Graphics.Imaging.ImageBuffer: ...
286
+ @winrt_mixinmethod
287
+ def get_MaxSupportedScaleFactor(self: win32more.Microsoft.Windows.AI.Imaging.IImageScaler) -> Int32: ...
288
+ @winrt_mixinmethod
289
+ def Close(self: win32more.Windows.Foundation.IClosable) -> Void: ...
290
+ @winrt_classmethod
291
+ def GetReadyState(cls: win32more.Microsoft.Windows.AI.Imaging.IImageScalerStatics) -> win32more.Microsoft.Windows.AI.AIFeatureReadyState: ...
292
+ @winrt_classmethod
293
+ def EnsureReadyAsync(cls: win32more.Microsoft.Windows.AI.Imaging.IImageScalerStatics) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.AIFeatureReadyResult, Double]: ...
294
+ @winrt_classmethod
295
+ def CreateAsync(cls: win32more.Microsoft.Windows.AI.Imaging.IImageScalerStatics) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Microsoft.Windows.AI.Imaging.ImageScaler]: ...
296
+ MaxSupportedScaleFactor = property(get_MaxSupportedScaleFactor, None)
297
+ ImageScalerContract: UInt32 = 65536
298
+ class RecognizedLine(ComPtr):
299
+ extends: IInspectable
300
+ default_interface: win32more.Microsoft.Windows.AI.Imaging.IRecognizedLine
301
+ _classid_ = 'Microsoft.Windows.AI.Imaging.RecognizedLine'
302
+ @winrt_mixinmethod
303
+ def get_Text(self: win32more.Microsoft.Windows.AI.Imaging.IRecognizedLine) -> hstr: ...
304
+ @winrt_mixinmethod
305
+ def get_BoundingBox(self: win32more.Microsoft.Windows.AI.Imaging.IRecognizedLine) -> win32more.Microsoft.Windows.AI.Imaging.RecognizedTextBoundingBox: ...
306
+ @winrt_mixinmethod
307
+ def get_Words(self: win32more.Microsoft.Windows.AI.Imaging.IRecognizedLine) -> ReceiveArray[win32more.Microsoft.Windows.AI.Imaging.RecognizedWord]: ...
308
+ @winrt_mixinmethod
309
+ def get_Style(self: win32more.Microsoft.Windows.AI.Imaging.IRecognizedLine) -> win32more.Microsoft.Windows.AI.Imaging.RecognizedLineStyle: ...
310
+ @winrt_mixinmethod
311
+ def get_LineStyleConfidence(self: win32more.Microsoft.Windows.AI.Imaging.IRecognizedLine) -> Single: ...
312
+ BoundingBox = property(get_BoundingBox, None)
313
+ LineStyleConfidence = property(get_LineStyleConfidence, None)
314
+ Style = property(get_Style, None)
315
+ Text = property(get_Text, None)
316
+ Words = property(get_Words, None)
317
+ class RecognizedLineStyle(Enum, Int32):
318
+ _name_ = 'Microsoft.Windows.AI.Imaging.RecognizedLineStyle'
319
+ Handwritten = 0
320
+ class RecognizedText(ComPtr):
321
+ extends: IInspectable
322
+ default_interface: win32more.Microsoft.Windows.AI.Imaging.IRecognizedText
323
+ _classid_ = 'Microsoft.Windows.AI.Imaging.RecognizedText'
324
+ @winrt_mixinmethod
325
+ def get_Lines(self: win32more.Microsoft.Windows.AI.Imaging.IRecognizedText) -> ReceiveArray[win32more.Microsoft.Windows.AI.Imaging.RecognizedLine]: ...
326
+ @winrt_mixinmethod
327
+ def get_TextAngle(self: win32more.Microsoft.Windows.AI.Imaging.IRecognizedText) -> Single: ...
328
+ Lines = property(get_Lines, None)
329
+ TextAngle = property(get_TextAngle, None)
330
+ class RecognizedTextBoundingBox(Structure):
331
+ _name_ = 'Microsoft.Windows.AI.Imaging.RecognizedTextBoundingBox'
332
+ BottomLeft: win32more.Windows.Foundation.Point
333
+ BottomRight: win32more.Windows.Foundation.Point
334
+ TopLeft: win32more.Windows.Foundation.Point
335
+ TopRight: win32more.Windows.Foundation.Point
336
+ class RecognizedWord(ComPtr):
337
+ extends: IInspectable
338
+ default_interface: win32more.Microsoft.Windows.AI.Imaging.IRecognizedWord
339
+ _classid_ = 'Microsoft.Windows.AI.Imaging.RecognizedWord'
340
+ @winrt_mixinmethod
341
+ def get_Text(self: win32more.Microsoft.Windows.AI.Imaging.IRecognizedWord) -> hstr: ...
342
+ @winrt_mixinmethod
343
+ def get_BoundingBox(self: win32more.Microsoft.Windows.AI.Imaging.IRecognizedWord) -> win32more.Microsoft.Windows.AI.Imaging.RecognizedTextBoundingBox: ...
344
+ @winrt_mixinmethod
345
+ def get_MatchConfidence(self: win32more.Microsoft.Windows.AI.Imaging.IRecognizedWord) -> Single: ...
346
+ BoundingBox = property(get_BoundingBox, None)
347
+ MatchConfidence = property(get_MatchConfidence, None)
348
+ Text = property(get_Text, None)
349
+ TextRecognitionContract: UInt32 = 65536
350
+ class TextRecognizer(ComPtr):
351
+ extends: IInspectable
352
+ implements: Tuple[ContextManagerProtocol]
353
+ default_interface: win32more.Microsoft.Windows.AI.Imaging.ITextRecognizer
354
+ _classid_ = 'Microsoft.Windows.AI.Imaging.TextRecognizer'
355
+ @winrt_mixinmethod
356
+ 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]: ...
357
+ @winrt_mixinmethod
358
+ def RecognizeTextFromImage(self: win32more.Microsoft.Windows.AI.Imaging.ITextRecognizer, imageBuffer: win32more.Microsoft.Graphics.Imaging.ImageBuffer) -> win32more.Microsoft.Windows.AI.Imaging.RecognizedText: ...
359
+ @winrt_mixinmethod
360
+ def Close(self: win32more.Windows.Foundation.IClosable) -> Void: ...
361
+ @winrt_classmethod
362
+ def GetReadyState(cls: win32more.Microsoft.Windows.AI.Imaging.ITextRecognizerStatics) -> win32more.Microsoft.Windows.AI.AIFeatureReadyState: ...
363
+ @winrt_classmethod
364
+ def EnsureReadyAsync(cls: win32more.Microsoft.Windows.AI.Imaging.ITextRecognizerStatics) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.AIFeatureReadyResult, Double]: ...
365
+ @winrt_classmethod
366
+ def CreateAsync(cls: win32more.Microsoft.Windows.AI.Imaging.ITextRecognizerStatics) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Microsoft.Windows.AI.Imaging.TextRecognizer]: ...
367
+
368
+
369
+ make_ready(__name__)