Testing OpenCv on OSX for motion detection experiment