"""
List of constants and LUT's

"""

# Flags for orientation decoding
CV_QR_NORTH = 0
CV_QR_EAST = 1
CV_QR_SOUTH = 2
CV_QR_WEST = 3

# LUTs for version decoding
QR_VERSIONS = list(range(1, 41))
QR_SIZES = [(version - 1)*4 + 21 for version in QR_VERSIONS]


ERROR_IMAGE_FACT = """------ Init Error ------
Sorry, only image_factory that subclass numpyImage is supported to use this feature.
Changing from {} to numpyImage.
-----------------------
"""

ERROR_IMAGE_MISS = """------ Init Error ------
Error: Image is not readable.
-----------------------
"""