adyd-detector-api 0.2.2__tar.gz → 0.2.3__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.
- {adyd_detector_api-0.2.2 → adyd_detector_api-0.2.3}/PKG-INFO +1 -1
- {adyd_detector_api-0.2.2 → adyd_detector_api-0.2.3}/adyd_detector_api/models/detect_dto.py +31 -3
- {adyd_detector_api-0.2.2 → adyd_detector_api-0.2.3}/adyd_detector_api/openapi/openapi.yaml +5 -0
- {adyd_detector_api-0.2.2 → adyd_detector_api-0.2.3}/adyd_detector_api/openapi.yaml +3 -0
- {adyd_detector_api-0.2.2 → adyd_detector_api-0.2.3}/pyproject.toml +1 -1
- {adyd_detector_api-0.2.2 → adyd_detector_api-0.2.3}/README.md +0 -0
- {adyd_detector_api-0.2.2 → adyd_detector_api-0.2.3}/adyd_detector_api/__init__.py +0 -0
- {adyd_detector_api-0.2.2 → adyd_detector_api-0.2.3}/adyd_detector_api/__main__.py +0 -0
- {adyd_detector_api-0.2.2 → adyd_detector_api-0.2.3}/adyd_detector_api/encoder.py +0 -0
- {adyd_detector_api-0.2.2 → adyd_detector_api-0.2.3}/adyd_detector_api/models/__init__.py +0 -0
- {adyd_detector_api-0.2.2 → adyd_detector_api-0.2.3}/adyd_detector_api/models/base_model.py +0 -0
- {adyd_detector_api-0.2.2 → adyd_detector_api-0.2.3}/adyd_detector_api/models/bucket_file_list_dto.py +0 -0
- {adyd_detector_api-0.2.2 → adyd_detector_api-0.2.3}/adyd_detector_api/models/error_dto.py +0 -0
- {adyd_detector_api-0.2.2 → adyd_detector_api-0.2.3}/adyd_detector_api/models/file_info_storage_dto.py +0 -0
- {adyd_detector_api-0.2.2 → adyd_detector_api-0.2.3}/adyd_detector_api/models/message_dto.py +0 -0
- {adyd_detector_api-0.2.2 → adyd_detector_api-0.2.3}/adyd_detector_api/typing_utils.py +0 -0
- {adyd_detector_api-0.2.2 → adyd_detector_api-0.2.3}/adyd_detector_api/util.py +0 -0
|
@@ -12,7 +12,7 @@ class DetectDto(Model):
|
|
|
12
12
|
Do not edit the class manually.
|
|
13
13
|
"""
|
|
14
14
|
|
|
15
|
-
def __init__(self, show=None, save=None, show_labels=None, show_boxes=None): # noqa: E501
|
|
15
|
+
def __init__(self, show=None, save=None, show_labels=None, show_boxes=None, confidence=None): # noqa: E501
|
|
16
16
|
"""DetectDto - a model defined in OpenAPI
|
|
17
17
|
|
|
18
18
|
:param show: The show of this DetectDto. # noqa: E501
|
|
@@ -23,25 +23,30 @@ class DetectDto(Model):
|
|
|
23
23
|
:type show_labels: bool
|
|
24
24
|
:param show_boxes: The show_boxes of this DetectDto. # noqa: E501
|
|
25
25
|
:type show_boxes: bool
|
|
26
|
+
:param confidence: The confidence of this DetectDto. # noqa: E501
|
|
27
|
+
:type confidence: float
|
|
26
28
|
"""
|
|
27
29
|
self.openapi_types = {
|
|
28
30
|
'show': bool,
|
|
29
31
|
'save': bool,
|
|
30
32
|
'show_labels': bool,
|
|
31
|
-
'show_boxes': bool
|
|
33
|
+
'show_boxes': bool,
|
|
34
|
+
'confidence': float
|
|
32
35
|
}
|
|
33
36
|
|
|
34
37
|
self.attribute_map = {
|
|
35
38
|
'show': 'show',
|
|
36
39
|
'save': 'save',
|
|
37
40
|
'show_labels': 'show_labels',
|
|
38
|
-
'show_boxes': 'show_boxes'
|
|
41
|
+
'show_boxes': 'show_boxes',
|
|
42
|
+
'confidence': 'confidence'
|
|
39
43
|
}
|
|
40
44
|
|
|
41
45
|
self._show = show
|
|
42
46
|
self._save = save
|
|
43
47
|
self._show_labels = show_labels
|
|
44
48
|
self._show_boxes = show_boxes
|
|
49
|
+
self._confidence = confidence
|
|
45
50
|
|
|
46
51
|
@classmethod
|
|
47
52
|
def from_dict(cls, dikt) -> 'DetectDto':
|
|
@@ -145,3 +150,26 @@ class DetectDto(Model):
|
|
|
145
150
|
"""
|
|
146
151
|
|
|
147
152
|
self._show_boxes = show_boxes
|
|
153
|
+
|
|
154
|
+
@property
|
|
155
|
+
def confidence(self) -> float:
|
|
156
|
+
"""Gets the confidence of this DetectDto.
|
|
157
|
+
|
|
158
|
+
decimal value of confidence between 0 and 1 # noqa: E501
|
|
159
|
+
|
|
160
|
+
:return: The confidence of this DetectDto.
|
|
161
|
+
:rtype: float
|
|
162
|
+
"""
|
|
163
|
+
return self._confidence
|
|
164
|
+
|
|
165
|
+
@confidence.setter
|
|
166
|
+
def confidence(self, confidence: float):
|
|
167
|
+
"""Sets the confidence of this DetectDto.
|
|
168
|
+
|
|
169
|
+
decimal value of confidence between 0 and 1 # noqa: E501
|
|
170
|
+
|
|
171
|
+
:param confidence: The confidence of this DetectDto.
|
|
172
|
+
:type confidence: float
|
|
173
|
+
"""
|
|
174
|
+
|
|
175
|
+
self._confidence = confidence
|
|
@@ -319,6 +319,7 @@ components:
|
|
|
319
319
|
DetectDto:
|
|
320
320
|
description: ""
|
|
321
321
|
example:
|
|
322
|
+
confidence: 0.8008281904610115
|
|
322
323
|
show: true
|
|
323
324
|
save: true
|
|
324
325
|
show_labels: true
|
|
@@ -344,5 +345,9 @@ components:
|
|
|
344
345
|
description: ""
|
|
345
346
|
title: show_boxes
|
|
346
347
|
type: boolean
|
|
348
|
+
confidence:
|
|
349
|
+
description: 'decimal value of confidence between 0 and 1 '
|
|
350
|
+
title: confidence
|
|
351
|
+
type: number
|
|
347
352
|
title: DetectDto
|
|
348
353
|
type: object
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{adyd_detector_api-0.2.2 → adyd_detector_api-0.2.3}/adyd_detector_api/models/bucket_file_list_dto.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|