Skip to content

v5.0

Compare
Choose a tag to compare
@DzmitrySmaliakou DzmitrySmaliakou released this 23 Aug 16:09
· 130 commits to master since this release

API:

  • The DocReader class is now a singleton.
  • API completely rewritten in Objective-C. From now on SDK is compatible with any Swift version.
  • Added a new Core framework type DocType.
  • Added a new scenario Capture, which allows obtaining a frame from the camera without image processing.
  • Added possibility to set a separate scenario for the capture button (captureButtonScenario).
  • Added barcode parsing results (DocumentReaderBarcodeResult).
  • Added possibility to set the measurement system in the final results: (processParams.measureSystem).
  • Added possibility to get a full original image from which the final document image was obtained. (processParams.returnUncroppedImage = true).
  • Added possibility to change the status text of the tooltip (customization.resultStatus).
  • Added possibility to change the alpha of the background mask around the frame (customizattion.backgroundMaskAlpha).
  • Added new GraphicFieldType enum member
    • gf_Portrait_Of_Child
  • Added new FieldType enum members:
    • ft_Date_First_Renewal
    • ft_Date_Second_Renewal
  • Added French localization.
  • Added new property DocReader.shared.license that contains information about the current license:
    • expiryDate: license expiration date
    • countryFilter: codes of countries whose documents are available for OCR (if the array is empty, it means that  there are no restrictions on countries).
  • Updated the logic of the Ocr scenario. Now it always returns a correct image of the document.
  • Changed the logic of layout of the pictures for the startup animation (helpAnimationImage), multi-page animation (multipageFrontAnimationImage, multipageBackAnimationImage) and background frame (borderBackgroundImage). Now it is possible to change the contentMode property for all the images listed above.
  • Updated the logic of capture button operation. Added timers of button display after the start of scanning (showCaptureButtonDelayFromStart) or after the detection of document boundaries (showCaptureButtonDelayFromDetect). By default, their values are 5 and 10 seconds, respectively.
  • Changed the structure of the results. Now most of them contain the property pageIndex, which contains the index of the page from which the result was obtained.
  • The documentType property in the final result DocumentReaderResults is now an array that contains information about each page that has been read.
  • In the enum GraphicFieldType, the value gf_DocumentFront is replaced by the gf_DocumentImage value. The value gf_DocumentRear has been deleted. Now, to obtain the back side of the document, the pageIndex property of the graphic field (DocumentReaderGraphicField) should be used.
  • Corrected the logic of calculating the final field validity status (CheckResult).
  • Fixed the logic of the MrzAndLocate scenario. Now it stops working only after detecting the MRZ and detecting the borders of the document containing this MRZ.
  • Fixed the logic of the customization properties statusPositionMultiplier and resultStatusPositionMultiplier.

Core:

  • Added OCR capability of Chinese Simplified and Traditional. Corresponding document templates updated.
  • Greatly improved OCR for next code pages (alphabets) and corresponding document templates updated:
    • Cyrillic (Belarusian, Bulgarian, Kazakh, Russian, Serbian, Ukrainian),
    • Baltic (Estonian, Latvian, Lithuanian),
    • Vietnamese,
    • Western European/Latin (English, French, Spanish, Portuguese, Dutch, Finnish, Icelandic, Italian, Norwegian, Swedish),
    • Georgian,
    • Turkish (Turkish, Azeri, Uzbek),
    • Hebrew.
  • Improved OCR of the documents with floating inconsistent personalization.
  • Implemented validation check between Issuing authority and document series in RussianFederation passports
  • Added new MRZ parsers:
    • Antigua and Barbuda Id Card,
    • Aruba DL,
    • Cuba ID card,
    • Ecuador ID card,
    • Uruguay ID card.
  • Added new barcode parsers:
    • Botswana Residence permit,
    • Cuba ID card,
    • Ghana DL,
    • Israel Entry/Exit permit,
    • Jamaica ID card,
    • Nicaragua Passport,
    • Mozambique Visa and Emergency certificate,
    • Togo ID card.
  • Improved recognition of non-ICAO format documents and laminated documents. Now we are not limited to standard ID sizes.
  • Fixed issue with Aztec codes detection.
  • Fixed issue with 9999 year in Date of expiry in Spanish ID cards.
  • Fixed issue with documents without expiration term in Bulgaria, Bolivia, Viet Nam.
  • Fixed issue with special symbols in text fields when performing partial value comparison to other sources.
  • Fixed issue with weight conversion if field contains code instead of actual weight value.
  • Fixed issue with country code incorrect validation in specific cases.
  • Fixed different minor issues with specific documents MRZ reading and correction.
  • 550 new documents added.
  • 244 countries and territories / 7572 documents included.