Skip to content

New quad algorithm: identify edges from contour orientation#130

Merged
pynicolas merged 5 commits intomainfrom
quad_edges
Mar 7, 2026
Merged

New quad algorithm: identify edges from contour orientation#130
pynicolas merged 5 commits intomainfrom
quad_edges

Conversation

@pynicolas
Copy link
Owner

@pynicolas pynicolas commented Mar 7, 2026

Goal: improve precision of automatic document cropping by switching:

  • from Douglas-Peucker algorithm (OpenCV's approxPolyDP) + a heuristic for documents missing a corner
  • to an algorithm that looks for edges

See issue #129

@pynicolas pynicolas merged commit 343495d into main Mar 7, 2026
5 checks passed
@pynicolas pynicolas deleted the quad_edges branch March 7, 2026 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant