Open MarcelJurtz opened 2 years ago
THANK YOU SO MUCH!!! I've been trying to debug this thing for the whole goddamn day, never understood what was the issue and your comment just made my day.
Now you could use the resolutionSelector : .setResolutionSelector(ResolutionSelector.Builder().build())
Hey, thanks for the video! I had an issue rebuilding your solution so I cloned the repo to figure out if I just forgot something. However, the repo seems to have the same issue. For me, the camera preview worked, but I just did not get any results (Pixel 3a).
I noticed some people in your videos comments had the same issue and one figured out to remove the .setTargetResolution part from the imageAnalysis-object. With that change, the scanning seems to work. However, I'm not super into android yet and I'm wondering if that change is fine or could actually break more. Would love to hear some feedback, thank you!