Simple object detection logic for PiCamera using OpenCV and the MMAL API (via Userland)