dlazaro66 / QRCodeReaderView

Modification of ZXING Barcode Scanner project for easy Android QR-Code detection and AR purposes
1.9k stars 490 forks source link

Bad exposure detection on some devices #81

Open kioltk opened 7 years ago

kioltk commented 7 years ago

Hi, I'm using your library on my work project, and after testing on a few devices I can catch bad exposure settings sometimes. I mean it does not have autoexposure at all, it sets exposure properly on startPreview and on torch toggling, but it does not have autoexposure at all. For example we have samsung j2 that reproduces this issue.

Also application that uses this library has the same issue.

However the device has an autoexposure and other applications do the autoexposure properly.

shem8 commented 7 years ago

Same here, I'm using Samsung Duos 2 I saw one solution here but I tried it and it not working.

kioltk commented 7 years ago

up

dlazaro66 commented 7 years ago

Sorry for the delay.

Also application that uses this library has the same issue.

This library uses the core of that App (Barcode Scanner) which is ZXING, so makes sense that it have the same issues.

At the moment, I don't know if is possible to set an autoexposure mode, different to how is set when you enable the torch. Maybe the other camera apps you refer are using the Camera2 API.

I won't close this issue at the moment since I can investigate if there's a way to do it.

shem8 commented 7 years ago

Is there are any plans to move to Camera2 API?

dlazaro66 commented 7 years ago

Is there are any plans to move to Camera2 API?

Right now is not a really priority, maybe in the future I'll do it.