GithubHelp home page GithubHelp logo

blinkid / blinkid-ios Goto Github PK

View Code? Open in Web Editor NEW
377.0 47.0 89.0 1.72 GB

Everything you need to add AI-driven ID scanning into your native iOS app.

Home Page: https://microblink.com/products/blinkid

Shell 0.21% Ruby 0.26% Objective-C 74.83% C 24.61% Swift 0.10%
ios scanning-id-cards kyc onboarding id-card-camera id-scanning ai machine-learning identity-documents identity-document

blinkid-ios's People

Contributors

billinghamj avatar cerovec avatar culoi avatar dcubelic avatar dgust6 avatar dodoent avatar ivorbukovsak avatar jcular avatar juraskrlec avatar mijo-gracanin avatar mparadina avatar mskrilj avatar ssasa avatar suljak avatar tcvetkovic avatar tkersey avatar tonikreso avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

blinkid-ios's Issues

Autofocus

Does MicroBlink have ability to request the camera to refocus? If it does have, can you give an example of implementation? Thank you.

Embedding MicroBlink Frameworks into Another Framework

Dear Developers,

I'm having trouble with Embedding MicroBlink Frameworks into our framework for a certain project actually. The Issues came from the fact that the Client App which implement our Framework was not able to detect the MicroBlink Frameworks. The error shows as the "Module MicroBlink not found.
Hence, I was wondering if there is other way to Embed the frameworks. In addition, I also have tried to add the Framework Search Path to point to MicroBlink Frameworks, but it was not working also.

Thanks in Advance.

fails to scan Russian Passport

issued 12.10.2015 (that's the date issued it says on the passport, not sure if that means October or December)

reproduced on several iphones. The mrz font is quite thin, is that the issue?

Orientation changes

How to support orientation changes? I found this
supportedInterfaceOrientations() -> UIInterfaceOrientationMask { return UIInterfaceOrientationMask.Landscape; }
but i don't know how to use this. And how to change scaning region after orientation change?

Is OCR supported in Swift?

I'm trying to add the following block to the swift example:

     do {
            let ocrRecognizerSettings = PPBlinkOcrRecognizerSettings()
            let ocrParcer: PPOcrParserFactory = PPOcrParserFactory()
            ocrRecognizerSettings.addOcrParser(ocrParcer, name: "OCR")
            // Add the recognizer setting to a list of used recognizer
            settings.scanSettings.addRecognizerSettings(ocrRecognizerSettings)
        }

And I'm receiving an exception when the camera is displayed with a break point in the low level call stack in the attached screen shot.

screen shot 2016-07-01 at 4 25 33 pm

No detection on black background

Hi,

It seems that recognition of documents like ID Card on black background doesn't work at all. On white background it always performs ok . Any change on that ? I tested on 2.4 / 2.5, same problem, but I a m quite sure that it worked before.

White background sample that works fine (masked for sharing purpose) :
img_1080
Black background that doesn't work (no recognition from MRTDRecognizer) :
img_3390

My code for setting the recognizer :

PPSettings *settings = [[PPSettings alloc] init];
settings.licenseSettings.licenseKey = blinkIDapiKey;
settings.metadataSettings.dewarpedImage = YES; // get dewarped image of ID documents
    PPMrtdRecognizerSettings *mrtdRecognizerSettings = [[PPMrtdRecognizerSettings alloc] init];
    mrtdRecognizerSettings.dewarpFullDocument = YES;
    if (unparsedResults) // doesn't work if YES or NO
        mrtdRecognizerSettings.allowUnparsedResults = YES;
    // Add MRTD Recognizer setting to a list of used recognizer settings
    [settings.scanSettings addRecognizerSettings:mrtdRecognizerSettings];

Error while compiling sample projects

I downloaded the repo and compiling any of the sample projects gives me the following errors:

ld: warning: ignoring file ../../MicroBlink.framework/MicroBlink, file was built for unsupported file format ( 0x76 0x65 0x72 0x73 0x69 0x6F 0x6E 0x20 0x68 0x74 0x74 0x70 0x73 0x3A 0x2F 0x2F ) which is not the architecture being linked (arm64): ../../MicroBlink.framework/MicroBlink
Undefined symbols for architecture arm64:

I am using Xcode 7. Any suggestions?

Apple Mach-O Linker Error

Hi,
I am using Xcode 8.3.1 (latest) and I can't run any of the example apps due to Apple Mach-O Linker (Id) Errors.

screen shot 2017-05-02 at 13 50 03

Could anyone check this please?

Kind Regards,
Kyra

Link Error on install cocoapods

I'd like to make card app using this sd.
But for now I got link error.

Please check below screenshot.
How could i resolve it?
Thanks.
1

Mach-O Linker error

getting this when running the BlinkID-sample from XCode 8.1, iOS 10.1.1

the OCR sample doesn't have this issue

ld: warning: ignoring file ../../MicroBlink.framework/MicroBlink, file was built for unsupported file format ( 0x76 0x65 0x72 0x73 0x69 0x6F 0x6E 0x20 0x68 0x74 0x74 0x70 0x73 0x3A 0x2F 0x2F ) which is not the architecture being linked (arm64): ../../MicroBlink.framework/MicroBlink
Undefined symbols for architecture arm64:
  "_OBJC_CLASS_$_PPImageMetadata", referenced from:
      objc-class-ref in ViewController.o
  "_OBJC_CLASS_$_PPCroIDFrontRecognizerResult", referenced from:
      objc-class-ref in ViewController.o
  "_OBJC_CLASS_$_PPEudlRecognizerResult", referenced from:
      objc-class-ref in ViewController.o
  "_OBJC_CLASS_$_PPUsdlRecognizerResult", referenced from:
      objc-class-ref in ViewController.o
  "_OBJC_CLASS_$_PPCroIDBackRecognizerResult", referenced from:
      objc-class-ref in ViewController.o
  "_OBJC_CLASS_$_PPViewControllerFactory", referenced from:
      objc-class-ref in ViewController.o
  "_OBJC_CLASS_$_PPMrtdRecognizerSettings", referenced from:
      objc-class-ref in ViewController.o
  "_OBJC_CLASS_$_PPMrtdRecognizerResult", referenced from:
      objc-class-ref in ViewController.o
  "_OBJC_CLASS_$_PPSettings", referenced from:
      objc-class-ref in ViewController.o
  "_OBJC_CLASS_$_PPMyKadRecognizerResult", referenced from:
      objc-class-ref in ViewController.o
  "_OBJC_CLASS_$_PPCameraCoordinator", referenced from:
      objc-class-ref in ViewController.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Error with Argument 'self'

I'm writing in regards to an error I'm getting.

In the "Getting Started" section, step 4 I'm getting an error when implementing the code.(I've already successfully installed the dependency through cocoapods)

