Comments (1)
This would be better handled in Stackoverflow... it is not an error within the API but with your code. As pointed out when you set the processor
barcodeDetector.setProcessor(new Detector.Processor<Barcode>()
should be something like
BarcodeDetector barcodeDetector = new BarcodeDetector.Builder(context).build();
BarcodeTrackerFactory barcodeFactory = new BarcodeTrackerFactory(mGraphicOverlay, this);
barcodeDetector.setProcessor(
new MultiProcessor.Builder<>(barcodeFactory).build())
and then to get the results
@Override
public void onBarcodeDetected(Barcode barcode) {
//do something with barcode data returned
}
checkout out this Google sample on this class.
from barcode-reader.
Related Issues (20)
- switch to front camera HOT 2
- Layout info.androidhive.barcode.BarcodeReader
- Can I set a border for the square area? HOT 2
- Camera is distorted & no result HOT 1
- Limiting the types of barcodes that can be read
- Green color in right side of camera preview HOT 4
- How to turn on flash manually (using code not XML) ? HOT 1
- Class Cast Exception
- Camera is scanning qr not only in the center but also on the right left ... HOT 2
- First time install - long wait for download of QR Core libraries
- Duplicate class android.support.design.widget.CoordinatorLayout found HOT 1
- Change position of barcode scanner and borders on top left, top right, bottom left, and bottom right.
- Manual Flashlight
- Green color in right side of camera preview HOT 5
- Hi Ravi Tamada
- java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Thread$State java.lang.Thread.getState()' on a null object reference HOT 8
- Camera 1 API is deprecated,
- Migration to MavenCentral HOT 1
- Android 11 device
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 barcode-reader.