Git Product home page Git Product logo

Comments (7)

evermeer avatar evermeer commented on June 28, 2024

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.

evermeer avatar evermeer commented on June 28, 2024

Hmm... It looks like a common issue... I will do some investigation..

https://github.com/BradLarson/GPUImage/issues?utf8=✓&q=is%3Aissue+is%3Aopen+Tried+to+overrelease+a+framebuffer

from passportscanner.

francisjervis avatar francisjervis commented on June 28, 2024

Thanks!

from passportscanner.

evermeer avatar evermeer commented on June 28, 2024

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.

francisjervis avatar francisjervis commented on June 28, 2024

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.

evermeer avatar evermeer commented on June 28, 2024

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.

evermeer avatar evermeer commented on June 28, 2024

Please notify me if you encounter this error again.

from passportscanner.

Related Issues (20)

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.