This page explains it, basically you don't go to prison itself, but you have certain requirements/conditions (stuff like community work) and if you break the terms you might then get sent to actual prison.
So from my experience of these type of systems (mostly in the context of banking services) they normally want to use your devices camera to take the picture directly, and normally also want a photo of a photographic ID to compare against.