regula-documentreader-webclient 8.2.427.dev0__py3-none-any.whl → 8.2.428rc0__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.

Potentially problematic release.


This version of regula-documentreader-webclient might be problematic. Click here for more details.

@@ -11,6 +11,7 @@ import json
11
11
 
12
12
  from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt
13
13
  from typing import Any, ClassVar, Dict, List, Optional, Union
14
+ from regula.documentreader.webclient.gen.models.parsing_error_codes import ParsingErrorCodes
14
15
  from regula.documentreader.webclient.gen.models.rfid_access_control_procedure_type import RfidAccessControlProcedureType
15
16
  from regula.documentreader.webclient.gen.models.rfid_error_codes import RFIDErrorCodes
16
17
  from typing import Optional, Set
@@ -23,7 +24,7 @@ class RfidAccessControlInfo(BaseModel):
23
24
  type: RfidAccessControlProcedureType = Field(alias="Type")
24
25
  status: RFIDErrorCodes = Field(alias="Status")
25
26
  active_option_idx: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Index of the active variant of the procedure", alias="ActiveOptionIdx")
26
- notifications: List[StrictInt] = Field(description="List of remarks arisen during the procedure. Can be ParsingErrorCodes or ParsingNotificationCodes enum.", alias="Notifications")
27
+ notifications: List[ParsingErrorCodes] = Field(description="List of remarks arisen during the procedure.", alias="Notifications")
27
28
  access_control_options: Optional[List[Any]] = Field(default=None, description="List of structures with are used to describe the variants of the authentication or secure data access procedure performance within the context of the communication session with electronic document", alias="AccessControlOptions")
28
29
  __properties: ClassVar[List[str]] = ["Type", "Status", "ActiveOptionIdx", "Notifications", "AccessControlOptions"]
29
30
 
@@ -11,6 +11,7 @@ import json
11
11
 
12
12
  from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr
13
13
  from typing import Any, ClassVar, Dict, List, Union
14
+ from regula.documentreader.webclient.gen.models.parsing_error_codes import ParsingErrorCodes
14
15
  from regula.documentreader.webclient.gen.models.rfid_certificate_origin import RfidCertificateOrigin
15
16
  from regula.documentreader.webclient.gen.models.rfid_certificate_type import RfidCertificateType
16
17
  from regula.documentreader.webclient.gen.models.rfid_distinguished_name import RfidDistinguishedName
@@ -33,7 +34,7 @@ class RfidCertificateEx(BaseModel):
33
34
  subject: RfidDistinguishedName = Field(alias="Subject")
34
35
  subject_pk_algorithm: StrictStr = Field(description="Certificate public key algorithm identifier (OID); String in the format S1 (S2), where S1 – algorithm name, S2 – identifier (OID string).", alias="SubjectPKAlgorithm")
35
36
  extensions: List[RfidPkiExtension] = Field(description="List of the certificate extensions", alias="Extensions")
36
- notifications: List[StrictInt] = Field(description="List of remarks arisen during the analysis of the certificate data structure and its validity verification. Can be ParsingErrorCodes or ParsingNotificationCodes enum.", alias="Notifications")
37
+ notifications: List[ParsingErrorCodes] = Field(description="List of remarks arisen during the analysis of the certificate data structure and its validity verification.", alias="Notifications")
37
38
  origin: RfidCertificateOrigin = Field(alias="Origin")
38
39
  type: RfidCertificateType = Field(alias="Type")
39
40
  file_name: TrfFtString = Field(alias="FileName")
@@ -13,6 +13,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, Stric
13
13
  from typing import Any, ClassVar, Dict, List, Optional, Union
14
14
  from regula.documentreader.webclient.gen.models.graphic_field_type import GraphicFieldType
15
15
  from regula.documentreader.webclient.gen.models.parsed_data import ParsedData
16
+ from regula.documentreader.webclient.gen.models.parsing_error_codes import ParsingErrorCodes
16
17
  from regula.documentreader.webclient.gen.models.rfid_data_file_type import RfidDataFileType
17
18
  from regula.documentreader.webclient.gen.models.rfid_error_codes import RFIDErrorCodes
18
19
  from regula.documentreader.webclient.gen.models.security_object_certificates import SecurityObjectCertificates
