Added in latest working version of the object detection with moments.