Commit ebd2a86
Support additional barcode formats in scanner (#17)
* Support additional barcode formats in scanner
Expanded barcode scanning to include CODE_128, CODE_39, CODE_93, UPC_E, and QR_CODE formats in both the service and camera preview. This allows the app to recognize a wider variety of barcodes beyond EAN-8 and EAN-13.
* Remove QR code support from barcode scanning
QR code format has been removed from the list of supported barcode formats in both BarcodeScannerService and CameraPreview. Only UPC_E and other code formats are now scanned.
---------
Co-authored-by: Vishal Paliwal <paliwalvishal16@gmail.com>1 parent d964406 commit ebd2a86
2 files changed
Lines changed: 19 additions & 3 deletions
File tree
- app/src/main/java/lc/fungee/IngrediCheck
- model/source/mlkit
- ui/view/component
Lines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
80 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
81 | 90 | | |
82 | 91 | | |
83 | 92 | | |
| |||
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
156 | 163 | | |
157 | 164 | | |
158 | 165 | | |
| |||
0 commit comments