QR Codes - Camera Orientation / Projection

I am looking for a library or method for decoding a QR code (or potentially another form of 2d barcode) and for actually determining the position and orientation of the camera. This seems to be doable, but I'm not quite sure.

Does anyone know which is the best route for this? Or if it is possible?

+2
source share
2 answers

zxing is an open source Java library for 2 barcodes, including QR.

see com.google.zxing.ResultMetadataType.ORIENTATION (additional metadata returned in the hash table from com.google.zxing.Result.getResultMetadata() ):

Indicates the likely approximate orientation of the barcode in the image. This value is specified as degrees rotated clockwise from normal vertical orientation. For example, a 1D barcode that was detected when reading from top to bottom will have an orientation of β€œ90”. This key displays an integer whose value is in the range [0,360].

+3
source

Many Android applications use QR codes heavily - if I were you, I would do some research using Android as one of the keywords and could add β€œandroid” as a tag in this Q (or publish the Android version of it) .

PS Since the Android code is the IIRC open source code available for Google, if the QR logic is mainly available for Android, you can access it.

0
source

All Articles