@@ -31,7 +32,7 @@ class RfidDataFile(BaseModel):
31
32
  reading_status: RFIDErrorCodes = Field(alias="ReadingStatus")
32
33
  reading_time: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Time of reading, milliseconds", alias="ReadingTime")
33
34
  pa_status: Optional[RFIDErrorCodes] = Field(default=None, alias="PA_Status")
34
- notifications: Optional[List[StrictInt]] = Field(default=None, description="List of remarks arisen when reading data from the memory of the chip and analysing their ASN.1-structure. Can be ParsingErrorCodes or ParsingNotificationCodes enum.", alias="Notifications")
35
+ notifications: Optional[List[ParsingErrorCodes]] = Field(default=None, description="List of remarks arisen when reading data from the memory of the chip and analysing their ASN.1-structure.", alias="Notifications")
35
36
  doc_fields_text: Optional[List[TextFieldType]] = Field(default=None, description="List of document text fields formed on the basis of the file contents", alias="DocFields_Text")
36
37
  doc_fields_graphics: Optional[List[GraphicFieldType]] = Field(default=None, description="List of document graphic fields formed on the basis of the file contents", alias="DocFields_Graphics")
37
38
  doc_fields_originals: Optional[List[GraphicFieldType]] = Field(default=None, description="List of the original binary representation of graphic document fields formed on the basis of the file contents", alias="DocFields_Originals")
@@ -11,6 +11,7 @@ import json
11
11
 
12
12
  from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr
13
13
  from typing import Any, ClassVar, Dict, List, Union
14
+ from regula.documentreader.webclient.gen.models.parsing_error_codes import ParsingErrorCodes
14
15
  from regula.documentreader.webclient.gen.models.rfid_signer_info_ex import RfidSignerInfoEx
15
16
  from typing import Optional, Set
16
17
  from typing_extensions import Self
@@ -22,7 +23,7 @@ class RfidSecurityObject(BaseModel):
22
23
  version: Union[StrictFloat, StrictInt] = Field(description="Security object version", alias="Version")
23
24
  object_type: StrictStr = Field(description="Identifier of the security object", alias="ObjectType")
24
25
  file_reference: Union[StrictFloat, StrictInt] = Field(description="Reference to the source file of the security object data", alias="FileReference")
25
- notifications: List[StrictInt] = Field(description="List of remarks arisen during the analysis of SO data structure. Can be ParsingErrorCodes or ParsingNotificationCodes enum.", alias="Notifications")
26
+ notifications: List[ParsingErrorCodes] = Field(description="List of remarks arisen during the analysis of SO data structure.", alias="Notifications")
26
27
  signer_infos: List[RfidSignerInfoEx] = Field(description="List of containers to store information about digital signature objects contained in the SO", alias="SignerInfos")
27
28
  __properties: ClassVar[List[str]] = ["Version", "ObjectType", "FileReference", "Notifications", "SignerInfos"]
28
29
 
@@ -11,6 +11,7 @@ import json
11
11
 
12
12
  from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr
13
13
  from typing import Any, ClassVar, Dict, List, Union
14
+ from regula.documentreader.webclient.gen.models.parsing_error_codes import ParsingErrorCodes
14
15
  from regula.documentreader.webclient.gen.models.rfid_attribute_data import RfidAttributeData
15
16
  from regula.documentreader.webclient.gen.models.rfid_certificate_ex import RfidCertificateEx
16
17
  from regula.documentreader.webclient.gen.models.rfid_distinguished_name import RfidDistinguishedName
@@ -34,7 +35,7 @@ class RfidSignerInfoEx(BaseModel):
34
35
  pa_status: RFIDErrorCodes = Field(alias="PA_Status")
35
36
  certificate_chain: List[RfidCertificateEx] = Field(description="Certificate chain, used for the digital signature verification.", alias="CertificateChain")
36
37
  data_to_hash: StrictStr = Field(description="Binary data array used to calculate the hash value for digital signature verification. Base64 encoded.", alias="DataToHash")
37
- notifications: List[StrictInt] = Field(description="Can be ParsingErrorCodes or ParsingNotificationCodes enum.", alias="Notifications")
38
+ notifications: List[ParsingErrorCodes] = Field(alias="Notifications")
38
39
  __properties: ClassVar[List[str]] = ["Version", "Issuer", "SerialNumber", "SubjectKeyIdentifier", "DigestAlgorithm", "SignedAttributes", "SignatureAlgorithm", "Signature", "PA_Status", "CertificateChain", "DataToHash", "Notifications"]
