Skip to content

Commit

Permalink
Remove image crop when analyzing QR codes
Browse files Browse the repository at this point in the history
  • Loading branch information
Juliano1612 committed May 15, 2024
1 parent a61ba9c commit a662199
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,6 @@ class QrCodeAnalyzer(
image.width,
image.height,
false,
).crop(
(image.width * 0.1f).toInt(),
(image.height * 0.3f).toInt(),
(image.width * 0.8f).toInt(),
(image.height * 0.5f).toInt(),
)
val binaryBmp = BinaryBitmap(HybridBinarizer(source))
try {
Expand Down

0 comments on commit a662199

Please sign in to comment.