You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"""Gets the generate_double_page_spread_image of this ProcessParams. # noqa: E501
255
+
256
+
When enabled together with \"doublePageSpread\" and there is a passport with two pages spread in the image, pages will be cropped, straightened and aligned together, as if the document was captured on a flatbed scanner. # noqa: E501
257
+
258
+
:return: The generate_double_page_spread_image of this ProcessParams. # noqa: E501
"""Sets the generate_double_page_spread_image of this ProcessParams.
266
+
267
+
When enabled together with \"doublePageSpread\" and there is a passport with two pages spread in the image, pages will be cropped, straightened and aligned together, as if the document was captured on a flatbed scanner. # noqa: E501
268
+
269
+
:param generate_double_page_spread_image: The generate_double_page_spread_image of this ProcessParams. # noqa: E501
"""Gets the generate_double_page_spread_image of this ProcessParams. # noqa: E501
486
-
487
-
When enabled together with \"doublePageSpread\" and there is a passport with two pages spread in the image, pages will be cropped, straightened and aligned together, as if the document was captured on a flatbed scanner. # noqa: E501
488
-
489
-
:return: The generate_double_page_spread_image of this ProcessParams. # noqa: E501
"""Sets the generate_double_page_spread_image of this ProcessParams.
497
-
498
-
When enabled together with \"doublePageSpread\" and there is a passport with two pages spread in the image, pages will be cropped, straightened and aligned together, as if the document was captured on a flatbed scanner. # noqa: E501
499
-
500
-
:param generate_double_page_spread_image: The generate_double_page_spread_image of this ProcessParams. # noqa: E501
"""Gets the multi_doc_on_image of this ProcessParams. # noqa: E501
707
+
708
+
This option allows locating and cropping multiple documents from one image if enabled. # noqa: E501
709
+
710
+
:return: The multi_doc_on_image of this ProcessParams. # noqa: E501
711
+
:rtype: bool
712
+
"""
713
+
returnself._multi_doc_on_image
714
+
715
+
@multi_doc_on_image.setter
716
+
defmulti_doc_on_image(self, multi_doc_on_image):
717
+
"""Sets the multi_doc_on_image of this ProcessParams.
718
+
719
+
This option allows locating and cropping multiple documents from one image if enabled. # noqa: E501
720
+
721
+
:param multi_doc_on_image: The multi_doc_on_image of this ProcessParams. # noqa: E501
722
+
:type multi_doc_on_image: bool
723
+
"""
724
+
725
+
self._multi_doc_on_image=multi_doc_on_image
726
+
727
+
@property
728
+
defshift_expiry_date(self):
729
+
"""Gets the shift_expiry_date of this ProcessParams. # noqa: E501
730
+
731
+
This option allows shifting the date of expiry into the future or past for number of months specified. This is useful, for example, in some cases when document might be still valid for some period after original expiration date to prevent negative validity status for such documents. Or by shifting the date to the past will set negative validity for the documents that is about to expire in a specified number of months. # noqa: E501
732
+
733
+
:return: The shift_expiry_date of this ProcessParams. # noqa: E501
734
+
:rtype: int
735
+
"""
736
+
returnself._shift_expiry_date
737
+
738
+
@shift_expiry_date.setter
739
+
defshift_expiry_date(self, shift_expiry_date):
740
+
"""Sets the shift_expiry_date of this ProcessParams.
741
+
742
+
This option allows shifting the date of expiry into the future or past for number of months specified. This is useful, for example, in some cases when document might be still valid for some period after original expiration date to prevent negative validity status for such documents. Or by shifting the date to the past will set negative validity for the documents that is about to expire in a specified number of months. # noqa: E501
743
+
744
+
:param shift_expiry_date: The shift_expiry_date of this ProcessParams. # noqa: E501
745
+
:type shift_expiry_date: int
746
+
"""
747
+
748
+
self._shift_expiry_date=shift_expiry_date
749
+
750
+
@property
751
+
defminimal_holder_age(self):
752
+
"""Gets the minimal_holder_age of this ProcessParams. # noqa: E501
753
+
754
+
This options allows specifying the minimal age in years of the document holder for the document to be considered valid. # noqa: E501
755
+
756
+
:return: The minimal_holder_age of this ProcessParams. # noqa: E501
757
+
:rtype: int
758
+
"""
759
+
returnself._minimal_holder_age
760
+
761
+
@minimal_holder_age.setter
762
+
defminimal_holder_age(self, minimal_holder_age):
763
+
"""Sets the minimal_holder_age of this ProcessParams.
764
+
765
+
This options allows specifying the minimal age in years of the document holder for the document to be considered valid. # noqa: E501
766
+
767
+
:param minimal_holder_age: The minimal_holder_age of this ProcessParams. # noqa: E501
768
+
:type minimal_holder_age: int
769
+
"""
770
+
771
+
self._minimal_holder_age=minimal_holder_age
772
+
773
+
@property
774
+
defreturn_uncropped_image(self):
775
+
"""Gets the return_uncropped_image of this ProcessParams. # noqa: E501
776
+
777
+
This option allows returning input images in output if enabled. # noqa: E501
778
+
779
+
:return: The return_uncropped_image of this ProcessParams. # noqa: E501
0 commit comments