Skip to content

Commit 7d1d113

Browse files
actions-userhleb-albau
authored andcommitted
fix image qa params names
1 parent 1ce2ca1 commit 7d1d113

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

src/Regula.DocumentReader.WebClient/Model/ProcessParams.cs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ protected ProcessParams() { }
5757
/// <param name="updateOCRValidityByGlare">When enabled, fail OCR field validity, if there is a glare over the text field on the image..</param>
5858
/// <param name="checkRequiredTextFields">When enabled, each field in template will be checked for value presence and if the field is marked as required, but has no value, it will have \&quot;error\&quot; in validity status..</param>
5959
/// <param name="returnCroppedBarcode">When enabled, returns cropped barcode images for unknown documents.</param>
60-
/// <param name="imageQA">imageQA.</param>
60+
/// <param name="imageQa">imageQa.</param>
6161
/// <param name="forceDocFormat">forceDocFormat.</param>
6262
/// <param name="noGraphics">When enabled no graphic fields will be cropped from document image..</param>
6363
/// <param name="documentAreaMin">Specifies minimal area of the image that document should cover to be treated as candidate when locating. Value should be in range from 0 to 1, where 1 is when document should fully cover the image..</param>
@@ -70,7 +70,7 @@ protected ProcessParams() { }
7070
/// <param name="forceReadMrzBeforeLocate">This option can be set to true to make sure that in series processing MRZ is located fully inside the result document image, if present on the document. Enabling this option may add extra processing time, by disabling optimizations, but allows more stability in output image quality..</param>
7171
/// <param name="parseBarcodes">This option can be set to false to stop parsing after barcode is read..</param>
7272
/// <param name="convertCase">convertCase.</param>
73-
public ProcessParams(string scenario = default(string), List<int> resultTypeOutput = default(List<int>), bool doublePageSpread = default(bool), bool generateDoublePageSpreadImage = default(bool), List<int> fieldTypesFilter = default(List<int>), string dateFormat = default(string), int measureSystem = default(int), int imageDpiOutMax = default(int), bool alreadyCropped = default(bool), Dictionary<string, Object> customParams = default(Dictionary<string, Object>), List<PerDocumentConfig> config = default(List<PerDocumentConfig>), bool log = default(bool), string logLevel = default(string), int forceDocID = default(int), bool matchTextFieldMask = default(bool), bool fastDocDetect = default(bool), bool updateOCRValidityByGlare = default(bool), bool checkRequiredTextFields = default(bool), bool returnCroppedBarcode = default(bool), ImageQA imageQA = default(ImageQA), int forceDocFormat = default(int), bool noGraphics = default(bool), float documentAreaMin = default(float), bool depersonalizeLog = default(bool), bool multiDocOnImage = default(bool), int shiftExpiryDate = default(int), int minimalHolderAge = default(int), bool returnUncroppedImage = default(bool), List<string> mrzFormatsFilter = default(List<string>), bool forceReadMrzBeforeLocate = default(bool), bool parseBarcodes = default(bool), int convertCase = default(int))
73+
public ProcessParams(string scenario = default(string), List<int> resultTypeOutput = default(List<int>), bool doublePageSpread = default(bool), bool generateDoublePageSpreadImage = default(bool), List<int> fieldTypesFilter = default(List<int>), string dateFormat = default(string), int measureSystem = default(int), int imageDpiOutMax = default(int), bool alreadyCropped = default(bool), Dictionary<string, Object> customParams = default(Dictionary<string, Object>), List<PerDocumentConfig> config = default(List<PerDocumentConfig>), bool log = default(bool), string logLevel = default(string), int forceDocID = default(int), bool matchTextFieldMask = default(bool), bool fastDocDetect = default(bool), bool updateOCRValidityByGlare = default(bool), bool checkRequiredTextFields = default(bool), bool returnCroppedBarcode = default(bool), ImageQA imageQa = default(ImageQA), int forceDocFormat = default(int), bool noGraphics = default(bool), float documentAreaMin = default(float), bool depersonalizeLog = default(bool), bool multiDocOnImage = default(bool), int shiftExpiryDate = default(int), int minimalHolderAge = default(int), bool returnUncroppedImage = default(bool), List<string> mrzFormatsFilter = default(List<string>), bool forceReadMrzBeforeLocate = default(bool), bool parseBarcodes = default(bool), int convertCase = default(int))
7474
{
7575
// to ensure "scenario" is required (not null)
7676
if (scenario == null)
@@ -100,7 +100,7 @@ protected ProcessParams() { }
100100
this.UpdateOCRValidityByGlare = updateOCRValidityByGlare;
101101
this.CheckRequiredTextFields = checkRequiredTextFields;
102102
this.ReturnCroppedBarcode = returnCroppedBarcode;
103-
this.ImageQA = imageQA;
103+
this.ImageQa = imageQa;
104104
this.ForceDocFormat = forceDocFormat;
105105
this.NoGraphics = noGraphics;
106106
this.DocumentAreaMin = documentAreaMin;
@@ -246,10 +246,10 @@ protected ProcessParams() { }
246246
public bool ReturnCroppedBarcode { get; set; }
247247

248248
/// <summary>
249-
/// Gets or Sets ImageQA
249+
/// Gets or Sets ImageQa
250250
/// </summary>
251-
[DataMember(Name="imageQA", EmitDefaultValue=false)]
252-
public ImageQA ImageQA { get; set; }
251+
[DataMember(Name="imageQa", EmitDefaultValue=false)]
252+
public ImageQA ImageQa { get; set; }
253253

254254
/// <summary>
255255
/// Gets or Sets ForceDocFormat
@@ -360,7 +360,7 @@ public override string ToString()
360360
sb.Append(" UpdateOCRValidityByGlare: ").Append(UpdateOCRValidityByGlare).Append("\n");
361361
sb.Append(" CheckRequiredTextFields: ").Append(CheckRequiredTextFields).Append("\n");
362362
sb.Append(" ReturnCroppedBarcode: ").Append(ReturnCroppedBarcode).Append("\n");
363-
sb.Append(" ImageQA: ").Append(ImageQA).Append("\n");
363+
sb.Append(" ImageQa: ").Append(ImageQa).Append("\n");
364364
sb.Append(" ForceDocFormat: ").Append(ForceDocFormat).Append("\n");
365365
sb.Append(" NoGraphics: ").Append(NoGraphics).Append("\n");
366366
sb.Append(" DocumentAreaMin: ").Append(DocumentAreaMin).Append("\n");
@@ -507,9 +507,9 @@ public bool Equals(ProcessParams input)
507507
this.ReturnCroppedBarcode.Equals(input.ReturnCroppedBarcode))
508508
) &&
509509
(
510-
this.ImageQA == input.ImageQA ||
511-
(this.ImageQA != null &&
512-
this.ImageQA.Equals(input.ImageQA))
510+
this.ImageQa == input.ImageQa ||
511+
(this.ImageQa != null &&
512+
this.ImageQa.Equals(input.ImageQa))
513513
) &&
514514
(
515515
this.ForceDocFormat == input.ForceDocFormat ||
@@ -621,8 +621,8 @@ public override int GetHashCode()
621621
hashCode = hashCode * 59 + this.CheckRequiredTextFields.GetHashCode();
622622
if (this.ReturnCroppedBarcode != null)
623623
hashCode = hashCode * 59 + this.ReturnCroppedBarcode.GetHashCode();
624-
if (this.ImageQA != null)
625-
hashCode = hashCode * 59 + this.ImageQA.GetHashCode();
624+
if (this.ImageQa != null)
625+
hashCode = hashCode * 59 + this.ImageQa.GetHashCode();
626626
if (this.ForceDocFormat != null)
627627
hashCode = hashCode * 59 + this.ForceDocFormat.GetHashCode();
628628
if (this.NoGraphics != null)

0 commit comments

Comments
 (0)