Giter Club home page Giter Club logo

Comments (5)

G00fY2 avatar G00fY2 commented on September 15, 2024 1

Hi and sorry for not giving any updates about this feature request.🙏
I actually started implementing such a feature on a local branch, but it did not went well and felt kind of wrong for this library. The focus of quickie is about an easy integration with the camera and therefore UI focused. Calling native filepicker and sending the file uri to the scanner would require this library to decouple the barcode scanner from CameraX (which is currently not the case).

The part of the code which handles the ML Kit barcode scanner is honestly pretty small. So I would actually advice you to just follow the documentation about scanning files: Using a file URI

I am sorry but because of these reasons I will reject this feature request.😞

from quickie.

G00fY2 avatar G00fY2 commented on September 15, 2024

Hi @Doomsdayrs, thanks for reaching out. Currently the focus of the library is the camera integration. But I will see if I can add some way to scan files in the future.

from quickie.

apelican avatar apelican commented on September 15, 2024

So, in QRCodeAnalyzer.kt there is a call to pass the captured image to the analysis engine:
barcodeScanner.process(imageProxy.toInputImage())

One might need to pass an image to a similar MLKit call in your own workflow (wherever the on-device image is sourced...)

I get a healthy part of the value of quickie is the proper MLKit configuration, so one could also explore reusing or exposing the ImageAnalysis of the library for a way to make this call yourself in your own code?

Alternatively, if you forked, one could create or extend a way to attach an image to an analyzer so it could be passed into the quickie image analysis object in QRScannerActivity.kt

from quickie.

fzyzcjy avatar fzyzcjy commented on September 15, 2024

hi, is there any updates?

from quickie.

2dust avatar 2dust commented on September 15, 2024

hi, is there any updates?

from quickie.

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.