Exemplo n.º 1
0
        public BlinkIDImplementation()
        {
            customDelegate = new CustomDelegate();

            BlinkID.Instance().LicenseKey = "PYIECP3J-XHJMFSKH-XXPEIG62-R7634IH2-5OZFR4WV-XYQPV25S-LDZNKHXW-CLLJIJF5";
            BlinkID.Instance().Delegate   = customDelegate;

            BlinkID.Instance().AddMrtdRecognizer();

            //BlinkID.Instance ().AddEudlRecognizer ();
            //BlinkID.Instance ().AddGerMrzRecognizer ();
            //BlinkID.Instance ().AddGerIDFrontRecognizer ();
            //BlinkID.Instance ().AddCroIdFrontRecognizer ();
            //BlinkID.Instance ().AddCroIdBackRecognizer ();
            //BlinkID.Instance ().AddAusIDFrontRecognizer ();
            //BlinkID.Instance ().AddAusIDBackRecognizer ();
            //BlinkID.Instance ().AddBarDecoderRecognizer ();
            //BlinkID.Instance ().AddCzIDFrontRecognizer ();
            //BlinkID.Instance ().AddCzIDBackRecognizer ();
            //BlinkID.Instance ().AddDedlRecognizer ();
            //BlinkID.Instance ().AddEudlRecognizer ();
            //BlinkID.Instance ().AddMyKadRecognizer ();
            //BlinkID.Instance ().AddIKadRecognizer ();
            //BlinkID.Instance ().AddPdf417Recognizer ();
            //BlinkID.Instance ().AddSingaporeIDRecognizer ();
            //BlinkID.Instance ().AddUkdlRecognizer ();
            //BlinkID.Instance ().AddSerbIDFrontRecognizer ();
            //BlinkID.Instance ().AddSerbIDBackRecognizer ();
            //BlinkID.Instance ().AddSlovakIDFrontRecognizer ();
            //BlinkID.Instance ().AddSlovakIDBackRecognizer ();
            //BlinkID.Instance ().AddSlovenianIDFrontRecognizer ();
            //BlinkID.Instance ().AddSlovenianIDBackRecognizer ();
            //BlinkID.Instance ().AddSingaporeIDFrontRecognizer ();
            //BlinkID.Instance ().AddSingaporeIDBackRecognizer ();
            //BlinkID.Instance ().AddUsdlRecognizer ();
            //BlinkID.Instance ().AddAusdlRecognizer ();
            //BlinkID.Instance ().AddZXingRecognizer ();

            //BlinkID.Instance ().AddVinParser ("VIN_PARSER_ID");
            //BlinkID.Instance ().AddLicensePlatesParser ("LICENSE_PLATES_PARSER_ID");

            //BlinkID.Instance ().AddTopUpOcrParser ("TOP_UP_OCR_PARSER_ID");
            //BlinkID.Instance ().AddRegexParser ("Blink\\d\\d\\d", "REGEX_PARSER_ID");
            //BlinkID.Instance ().AddIbanParser ("IBAN_PARSER_ID");
            //BlinkID.Instance ().AddEmailParser ("EMAIL_PARSER_ID");
            //BlinkID.Instance ().AddDateParser ("DATE_PARSER_ID");
            //BlinkID.Instance ().AddRawParser ("RAW_PARSER_ID");
            //BlinkID.Instance ().AddAmountParser ("AMOUNT_PARSER_ID");

            //BlinkID.Instance ().AddIdCardDetector ();

            //BlinkID.Instance ().ClearAllDetectors ();
            //BlinkID.Instance ().ClearAllParsers ();
            //BlinkID.Instance ().ClearAllRecognizers ();


            isFrontCamera = false;
        }
        public BlinkIDImplementation()
        {
            customDelegate = new CustomDelegate();

            BlinkID blinkID = BlinkID.Instance();

            //BlinkID.Instance().LicenseKey = "VGOMO4WX-I4TEAUQ3-OFDPCLTX-ERCIDCFW-TEPV5B2S-LPKTCT6N-OQPMSBMK-BVVS7XSA";
            //BlinkID.Instance().LicenseKey = "2GZV3LZ2-TKEHYWFS-LDV4ZV2Q-PGONQKPY-47SBFKUI-NOW4IWTE-XXBVPXEK-FDTZGQO6";
            BlinkID.Instance().LicenseKey = "AT5LHBUW-7QZPI3L7-S3QT5AE2-JVZH427V-LM4YGIGD-3PCSZR6S-5QB3SNFO-SFKPTYSN";
            BlinkID.Instance().Delegate   = customDelegate;

            BlinkID.Instance().AddMrtdRecognizer();

            //BlinkID.Instance ().AddEudlRecognizer ();
            //BlinkID.Instance ().AddCroIdFrontRecognizer ();
            //BlinkID.Instance ().AddCroIdBackRecognizer ();
            //BlinkID.Instance ().AddAusIDFrontRecognizer ();
            //BlinkID.Instance ().AddAusIDBackRecognizer ();
            //BlinkID.Instance ().AddBarDecoderRecognizer ();
            //BlinkID.Instance ().AddCzIDFrontRecognizer ();
            //BlinkID.Instance ().AddCzIDBackRecognizer ();
            //BlinkID.Instance ().AddDedlRecognizer ();
            //BlinkID.Instance ().AddEudlRecognizer ();
            //BlinkID.Instance ().AddMyKadRecognizer ();
            //BlinkID.Instance ().AddPdf417Recognizer ();
            //BlinkID.Instance ().AddSingaporeIDRecognizer ();
            //BlinkID.Instance ().AddUkdlRecognizer ();
            //BlinkID.Instance ().AddUsdlRecognizer ();
            //BlinkID.Instance ().AddZXingRecognizer ();

            //BlinkID.Instance ().AddVinParser ("VIN_PARSER_ID");

            //BlinkID.Instance ().AddRegexParser ("Blink\\d\\d\\d", "REGEX_PARSER_ID");
            //BlinkID.Instance ().AddIbanParser ("IBAN_PARSER_ID");
            //BlinkID.Instance ().AddEmailParser ("EMAIL_PARSER_ID");
            //BlinkID.Instance ().AddDateParser ("DATE_PARSER_ID");
            //BlinkID.Instance ().AddRawParser ("RAW_PARSER_ID");
            //BlinkID.Instance ().AddAmountParser ("AMOUNT_PARSER_ID");

            //BlinkID.Instance ().AddIdCardDetector ();

            //BlinkID.Instance ().ClearAllDetectors ();
            //BlinkID.Instance ().ClearAllParsers ();
            //BlinkID.Instance ().ClearAllRecognizers ();

            isFrontCamera = false;
        }
