This flow runs on a Mac to take small photos using a web cam when signalled via MQTT.
This flow relies on imagesnap being installed on your Mac to take pictures using the built in web cam.
When a message is sent to the MQTT endpoint, a new photo is taken, then resized using imagesnap called with an exec node. The file is read, then sent via HTTP by base64 encoding to a private FRED HTTP endpoint.
It can be used as part of a remote security camera solution where the cloud can be used to trigger and view remote images, and do further storage and image processing.