Here's the line of code producing the error.

let scanningViewController: UIViewController = PPViewControllerFactory.cameraViewControllerWithDelegate(self, coordinator: coordinator!, error: nil)

Here's the error

/Users/a.pomales/Desktop/AppleDev/Scanner/Scanner/DetailViewController.swift:120:113: Argument type 'DetailViewController' does not conform to expected type 'PPScanningDelegate'

Any help would be greatly appreciated?

Invalid architecture since v1.4

I am trying to use BlinkID since v1.3 and I've had the same issue with v1.4, 2.0 and now 2.1.
I have adapted my code to reflect the updated API as shown in the Getting Started With Swift

I'm not sure if it's related to #21...

I have tried removing and reinstalling the pod.
I have tried pod 'PPBlinkID', :git => 'https://github.com/blinkid/blinkid-ios', :branch => 'master' and installing 'git-lfs'

I cannot get rid of these errors.

Any ideas?

screen shot 2016-06-27 at 22 21 34

MyKad Recogniser Address and Long Full Name OCR is not working reliably

Under the lab condition with evenly distributed lighting, the MyKad address OCR failed to extract the info correctly. We have verified that the problem comes from different devices. The rate of failing has reach to a point where we have to literally scrap the feature and request user to fill in on their own.

Bug Evidences

For card with address on iPhone 6s:
dan-IC


it failed to recognized, only give:

out


and

out


2nd Case with different IC on iPhone 5s:

ic-2


yields:

scan03

scan04


Test Environments and Constants

  1. Test devices: iPhone 5S (iOS10), iPhone 6s
  2. Lighting: evenly distributed
  3. IC: 2 different ICs from respective owners
  4. Other particles are working fine.

