Updated removeBackground to do Canny Edge Detection