Robert Bosch interview question

How edge detection is performed in image processing?