Added edge detection support using the canny edge detector from opencv