Real Time Edge Detection in Browser

Using OpenCV.js to find edges in video

Andrew Udell
Towards Data Science
5 min readJan 27, 2021

--

The edges detected around my cat
The edges detected around my cat. Image produced by author.

Edge detection is a fundamental tool in computer vision. By using sharp contrasts in brightness, general outlines and shapes can be found in an image. Often used as a filter to find distinctions between items in a photo, edge detection offers a first stepping stone into object recognition.

--

--