Umbrella framework, 'MicroBlink' is sub-framework

Is it posible to add 'MicroBlink' into myFramework as a sub-framework and users only need to import myFramework in their project. In other words, myFramework will work as a wrapper for 'MicroBlink'.

MicroBlink Version

Hello,
How can I check micro blink framework version number?

I am seeing different issues based on the version I am using.

  1. If I use latest version via cocoa pods/add framework I am getting many reference errors
    This #27 solved my issue by getting v.2.1.0 and able to build with out compile errors
  2. With v2.1.0 I am getting license error even though I use the right key.

Which is the stable version I can use?

Dewarp passport

How to dewarp passport? In yours sample apps i saw 'Detector-sample' which dewarp personal id and driver license. For passport just took a image but it doesn't dewarp. Can I do that?

[feature request] document frame size setting

fantastic work guys!

the built-in PPCameraOverlayViewController works great for me. Instead of building my own would it be possible to customize yours a bit more, e.g. set the width/height of the document frame, or edit the scan hint text? Or else, is the code for the PPCameraOverlayViewController available?

dewarpedImage not returned for eudl

maybe i'm not clear on the difference between:

settings.metadataSettings.dewarpedImage = YES

and

eudlRecognizerSettings.showFullDocument = YES

i'm currently using the former, but i guess should be using both? I don't see a corresponding value for usdl. Is that because on the usdl only the barcode is scanned?

unexpectedly found nil while unwrapping an Optional value

I'm using BlinkID in my swift file of ObjC project (using bridging headers)

function signature specialization <preserving fragile attribute, Arg[1] = [Closure Propagated : reabstraction thunk helper from @callee_owned (@unowned Swift.UnsafeBufferPointer<Swift.UInt8>) -> () to @callee_owned (@unowned Swift.UnsafeBufferPointer<Swift.UInt8>) -> (@out ()), Argument Types : [@callee_owned (@unowned Swift.UnsafeBufferPointer<Swift.UInt8>) -> ()]> of generic specialization <preserving fragile attribute, ()> of Swift.StaticString.withUTF8Buffer ((Swift.UnsafeBufferPointer<Swift.UInt8>) -> A) -> A

[request] use resource bundles

If you bundle MicroBlink's resources into a bundle, it effectively 'namespaces' them and prevents them from overlapping with the app's own resources.

Right now, if the app has a resource called IDCard.png (for example), MicroBlink's own asset ends up interfering with it, and inconsistently your app will end up with one or the other resource.

How it can be done: http://www.mokacoding.com/blog/sharing-assets-with-cocoapods-resource-bundle-and-dynamically-loaded-fonts/

Maybe not something to do with much urgency, but similarly to cocoapods, it's worth thinking about doing at some point.

Error compiling sample

Getting this error when compiling the sample project:
2015-02-26 18:47:57.466 BlinkID-sample[3712:328858] Version is 0.6.0
OpenCV Error: Assertion failed (0 <= roi.x && 0 <= roi.width && roi.x + roi.width <= m.cols && 0 <= roi.y && 0 <= roi.height && roi.y + roi.height <= m.rows) in Mat, file /Users/cerovec/Tools/opencv/modules/core/src/matrix.cpp, line 322
libc++abi.dylib: terminating with uncaught exception of type cv::Exception: /Users/cerovec/Tools/opencv/modules/core/src/matrix.cpp:322: error: (-215) 0 <= roi.x && 0 <= roi.width && roi.x + roi.width <= m.cols && 0 <= roi.y && 0 <= roi.height && roi.y + roi.height <= m.rows in function Mat

Error in Swift docs

Should read "PPScanningDelegate" not "PPScanDelegate" in section 4 of "Getting started!"

Sdk Issue

Hi BlinkId Team,
After downloading this app and running into my device it is showing the following errors. approximately i have 12 issues. I am trying to fixe those issues. but i can't . will you please help me on this.

warning: ignoring file ../../MicroBlink.framework/MicroBlink, file was built for unsupported file format ( 0x76 0x65 0x72 0x73 0x69 0x6F 0x6E 0x20 0x68 0x74 0x74 0x70 0x73 0x3A 0x2F 0x2F ) which is not the architecture being linked (arm64): ../../MicroBlink.framework/MicroBlink

Thanks in Advance.

Undefined symbols for architecture x86_64

I am trying to use BlinkID from the Podfile for a Swift project

use_frameworks! pod 'PPBlinkID', '~> 2.1.0'

but I am constantly getting the error

Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_PPRecognizerResult", referenced from:

I have tried cleaning the DerivedData folder but still the same error. Any idea?

Templating - Sample doesn't work

Hi

I'm testing the Templating Sample bu using the ID card which attached in the projet. but it doesn't seem to work.
Always get the same error as below, seems the location of "ID_DOCUMENT_NUMBER" is not correct or maybe i missed something else.

WTF] buildDateRegex [DateParserFactory.cpp:304] 2016-08-24 11:43:48.653 Templating-Sample[5674:3616329] Unknown date format for date parser!

