anyline / anyline-ocr-examples-ios Goto Github PK
View Code? Open in Web Editor NEWExample configurations of the Anyline OCR SDK.
Home Page: https://anyline.com
License: Other
Example configurations of the Anyline OCR SDK.
Home Page: https://anyline.com
License: Other
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[ALScanViewPluginConfig scanViewPluginConfig]: unrecognized selector sent to instance 0x281150b60'
*** First throw call stack:
Hi Team,
Earlier we maintained Bitcode as disabled and we don't find any issues.
Now we need to enabled bit code in our project and we found issues that Anyline does not contain bit code enabled.
Please share us the bit code enabled frameworks or any other solution to solve it.
Version info:
ANYLINE SDK version 35
Xcode: 12.1
Thanks,
Ramesh
Hi, can you please release the latest version of the iOS SDK with support for Xcode 10.3.
As currently we are stuck on version 14 with our project. We will want to update to your upcoming release in order to resolve the iOS 13 'cutout + visualFeedback' problem.
Hi, I want to set the flash to on by default. When the scanner is displayed, the flash fires and turns off immediately. Version 26.1
scanView.flashButton?.flashStatus = .on
After having migrated to the version 15.1, I have replaced the deprecated class AnylineDocumentModuleView
(and its delegates) by the new classes ALScanView
, ALDocumentScanPlugin
and ALDocumentScanViewPlugin
(and its delegates).
Everything is working fine except I didn't found how to replace the usage of the property flashStatus
from the class AnylineDocumentModuleView
.
I would like to use my own icon (in the toolbar) to turn on / turn off the flash.
And to do that, previously, it worked by changing the value of this property.
Thank you for your help.
N.B.
I have seen that you propose to use the new class ALFlashButtonConfig
(and it's working, I have tested), but I don't want to use it. I really want to have one simple icon in my toolbar.
Swift Package Manager is already widely adopted and becoming the defacto standard for at least all new projects.
Are there plans to add SPM support to the Anyline SDK?
I am currently rewriting a project from Obj-C to Swift. I noticed that I cannot read the success of the "setup license key". Could you please provide a public var that can read out the success?
do {
let success: Bool = try AnylineSDK.setup(withLicenseKey: licenseKey)
} catch {
.. handle error
}
suggestion:
do {
try AnylineSDK.setup(withLicenseKey: licenseKey)
let success: Bool = AnylineSDK.isConfiguredSuccessfully
} catch {
.. handle error
}
Many Thanks. You are doing a good job :-)
Issue in pod 'Anyline', '~> 27' or above
pod '26' is not having US licence plate scan
Please let me know which pod version have US licence plate scan
That is what I get with fresh download:
ld: warning: ignoring file /Users/XXX/anyline-ocr-examples-ios-master/Framework/Anyline.framework/Anyline, 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): /Users/XXX/anyline-ocr-examples-ios-master/Framework/Anyline.framework/Anyline
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_AnylineBarcodeModuleView", referenced from:
objc-class-ref in ALMultiformatBarcodeScanViewController.o
"_OBJC_CLASS_$_AnylineEnergyModuleView", referenced from:
objc-class-ref in ALElectricMeterScanViewController.o
objc-class-ref in ALWaterMeterScanViewController.o
objc-class-ref in ALGasMeterScanViewController.o
objc-class-ref in ALHeatMeterScanViewController.o
objc-class-ref in ALDigitalMeterScanViewController.o
"_OBJC_CLASS_$_AnylineMRZModuleView", referenced from:
objc-class-ref in ALMRZScanViewController.o
"_OBJC_CLASS_$_AnylineOCRModuleView", referenced from:
objc-class-ref in ALVoucherCodeScanViewController.o
objc-class-ref in ALISBNScanViewController.o
objc-class-ref in ALLicensePlateViewController.o
objc-class-ref in ALIBANScanViewController.o
objc-class-ref in ALBottlecapScanViewController.o
objc-class-ref in ALScrabbleScanViewController.o
objc-class-ref in ALRecordNumberScanViewController.o
...
"_OBJC_CLASS_$_ALUIConfiguration", referenced from:
objc-class-ref in ALVoucherCodeScanViewController.o
objc-class-ref in ALISBNScanViewController.o
objc-class-ref in ALLicensePlateViewController.o
objc-class-ref in ALIBANScanViewController.o
objc-class-ref in ALBottlecapScanViewController.o
objc-class-ref in ALScrabbleScanViewController.o
objc-class-ref in ALRecordNumberScanViewController.o
...
"_OBJC_CLASS_$_AnylineDocumentModuleView", referenced from:
objc-class-ref in ALDocumentScanViewController.o
"_OBJC_CLASS_$_ALOCRConfig", referenced from:
objc-class-ref in ALVoucherCodeScanViewController.o
objc-class-ref in ALISBNScanViewController.o
objc-class-ref in ALLicensePlateViewController.o
objc-class-ref in ALIBANScanViewController.o
objc-class-ref in ALBottlecapScanViewController.o
objc-class-ref in ALScrabbleScanViewController.o
objc-class-ref in ALRecordNumberScanViewController.o
...
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
If I want to integrate Anlyine directly on an M1 MacBook (without CocoaPods), I have to deactivate arm64. However, this leads to the problem that I can no longer run the project on the simulator.
Could not find module 'XXXXX' for target 'x86_64-apple-ios-simulator'; found: arm64, arm64-apple-ios-simulator.
This problem persists even when I build all architectures.
Unfortunately, this problem is very widespread and from my point of view there is no other solution to this problem.
I've integrated Anyline SDK v34 and got the following runtime crash (exception):
*** Terminating app due to uncaught exception 'NSObjectNotAvailableException', reason: 'UIAlertView is deprecated and unavailable for UIScene based applications, please use UIAlertController!'
terminating with uncaught exception of type NSException
Are there any plans on migrating to UIAlertController? Do you have timelines for it? This is a major blocker for us as we can't use the framework at all
Hi,
thanks for this library, but we found out our builds started to take much more time then before. We tried to build our project without Anyline Pod, and the link phase takes up to 5 seconds. But with Anyline installed, it's always more then 110 seconds. And that's too much. It doesn't matter if we build it using XCode 11 or 12. Same results. The same happens for AnylineExamples project. We even use FirebaseMLVision Pod and many others, but they are not causing those problems, as without Anyline it's 5 seconds maximum for linking phase.
Bye
we are using like this - self.scanView = ALScanView.init(
frame: view.bounds,
scanViewPlugin: documentScanViewPlugin,
cameraConfig: ALCameraConfig.defaultDocument()!,
flashButtonConfig: ALFlashButtonConfig.defaultFlash())
for ALDocumentScanViewPlugin
dyld: Library not loaded: /System/Library/Frameworks/CoreNFC.framework/CoreNFC
Referenced from: /private/var/containers/Bundle/Application/ADB7C50C-1025-40EA-9058-275613167393/AnylineExamples.app/Frameworks/Anyline.framework/Anyline
Reason: image not found
Hi,
are you planning on making the tutorials in swift?
please :)
Hi AnyLine Team,
App is able to scan QR code, but is not scanning DataMatrix. Seen in release history, this feature has been added in older AnyLine versions.
Version info:
ANYLINE SDK version 35
Xcode: 13
Thanks,
Ramesh
We submitted our app for Apple review and it got rejected because the use of NFC tagging was unclear. Quote from review:
"Specifically, we need a demo video that shows a NFC feature with a designed hardware"
Here in our product integrated ANYLINE SDK for OCR feature, but in Anyline API it has NFC feature.
Please let us know how to resolve it.
Version info:
ANYLINE SDK version 35
Xcode: 12.1
Guideline 2.1 - Information Needed
The below is the information sent from Apple
"We're looking forward to completing our review of your app. Before we can continue, we need a video that demonstrates the current version, 2109.06, in use on a physical iOS device, pairing and interacting with the designated hardware.
Specifically, we need a demo video that shows a NFC feature with a designed hardware.
Keep these requirements in mind as you make your demo video:
Next Steps
Create the demo video, add a link to the video in the App Review Information section of your app’s page in App Store Connect, and reply to this message in App Store Connect.
To add the video link:
Please note that if your app can only be reviewed with a demo video, you’ll need to provide an updated demo video for every app submission"
On iPhone 6 with iOS 12.5.1 the application crashes:
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Description: DYLD, Library not loaded: /System/Library/Frameworks/CoreNFC.framework/CoreNFC | Referenced from: /private/var/containers/Bundle/Application/Frameworks/Anyline.framework/Anyline | Reason: image not found
Triggered by Thread: 0
For some years now, CocoaPods has been increasingly being replaced by SPM. Newer projects often use Swift Package Manager. Have you already considered offering this for Anyline in the future?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.