39
40
 
40
41
  model_config = ConfigDict(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: regula_documentreader_webclient
3
- Version: 8.2.427.dev0
3
+ Version: 8.2.428rc0
4
4
  Summary: Regula's Document Reader python client
5
5
  Home-page: https://regulaforensics.com
6
6
  Author: Regula Forensics, Inc.
@@ -139,7 +139,6 @@ regula/documentreader/webclient/gen/models/measure_system.py,sha256=CltBZGhqVVeu
139
139
  regula/documentreader/webclient/gen/models/mrz_detect_mode_enum.py,sha256=gc8c4HTAa5yRutUhXOFbO2ZKhphArW0vhenb24bEJTE,643
140
140
  regula/documentreader/webclient/gen/models/mrz_detector_result.py,sha256=3Iy1Emh-78SLcNadQnU4tD5d8WS1Qgt06qXlWO9L7SA,3145
141
141
  regula/documentreader/webclient/gen/models/mrz_format.py,sha256=Uct326zRg58CUYdSyKdFbLU76JTSuw1KnDbFaidY5aQ,559
142
- regula/documentreader/webclient/gen/models/mrz_position.py,sha256=6FgL2GlrCFdiWlHN0lzx2JLAzT8_eCzdGWVlFdY4Th0,5355
143
142
  regula/documentreader/webclient/gen/models/mrz_position_item.py,sha256=8qHyJkiM8CavGJ-hRWhAfVBx5mFIR1A442HfCoxopJw,2640
144
143
  regula/documentreader/webclient/gen/models/mrz_position_result.py,sha256=ZUJmojw4nDESbdqoa4rXmkz0ifLkJeeRiFmghAcLA-s,3076
145
144
  regula/documentreader/webclient/gen/models/mrz_rows_item.py,sha256=zg8ionWM6Zk0foddP0zp8sYnTLKrLo5lU1ZnjhA5coc,2905
@@ -178,7 +177,7 @@ regula/documentreader/webclient/gen/models/result_item.py,sha256=_IYZJOnQHOuBEOB
178
177
  regula/documentreader/webclient/gen/models/result_mrz_detector.py,sha256=IdmjTAj-ULqeNx0R-UIwQx_59cM0FOPUgyyv3vikaSY,3238
179
178
  regula/documentreader/webclient/gen/models/result_mrz_detector_item.py,sha256=nNrW_cjobe9gE1TPdneWeV94w5L2ZWGhHmw2rDo6-9Y,2733
180
179
  regula/documentreader/webclient/gen/models/rfid_a_chip.py,sha256=UyJYlx6g9NXxGPfcRGMwYkL_GeP8JydF81NftfLVau4,684
181
- regula/documentreader/webclient/gen/models/rfid_access_control_info.py,sha256=tef7NPrE_FKAfC3SVvQ43i2wzLiOYNcgrpGpP4k7sK8,3724
180
+ regula/documentreader/webclient/gen/models/rfid_access_control_info.py,sha256=Z0j3pa_VshT6Lxyg433uqaos0KvUvDj0PDmxzeE0dqI,3766
182
181
  regula/documentreader/webclient/gen/models/rfid_access_control_procedure_type.py,sha256=4sZv-krwp4q3LSz9Wi4of-tKAulHh-n4V2LD60tfL6A,720
183
182
  regula/documentreader/webclient/gen/models/rfid_access_key.py,sha256=GVB1vHA2VdxNIzQYdUXEnCqPiW2CkK3yGcn2gFUXRq4,3206
184
183
  regula/documentreader/webclient/gen/models/rfid_application.py,sha256=MG_96fg0C9sWc5vH7pd2Qm6B82_OivIloRqc5ZNCMnw,4134
@@ -188,10 +187,10 @@ regula/documentreader/webclient/gen/models/rfid_attribute_name.py,sha256=pHRkzcV
188
187
  regula/documentreader/webclient/gen/models/rfid_authentication_procedure_type.py,sha256=Aot40N251tRBx1EM3ZmTlpmBm6Ga6CA-lg-KcC2MfyI,693
189
188
  regula/documentreader/webclient/gen/models/rfid_baud_rate.py,sha256=gpuy0XNmcVuO3XXbihl8C95clNwMl3P43cYOTtH1ecs,704
190
189
  regula/documentreader/webclient/gen/models/rfid_card_properties_ext.py,sha256=_c7mzRTGHA74nxZYK80lgOkVkHpvGKmdx2XMM_PR6AE,5720
191
- regula/documentreader/webclient/gen/models/rfid_certificate_ex.py,sha256=ALN8tyg_pDbSqFqwLXDYflixbHU8L9Uhd0NJTW3nnS8,6700
190
+ regula/documentreader/webclient/gen/models/rfid_certificate_ex.py,sha256=g9Hx08gznQ2V3hEUHLa7_E0ooDq4hYw-vVzhlOmnguo,6742
192
191
  regula/documentreader/webclient/gen/models/rfid_certificate_origin.py,sha256=6Aso_sc8O0lyp8ivwt5zAWK2_9aWrzzJb7sx9C9jzh8,819
193
192
  regula/documentreader/webclient/gen/models/rfid_certificate_type.py,sha256=wKBEbAeufCBYQKP2r30B5JqZ3MCt15N4Rk5m9VLI4Xc,789
194
- regula/documentreader/webclient/gen/models/rfid_data_file.py,sha256=z_d_Vb69Grz_c4AOlEHBv2HXKOQ03WESz1RNraa-s4Y,6423
193
+ regula/documentreader/webclient/gen/models/rfid_data_file.py,sha256=atcy-xrke2DxU-B1JuAM88TLQ8_CzrYXPHJEZUbzfEg,6465
195
194
  regula/documentreader/webclient/gen/models/rfid_data_file_type.py,sha256=I8Ek0A51V6b46wHVnGYb7kOKVA0uqvqV2DR3PnbdD9o,2661
196
195
  regula/documentreader/webclient/gen/models/rfid_data_group_type_tag.py,sha256=T6rliGapGxzdcjAYlW4FZ8f19Tele7_IOuZxFRBUa00,1694
197
196
  regula/documentreader/webclient/gen/models/rfid_dg1.py,sha256=DgVKzHAY389J3ypOUjpvDz2RtxbIz1hdRDCDIgQUCpM,5304
@@ -207,9 +206,9 @@ regula/documentreader/webclient/gen/models/rfid_origin.py,sha256=zfvRgfuT-EhovSS
207
206
  regula/documentreader/webclient/gen/models/rfid_password_type.py,sha256=7zkWjkyhflKnIdCG9rmd0UywmKhKDmQPGQ3ERa5-nl4,683
208
207
  regula/documentreader/webclient/gen/models/rfid_pki_extension.py,sha256=P_Ju77ncoITcDAzrwP5dR90YS45lcbcUrMDdgCLoeJA,2709
209
208
  regula/documentreader/webclient/gen/models/rfid_raw_data.py,sha256=WR4qedgLDA4JV9iS0B9isLqpTtRuTRTPLyX7OQe-6RI,2370
210
- regula/documentreader/webclient/gen/models/rfid_security_object.py,sha256=rEEF688wRrmGrFNn2TcO30IN9wdFNZMhMF9D_N1NeDY,4016
209
+ regula/documentreader/webclient/gen/models/rfid_security_object.py,sha256=Bh-w-EnnYNlq_BU9jV0-7xGuNew8vAzkDp22AVsG63U,4058
211
210
  regula/documentreader/webclient/gen/models/rfid_session_data.py,sha256=0UG5scyEB6A3ako0V-OL2XGlBbtRgDhC9b7_Rb1iZ-g,9000
212
- regula/documentreader/webclient/gen/models/rfid_signer_info_ex.py,sha256=U9uEvD0U3hJdzKNh2FLg18hjYro5dq1zSfM9bJJX54w,7039
211
+ regula/documentreader/webclient/gen/models/rfid_signer_info_ex.py,sha256=b1J7oZZBOl4gDcRRAqAvev9nHi0OPemq1Hqpn2D8C44,7066
213
212
  regula/documentreader/webclient/gen/models/rfid_terminal.py,sha256=-wjp072lNA5XdozvRn4TjGogwSvyJVPxrQyVGFA3zvk,3081
214
213
  regula/documentreader/webclient/gen/models/rfid_terminal_type.py,sha256=DBzk3igWo7G2jUD6w6OxwjtZKGjs2GxERX-BeJnLg_U,739
215
214
  regula/documentreader/webclient/gen/models/rfid_text_data_result.py,sha256=K7oc0hE-ulsftzEUTJ6LKckoBtjRnfTzhwX2pz3VCYs,3227
@@ -258,7 +257,7 @@ regula/documentreader/webclient/gen/models/verification_result.py,sha256=E6bCVR5
258
257
  regula/documentreader/webclient/gen/models/verified_field_map.py,sha256=IY61Fh_I1cfecOYHPywHX-C9zc0w9POm3Jn68tNXq-k,4713
259
258
  regula/documentreader/webclient/gen/models/visibility.py,sha256=GACgQd_8lx_cwMwI5lCi7cTxEWxw2atbJo6uI4mTKpQ,602
260
259
  regula/documentreader/webclient/gen/models/visual_extended_field_item.py,sha256=3Q86Cngm5H0eIB7NzHtuT90-Kh6GQz4YzT2sDgJWsvM,5001
261
- regula_documentreader_webclient-8.2.427.dev0.dist-info/METADATA,sha256=nvcgD0CKqBquRSizaXh8ObepPawgOB1hnX0SCGcZ7G8,4001
262
- regula_documentreader_webclient-8.2.427.dev0.dist-info/WHEEL,sha256=lTU6B6eIfYoiQJTZNc-fyaR6BpL6ehTzU3xGYxn2n8k,91
263
- regula_documentreader_webclient-8.2.427.dev0.dist-info/top_level.txt,sha256=SFSSVn4j8QDivd3307s97NtpIJ8zOjiWZloAxZIClJY,7
264
- regula_documentreader_webclient-8.2.427.dev0.dist-info/RECORD,,
260
+ regula_documentreader_webclient-8.2.428rc0.dist-info/METADATA,sha256=OU0hhR0fNeOLn8wF1JmHeJGAxNbWhYyF57DWhQ7TbZ0,3999
261
+ regula_documentreader_webclient-8.2.428rc0.dist-info/WHEEL,sha256=lTU6B6eIfYoiQJTZNc-fyaR6BpL6ehTzU3xGYxn2n8k,91
262
+ regula_documentreader_webclient-8.2.428rc0.dist-info/top_level.txt,sha256=SFSSVn4j8QDivd3307s97NtpIJ8zOjiWZloAxZIClJY,7
263
+ regula_documentreader_webclient-8.2.428rc0.dist-info/RECORD,,
@@ -1,124 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- Generated by: https://openapi-generator.tech
5
- """
6
-
7
- from __future__ import annotations
8
- import pprint
9
- import re # noqa: F401
10
- import json
11
-
12
- from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt
13
- from typing import Any, ClassVar, Dict, List, Optional, Union
14
- from regula.documentreader.webclient.gen.models.document_format import DocumentFormat
15
- from regula.documentreader.webclient.gen.models.point import Point
16
- from typing import Optional, Set
17
- from typing_extensions import Self
18
-
19
- class MrzPosition(BaseModel):
20
- """
21
- MrzPosition
22
- """ # noqa: E501
23
- doc_format: DocumentFormat = Field(alias="docFormat")
24
- angle: Union[StrictFloat, StrictInt] = Field(description="Document rotation angle", alias="Angle")
25
- width: StrictInt = Field(description="Document width", alias="Width")
26
- height: StrictInt = Field(description="Document height", alias="Height")
27
- center: Point = Field(alias="Center")
28
- left_bottom: Point = Field(alias="LeftBottom")
29
- left_top: Point = Field(alias="LeftTop")
30
- right_bottom: Point = Field(alias="RightBottom")
31
- right_top: Point = Field(alias="RightTop")
32
- dpi: StrictInt = Field(alias="Dpi")
33
- inverse: Optional[StrictInt] = Field(default=None, alias="Inverse")
34
- obj_area: Optional[StrictInt] = Field(default=None, alias="ObjArea")
35
- obj_int_angle_dev: Optional[StrictInt] = Field(default=None, alias="ObjIntAngleDev")
36
- perspective_tr: Optional[StrictInt] = Field(default=None, alias="PerspectiveTr")
37
- result_status: Optional[StrictInt] = Field(default=None, alias="ResultStatus")
38
- __properties: ClassVar[List[str]] = ["docFormat", "Angle", "Width", "Height", "Center", "LeftBottom", "LeftTop", "RightBottom", "RightTop", "Dpi", "Inverse", "ObjArea", "ObjIntAngleDev", "PerspectiveTr", "ResultStatus"]
39
-
40
- model_config = ConfigDict(
41
- populate_by_name=True,
42
- validate_assignment=True,
43
- protected_namespaces=(),
44
- )
45
-
46
-
47
- def to_str(self) -> str:
48
- """Returns the string representation of the model using alias"""
49
- return pprint.pformat(self.model_dump(by_alias=True))
50
-
51
- def to_json(self) -> str:
52
- """Returns the JSON representation of the model using alias"""
53
- # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
54
- return json.dumps(self.to_dict())
55
-
56
- @classmethod
57
- def from_json(cls, json_str: str) -> Optional[Self]:
58
- """Create an instance of MrzPosition from a JSON string"""
59
- return cls.from_dict(json.loads(json_str))
60
-
61
- def to_dict(self) -> Dict[str, Any]:
62
- """Return the dictionary representation of the model using alias.
63
-
64
- This has the following differences from calling pydantic's
65
- `self.model_dump(by_alias=True)`:
66
-
67
- * `None` is only added to the output dict for nullable fields that
68
- were set at model initialization. Other fields with value `None`
69
- are ignored.
70
- """
71
- excluded_fields: Set[str] = set([
72
- ])
73
-
74
- _dict = self.model_dump(
75
- by_alias=True,
76
- exclude=excluded_fields,
77
- exclude_none=True,
78
- )
79
- # override the default output from pydantic by calling `to_dict()` of center
80
- if self.center:
81
- _dict['Center'] = self.center.to_dict()
82
- # override the default output from pydantic by calling `to_dict()` of left_bottom
83
- if self.left_bottom:
84
- _dict['LeftBottom'] = self.left_bottom.to_dict()
85
- # override the default output from pydantic by calling `to_dict()` of left_top
86
- if self.left_top:
87
- _dict['LeftTop'] = self.left_top.to_dict()
88
- # override the default output from pydantic by calling `to_dict()` of right_bottom
89
- if self.right_bottom:
90
- _dict['RightBottom'] = self.right_bottom.to_dict()
91
- # override the default output from pydantic by calling `to_dict()` of right_top
92
- if self.right_top:
93
- _dict['RightTop'] = self.right_top.to_dict()
94
- return _dict
95
-
96
- @classmethod
97
- def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
98
- """Create an instance of MrzPosition from a dict"""
99
- if obj is None:
100
- return None
101
-
102
- if not isinstance(obj, dict):
103
- return cls.model_validate(obj)
104
-
105
- _obj = cls.model_validate({
106
- "docFormat": obj.get("docFormat"),
107
- "Angle": obj.get("Angle"),
108
- "Width": obj.get("Width"),
109
- "Height": obj.get("Height"),
110
- "Center": Point.from_dict(obj["Center"]) if obj.get("Center") is not None else None,
111
- "LeftBottom": Point.from_dict(obj["LeftBottom"]) if obj.get("LeftBottom") is not None else None,
112
- "LeftTop": Point.from_dict(obj["LeftTop"]) if obj.get("LeftTop") is not None else None,
113
- "RightBottom": Point.from_dict(obj["RightBottom"]) if obj.get("RightBottom") is not None else None,
114
- "RightTop": Point.from_dict(obj["RightTop"]) if obj.get("RightTop") is not None else None,
115
- "Dpi": obj.get("Dpi"),
116
- "Inverse": obj.get("Inverse"),
117
- "ObjArea": obj.get("ObjArea"),
118
- "ObjIntAngleDev": obj.get("ObjIntAngleDev"),
119
- "PerspectiveTr": obj.get("PerspectiveTr"),
120
- "ResultStatus": obj.get("ResultStatus")
121
- })
122
- return _obj
123
-
124
-