Comments (5)
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.
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.
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.
hi, is there any updates?
from quickie.
hi, is there any updates?
from quickie.
Related Issues (20)
- Facing issue on get code HOT 1
- toString() - Am I missing something HOT 1
- Barcode Scanning is not working on Devices Managed by MDM-Android HOT 1
- Unable to read encrypted qr codes HOT 1
- Google code scanner buggy HOT 1
- [Feature Request] Tap to focus feature
- [Feature Request] Configure to Keep the Screen On HOT 1
- Can i have my own custom design in place of QROverlayView HOT 1
- Crash on Android 9.1 smart watch HOT 7
- Minimum SDK version - 31 HOT 2
- How to get wifi ssid or another information? HOT 1
- Dependency Dashboard
- Adaptation for easy implementation in Jetpack Compose HOT 4
- Request removing `<uses-feature android:name="android.hardware.camera"/>` HOT 2
- internal QROverlayView? HOT 4
- Crash on certain devices HOT 2
- Failed to open the camera in mode: "Do Not Disturb" HOT 1
- Occasional crash on Pixel 5 Android 13 HOT 5
- java.util.concurrent.ExecutionException when initial camera HOT 2
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 quickie.