hadders / camera-reverse

Reversing the image of a front facing camera

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

about

This example is intended to a quick demo and I offer no support and don't claim it's perfect. Use at your own risk.

Provides an example of taking a front facing camera image and reversing the image in constant real-time. This allows the image to be used for barcode scanning which won't work with a mirror image.

Front facing cameras in Android always mirror the image.

This works on a Nexus 5.

EXAMPLE:

Nomrally holding up some text 'ABC' to a front facing camera shows 'ABC' in reverse i.e 'CBA'. With this code 'ABC' is shown as 'ABC'.

About

Reversing the image of a front facing camera


Languages

Language:Shell 58.4%Language:Java 37.9%Language:Groovy 3.7%