Exemplo n.º 3
0
 partial void StartScanningButton_TouchUpInside(UIButton sender)
 {
     BlinkID.Instance().Scan(isFrontCamera);
 }
Exemplo n.º 4
0
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();
            // Perform any additional setup after loading the view, typically from a nib.

            customDelegate = new CustomDelegate();

            BlinkID.Instance().LicenseKey = "5NXBHL7Z-D2IXPPFK-SSFOGINA-NPBXL65S-OKKJP3P7-U75K533D-T55QTZRC-ZCTY3JVS";
            BlinkID.Instance().Delegate   = customDelegate;

            BlinkID.Instance().AddMrtdRecognizer();

            //BlinkID.Instance ().AddEudlRecognizer ();
            //BlinkID.Instance ().AddGerMrzRecognizer ();
            //BlinkID.Instance ().AddGerIDFrontRecognizer ();
            //BlinkID.Instance ().AddCroIdFrontRecognizer ();
            //BlinkID.Instance ().AddCroIdBackRecognizer ();
            //BlinkID.Instance ().AddAusIDFrontRecognizer ();
            //BlinkID.Instance ().AddAusIDBackRecognizer ();
            //BlinkID.Instance ().AddBarDecoderRecognizer ();
            //BlinkID.Instance ().AddCzIDFrontRecognizer ();
            //BlinkID.Instance ().AddCzIDBackRecognizer ();
            //BlinkID.Instance ().AddDedlRecognizer ();
            //BlinkID.Instance ().AddEudlRecognizer ();
            //BlinkID.Instance ().AddMyKadRecognizer ();
            //BlinkID.Instance ().AddIKadRecognizer ();
            //BlinkID.Instance ().AddPdf417Recognizer ();
            //BlinkID.Instance ().AddSingaporeIDRecognizer ();
            //BlinkID.Instance ().AddUkdlRecognizer ();
            //BlinkID.Instance ().AddSerbIDFrontRecognizer ();
            //BlinkID.Instance ().AddSerbIDBackRecognizer ();
            //BlinkID.Instance ().AddSlovakIDFrontRecognizer ();
            //BlinkID.Instance ().AddSlovakIDBackRecognizer ();
            //BlinkID.Instance ().AddSlovenianIDFrontRecognizer ();
            //BlinkID.Instance ().AddSlovenianIDBackRecognizer ();
            //BlinkID.Instance ().AddSingaporeIDFrontRecognizer ();
            //BlinkID.Instance ().AddSingaporeIDBackRecognizer ();
            //BlinkID.Instance ().AddUsdlRecognizer ();
            //BlinkID.Instance ().AddAusdlRecognizer ();
            //BlinkID.Instance ().AddZXingRecognizer ();

            //BlinkID.Instance ().AddVinParser ("VIN_PARSER_ID");
            //BlinkID.Instance ().AddLicensePlatesParser ("LICENSE_PLATES_PARSER_ID");

            //BlinkID.Instance ().AddTopUpOcrParser ("TOP_UP_OCR_PARSER_ID");
            //BlinkID.Instance ().AddRegexParser ("Blink\\d\\d\\d", "REGEX_PARSER_ID");
            //BlinkID.Instance ().AddIbanParser ("IBAN_PARSER_ID");
            //BlinkID.Instance ().AddEmailParser ("EMAIL_PARSER_ID");
            //BlinkID.Instance ().AddDateParser ("DATE_PARSER_ID");
            //BlinkID.Instance ().AddRawParser ("RAW_PARSER_ID");
            //BlinkID.Instance ().AddAmountParser ("AMOUNT_PARSER_ID");

            //BlinkID.Instance ().AddIdCardDetector ();

            //BlinkID.Instance ().ClearAllDetectors ();
            //BlinkID.Instance ().ClearAllParsers ();
            //BlinkID.Instance ().ClearAllRecognizers ();

            isFrontCamera = false;

            customDelegate.MetadataImageView = metadataImageView;
            customDelegate.MetadataTextView  = metadataTextView;
        }
Exemplo n.º 5
0
 public void Scan()
 {
     Debug.WriteLine("Native Scan is started");
     BlinkID.Instance().Scan(isFrontCamera);
 }