fixig std::bad_alloc if points0 is empty checkVector(2) return -1, it causes the exception
fixig std::bad_alloc
if points0 is empty checkVector(2) return -1, it causes the exception

opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv