Comments (7)
I have seen that error before. I was under the impression that it was fixed after I added an extra queue operation as you can see on: https://github.com/evermeer/PassportScanner/blob/5ff827355cff98f8a12e116b1b220ad65509faef/Pod/PassportScannerController.swift#L156-156
currentFilterConfiguration.useNextFrameForImageCapture()
NSOperationQueue.mainQueue().addOperationWithBlock {
let snapshot = currentFilterConfiguration.imageFromCurrentFramebuffer()
This is actually a GPUImage issue. I will create an issue there to see if I can get any support for this.
from passportscanner.
Hmm... It looks like a common issue... I will do some investigation..
from passportscanner.
Thanks!
from passportscanner.
I moved the useNextFrameForImageCapture to inside the addOperationWithBlock so that it's right before the imageFromCurrentFramebuffer. It might have been a timing issue. I was not able to reproduce it. Can you tell me what Xcode version an what iPhone version plus iOS version you tried this on? How often did you get this error?
from passportscanner.
9.2 on a 6, from xCode 7.2 - was running the sample project. Just saw it once.
On Jan 5, 2016, at 5:14 PM, Edwin Vermeer [email protected] wrote:
I moved the useNextFrameForImageCapture to inside the addOperationWithBlock so that it's right before the imageFromCurrentFramebuffer. It might have been a timing issue. I was not able to reproduce it. Can you tell me what Xcode version an what iPhone version plus iOS version you tried this on? How often did you get this error?
—
Reply to this email directly or view it on GitHub #2 (comment).
from passportscanner.
Ok, I'm using the same. I will do some more tests to see if I can reproduce this. Could you also try it again with the updated version of the code?
from passportscanner.
Please notify me if you encounter this error again.
from passportscanner.
Related Issues (20)
- Open just white view
- Tesseract crashed: Failed loading language 'eng' HOT 3
- How to validate 3-lines MRZ? HOT 4
- Objective C Code HOT 1
- Xamarin iOS HOT 3
- could not build the project HOT 13
- Camera freeze in white screen HOT 4
- Feature request: Disable camera filters in the preview HOT 5
- CGImageCreate: invalid image HOT 2
- Not an issue.. but a request.. HOT 1
- Issue cropping the image HOT 2
- DOB Format HOT 12
- Reduce Tesseract delay? HOT 5
- 'Camera' cannot be constructed because it has no accessible initializers HOT 5
- Possible memory leak or normal behavior HOT 3
- I want to read MZR form USA passport how can I do it HOT 7
- Taking too much time to load first. HOT 3
- Swift 5 - It doesn't compile HOT 2
- How can I add in Objective-C Project HOT 2
- When scanning a real passport, it has a hard time to scan the MRZ HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from passportscanner.