The manufacturers of this tiny gadget made a great job. Not only you can take high quality photos , but you can record as well (high resolution). The key chain looks realistic enough so no one will notice if you try to use it in an unorthodox manner :)
The video below explains how it works :