saumitrabhave / qr-zbar-ane

ANE for QR Code Reader
MIT License
84 stars 23 forks source link

Force rear camera #30

Closed bknill closed 9 years ago

bknill commented 10 years ago

Hi, Great ANE thanks.

How do I force it to always use the rear camera? I keep getting a video of my face and first thing in the morning it's not pleasant!

Thanks

bknill commented 10 years ago

Ahh..

s.launch(true,"rear");

This line isn't documented..

agm65mav commented 10 years ago

what version do you have? this brings precompile errors cause the param is not expected: s.launch(true,"rear");

napcat commented 10 years ago

I'm using:

scanner.launch(true, "back"); or scanner.launch(true, "front");

The default value is "back", so you don't need to pass the argument if you want to use the back camera.