I have a binary image and I want to find the contour of the blob in the image using R. I\'m used to doing this in python using OpenCV but I would like to have this in R.