Fixed the image hangling bug. Still need to write tests for OpenCvUtils.