The first step to Shape Dectection using OpenCV C++