[W] validateParser [TemplatingRecognitionData.cpp:85] 2016-08-24 11:44:01.027 Templating-Sample[5674:3616330] Required parser 'DocumentNumber' from parser group 'DocumentNumberNew' did not produce result!

[W] validateParser [TemplatingRecognitionData.cpp:85] 2016-08-24 11:44:01.269 Templating-Sample[5674:3616330] Required parser 'LastName' from parser group 'LastName' did not produce result!

[W] validateParser [TemplatingRecognitionData.cpp:85] 2016-08-24 11:44:01.513 Templating-Sample[5674:3616330] Required parser 'Sex' from parser group 'SexCitizenshipDob' did not produce result!

[W] validateParser [TemplatingRecognitionData.cpp:85] 2016-08-24 11:44:01.849 Templating-Sample[5674:3616330] Required parser 'Citizenship' from parser group 'SexCitizenshipDob' did not produce result!

.....

Could you please help me on this ?

Do you have any document to explain how to define the location and dewarpedHeight of ID document ?

thanks in advance for your help.

Cocoapods

Could you add support for cocoapods please? It's pretty simple to do. I can pull request to set it up if needed.

Publish v1.4.0 Podspec

Can you please public the v1.4.0 Podspec to CocoaPods? It still shows v1.3.0 as the latest.

Thanks! :)

Wiki getting started with swift sample code: [AnyObject]! -> [PPRecognizerResult]!

In the wiki for getting started with swift the sample code uses this -:
func scanningViewController(scanningViewController: UIViewController!, didOutputResults results: [AnyObject]!)

while copying this gives a compilation error saying all the required function of the PPScanDelegate protocol are not being implemented.

However, changing results type from [AnyObject]! to [PPRecognizerResult]! resolves the issue and the sample works fine. Like below.

func scanningViewController(scanningViewController: UIViewController!, didOutputResults results: [PPRecognizerResult]!)

I think the wiki needs this small change.

Example app. didOutputResults is never called

I just loaded up the example app and the delegate method didOutputResults seems to never be called. there is no error generated either. The app runs fine and launches the scanningViewController, but then nothing. Running Xcode 7.1 - iOS 9.1 on the iPhone.

"Getting started" example code does not work with 1.3.0

Hello BlinkID,
the Getting started with BlinkID SDK page contains an example code which cannot be compiled with library version 1.3.0.

Example code contains this check:

if ([PPCoordinator isScanningUnsupported:error]) {
    return nil;
}

but compilation fails with No known class method for selector 'isScanningUnsupported:. In 1.3.0 the correct code for this check is:

if ([PPCoordinator isScanningUnsupportedForCameraType:PPCameraTypeFront error:error]) {
    return nil;
}

OCR Guidance

Your OCR samples have the results dumped to the console over and over again while the camera catches results. During this time the camera is trying to autofocus and does so several times, giving anywhere from horrible results to decent. Is there an event or a setting to tell the ocr to only return results after the camera has focused and to tell it to stop auto focusing will capturing? Any guidance to capture the best result would be helpful.

thank you!

Multiple settings or multiple template not supported - License key error

Hi, I am using OCRRecognizerSettings and i need to scan front and back portion of the ID. So, i create two settings for this. One is for front and second is back.

When i added only front it will scan.
But when i added the two settings which is front and back it will have error License key error

