Giter Club home page Giter Club logo

Comments (8)

Brankacro avatar Brankacro commented on August 17, 2024

Hello @YudizAndroidHardik.
You can only check if the end user has a device with autofocus. If the camera is without the autofocus, you will get the described alert.
Having a device that has a camera with autofocus is one of our requirements.
Please let us know if we can be of any additional help.
Best.

from blinkid-android.

YudizAndroidHardik avatar YudizAndroidHardik commented on August 17, 2024

from blinkid-android.

Brankacro avatar Brankacro commented on August 17, 2024

Hello @YudizAndroidHardik. A camera with autofocus is required.
If there is anything else that we can assist you with, please let us know. Best.

from blinkid-android.

Brankacro avatar Brankacro commented on August 17, 2024

Hello @YudizAndroidHardik.
The only alternative that we can suggest is direct API. More precisely, that the end user directly uploads the image from the gallery to the SDK for processing.

More you can find on this link and here you can find the link for the sample.

Hope this info helps.
Please let us know in case of any additional questions.

from blinkid-android.

Brankacro avatar Brankacro commented on August 17, 2024

Hello @YudizAndroidHardik. Since this topic is inactive, we'll be closing it. If anything comes up feel free to reach out. You can also contact us at [email protected]. We'll be glad to hear from you. Best.

from blinkid-android.

albert0m avatar albert0m commented on August 17, 2024

Hi, I'm commenting this thread because it's kind of related.
I'm trying to test your framework on an android tv with an usb camera attached to it.
Everything works as expected, if I programmatically check for autofocus

if(pm.hasSystemFeature(PackageManager.FEATURE_CAMERA) && pm.hasSystemFeature(PackageManager.FEATURE_CAMERA_AUTOFOCUS)){
            // True 
        }

it returns true meaning that the autofocus works (it's a Logitech C930e), if I use the camera app I can see the camera autofocusing.

The blinkid app crashes though:

com.microblink.blinkid.hardware.camera.AutoFocusRequiredButNotSupportedException: Autofocus is required, but not supported on this camera

what kind of strategies do you check to see if autofocus really works?

from blinkid-android.

Brankacro avatar Brankacro commented on August 17, 2024

Hello @albert0m and thank you for waiting for our reply.

Setups with external cameras are currently not supported. Our camera management supports only the device's internal cameras.
We can suggest that you use direct API, where the end user directly uploads the image from the gallery to the SDK for processing.
More you can find on this link and here you can find the link for the sample.

Hope this info was helpful.
For any other questions, feel free to contact us.

from blinkid-android.

Brankacro avatar Brankacro commented on August 17, 2024

Hello @albert0m. Since this topic is inactive we'll be closing it. In case of any additional questions, please let us know. Also, feel free to reach out to us at [email protected]. We'll be glad to assist. Best.

from blinkid-android.

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.