Trying out some computer vision problems with R.