here is the logs:
[E] updateRecognizers [MasterRecognizer.cpp:60] 2017-05-03 17:53:24.513742+0800 FlexM_Wallet[970:297612] Multiple settings objects of type 'Generic BlinkOCR recognizer' found. This is not supported! [E] __38-[PPCoordinator initializeRecognizers]_block_invoke_2 [PPCoordinator.mm:314] 2017-05-03 17:53:24.513931+0800 FlexM_Wallet[970:297612] [net.photopay.frame.processing] Failed to initialize master recognizer [E] __38-[PPCoordinator initializeRecognizers]_block_invoke_2 [PPCoordinator.mm:319] 2017-05-03 17:53:24.514698+0800 FlexM_Wallet[970:297612] License error message:

Scanning front of USDL doesn't work, but backside works perfectly fine

Hi there,

I've been implementing ID verification for driver's licenses. After getting it to work, I'm finding that while front ID scanning doesn't work, I can get all the info I need from scanning the barcode on the back of the driver's license.

Is this expected behavior? Scanning the back of the ID is extremely quick so it's working, it's just odd that front ID scanning doesn't work.

I'm assuming all info is contained in the barcode, but I've only tried a NY state license, and am not sure if it'll differ state to state. It look like the info scanned through the barcode differs state to state so...any help would be appreciated!

Edit: I've also tried the newest version through CocoaPods, front facing scan still doesn't work through my implementation

Is it possible to add custom text on the scan screen? Using PPCameraOverlayViewController

Apple Mach-O Linker Error

Undefined symbols for architecture x86_64:
"gpumv::scenes::CCWBADISceneFactory::createCCWBADIScene(Refmv::PixelConverter const&, tagErrorStatus&)", referenced from:
mv::JustDewarper::JustDewarper(Refmv::PixelConverter const&, mv::RGBFactors const&) in BlinkIDFramework
"gpumv::scenes::ACSCCWBADISceneFactory::createACSCCWBADIScene(Refmv::AdapContrastDewarpParams const&, tagErrorStatus&)", referenced from:
mv::CvtColorAdapContrastDewarper::CvtColorAdapContrastDewarper(Refmv::AdapContrastDewarpParams const&, mv::RGBFactors const&) in BlinkIDFramework
"gpumv::scenes::GCSCCWBADISceneFactory::createGCSCCWBADIScene(Refmv::PixelConverter const&, tagErrorStatus&)", referenced from:
mv::CvtColorGlobContrastDewarper::CvtColorGlobContrastDewarper(Refmv::PixelConverter const&, unsigned char const_, mv::RGBFactors const&) in BlinkIDFramework
"photopay::StringValidator::isStringValid(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > const&) const", referenced from:
vtable for photopay::CountryCodeValidator in BlinkIDFramework
"typeinfo for photopay::StringValidator", referenced from:
typeinfo for photopay::CountryCodeValidator in BlinkIDFramework
"_iconv", referenced from:
pping::qrcode::DecodedBitStreamParser::append(std::__1::basic_string<char, std::__1::char_traits, std::1::allocator >&, unsigned char const, unsigned long, char const) in BlinkIDFramework
pping::aztec::Decoder::getEncodedData(pping::Refpping::BitArray, pping::ArrayRef, pping::ArrayRef<pping::ArrayRef >) in BlinkIDFramework
"_iconv_close", referenced from:
pping::qrcode::DecodedBitStreamParser::append(std::__1::basic_string<char, std::__1::char_traits, std::1::allocator >&, unsigned char const, unsigned long, char const) in BlinkIDFramework
pping::aztec::Decoder::getEncodedData(pping::Refpping::BitArray, pping::ArrayRef, pping::ArrayRef<pping::ArrayRef >) in BlinkIDFramework
"_iconv_open", referenced from:
pping::qrcode::DecodedBitStreamParser::append(std::__1::basic_string<char, std::__1::char_traits, std::_1::allocator >&, unsigned char const, unsigned long, char const*) in BlinkIDFramework
pping::aztec::Decoder::getEncodedData(pping::Refpping::BitArray, pping::ArrayRef, pping::ArrayRef<pping::ArrayRef >) in BlinkIDFramework
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)


Can't solve the linkage error. Help me out of this Thanks

BlinkID can NOT coexist with BlinkOCR

BlinkOCR SDK can NOT coexist in the same project/workspace with BlinkID SDK. I'm downloading both SDKs via Cocoapods. The PPCoordinator class on both SDKs are different and the BlinkOCR is recognized first in Xcode over the BlinkID.

