Automatic exposure control for optical inspection systems in augmented reality headwear manufacturing