I want to use this library for 3D position and orientation tracking of barcodes. The way barcode corner points are returned makes orientation tracking impossible. The library will 'sort' the clockwise order of barcode corners depending on the 'up' direction of the input image independent of the barcode orientation. If the barcode is 'upside-down' relative to the input image, the first point will still be the most top-left corner of the barcode relative to the input image.
What's your feature request? Please describe.
I would like a way to get the corner points in order relative to the barcode itself rather than relative to the image. The index of each corner of the barcode should stay fixed as it rotates. If the barcode is turned upside-down relative to the image, then corner point [0] should be in the bottom-right corner of the code relative to the image.
In this gif, when I rotate the smartphone with the barcode sideways I want the text to rotate sideways as well. The current behavior of the barcode scanner will change the corner indices so the text is always upright relative to the image, but if an object is turned upside-down or sideways I want it to register as upside-down or sideways which is currently impossible.
I want to use this library for 3D position and orientation tracking of barcodes. The way barcode corner points are returned makes orientation tracking impossible. The library will 'sort' the clockwise order of barcode corners depending on the 'up' direction of the input image independent of the barcode orientation. If the barcode is 'upside-down' relative to the input image, the first point will still be the most top-left corner of the barcode relative to the input image.
What's your feature request? Please describe. I would like a way to get the corner points in order relative to the barcode itself rather than relative to the image. The index of each corner of the barcode should stay fixed as it rotates. If the barcode is turned upside-down relative to the image, then corner point [0] should be in the bottom-right corner of the code relative to the image.
In this gif, when I rotate the smartphone with the barcode sideways I want the text to rotate sideways as well. The current behavior of the barcode scanner will change the corner indices so the text is always upright relative to the image, but if an object is turned upside-down or sideways I want it to register as upside-down or sideways which is currently impossible.
Mobile environment Both
Additional context