Why stop there? Train ChatGPT on the legal code then feed live video into it. ChatGPT will then fine violators immediately for those crimes that are fineable. For arrestable crimes have it write the summons and then use text to speech so it can radio a police officer and dispatch to your location. The officer doesn't even have to know why they are arresting you, and it means they can be completely unaware of the legal code because the infraction was already detected and adjudicated.