Skip to content

Commit

Permalink
#278 [refactor] BarcodeAnalyzer 클래스명 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
2zerozu committed Nov 27, 2023
1 parent 3fe1591 commit c1b94a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import com.google.mlkit.vision.barcode.BarcodeScanning
import com.google.mlkit.vision.barcode.common.Barcode
import com.google.mlkit.vision.common.InputImage

class BarcodeAnalyser(private val barcodeListener: BarcodeAnalyzerListener) :
class BarcodeAnalyzer(private val barcodeListener: BarcodeAnalyzerListener) :
ImageAnalysis.Analyzer {
private val options = BarcodeScannerOptions.Builder().setBarcodeFormats(
Barcode.FORMAT_CODE_39,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ class BarcodeScannerFragment :
.setTargetRotation(rotation).build().also {
it.setAnalyzer(
executor,
BarcodeAnalyser { barcode ->
BarcodeAnalyzer { barcode ->
if (processingBarcode.compareAndSet(false, false)) {
onBarcodeDetected(barcode)
}
Expand Down

0 comments on commit c1b94a3

Please sign in to comment.