Raspberry Pi motion-detction using c++ and a Pi Camera