Some festivals work just like that, you upload some ID when buying your ticket which they see when you enter the venue. Feels really nice and stress free.