uptodiff / Contour-Detection

OpenCV's contour detection algorithm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Contour-Detection

This is an implementation of the contour detection algorithm proposed in the paper Topological Structural Analysis of Digitized Binary Images by Border Following by Suzuki and Abe 1985. The function raster_scan() requires a zero-padded binary input image. The outputs are the contour coordinates, hierarchy of the contours and the corresponding border types. The images are assumed to be four-connected.

Results

About

OpenCV's contour detection algorithm


Languages

Language:Python 100.0%