Change Vector to ArrayList, in order to avoid conflict with OpenCV.