MicroBlink causes app to exit when Address Sanitizer is enabled

Xcode 7 has a new feature called Runtime Sanitization/Address Sanitizer. See here: https://developer.apple.com/library/prerelease/ios/documentation/DeveloperTools/Conceptual/WhatsNewXcode/Articles/xcode_7_0.html#//apple_ref/doc/uid/TP40015242-SW6

It's a tool which basically keeps track of your use of pointers and alerts you when you've done something wrong (e.g. releasing memory which is still in scope).

When it is enabled, immediately after MicroBlink is initialized, the app exits. It doesn't seem to be exiting with a non-zero exit code though as Xcode does not catch any exceptions or signals.

embedded framework support on iOS7

the microblink sdk is included into the sample project in the form of an embedded framework. Embedded Frameworks apparently only work on iOS8 and up. But you state that blinkid-ios can be used starting from iOS6 and up. Do I miss something?

Error: While Integrating your library both the way using cocoapods and without it

Showing Recent Issues

ld: warning: ignoring file ../../MicroBlink.framework/MicroBlink, file was built for unsupported file format ( 0x76 0x65 0x72 0x73 0x69 0x6F 0x6E 0x20 0x68 0x74 0x74 0x70 0x73 0x3A 0x2F 0x2F ) which is not the architecture being linked (x86_64): ../../MicroBlink.framework/MicroBlink
Undefined symbols for architecture x86_64:
"OBJC_CLASS$_PPEudlRecognizerResult", referenced from:
objc-class-ref in ViewController.o
"OBJC_CLASS$_PPUsdlRecognizerResult", referenced from:
objc-class-ref in ViewController.o
"OBJC_CLASS$_PPMyKadRecognizerResult", referenced from:
objc-class-ref in ViewController.o
"OBJC_CLASS$_PPMrtdRecognizerResult", referenced from:
objc-class-ref in ViewController.o
"OBJC_CLASS$_PPMyKadRecognizerSettings", referenced from:
objc-class-ref in ViewController.o
"OBJC_CLASS$_PPEudlRecognizerSettings", referenced from:
objc-class-ref in ViewController.o
"OBJC_CLASS$_PPRecognizerResult", referenced from:
objc-class-ref in ViewController.o
"OBJC_CLASS$_PPUsdlRecognizerSettings", referenced from:
objc-class-ref in ViewController.o
"OBJC_CLASS$_PPViewControllerFactory", referenced from:
objc-class-ref in ViewController.o
"OBJC_CLASS$_PPMrtdRecognizerSettings", referenced from:
objc-class-ref in ViewController.o
"OBJC_CLASS$_PPSettings", referenced from:
objc-class-ref in ViewController.o
"OBJC_CLASS$_PPCameraCoordinator", referenced from:
objc-class-ref in ViewController.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Failing to compile on CircleCI

Trying to get my builds tested using CircleCi. They compile and pass locally, but on their server it keeps failing to compile with this error:

❌  Undefined symbols for architecture x86_64
> Symbol: _kPPCustomerFullName
> Referenced from: static Cover.LicenceInfo.initWithUSDLResult (__ObjC.PPUsdlRecognizerResult) -> Cover.LicenceInfo in LicenceInfo.o

❌  ld: symbol(s) not found for architecture x86_64

❌  clang: error: linker command failed with exit code 1 (use -v to see invocation)

CircleCi has git-lfs installed already, so just to make sure, added this to the circel.yml file:

dependencies:
  override:
    # Install git-lfs
    - brew install git-lfs

But the test failed with:

Error: git-lfs-1.5.0 already installed
To install this version, first `brew unlink git-lfs`

So its safe to say that the error is not with git-lfs.

Installed using:

pod 'PPBlinkID', '~> 2.4.0'

Since it compiles locally, is there any dependency that I am missing?

Does not detect anything on iPad Air

I've downloaded the sample project, and run it on two devices so far. The same build, when run on an iPhone 6, works perfectly and detects the ID card. When I run it on an iPad air, nothing happens. I've tried with different properties, but it never calls the method didOutputResults, nor does it call any other method or output any error. It just sits there, sometimes it shows the dots on the image that signal that it is scanning something, but that's about it.
I don't know how to debug this problem.

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.