Added OpenCv to find frontiers