Facial recognition leads state to cancel 1,200 ID cards