Line Detector

Detect lines directly in RGB, grayscale, or binary images.
408 Downloads
Updated 7 Aug 2020

Use syntax as easy as

detections = detectLines(img, 'numlines', n);
displayResults(detections)

or optionally provide any input to the underlying functionality. Also allows specification of preprocessing functions, and allows you to specify properties of displayed lines.

This video demonstrates the utility of the function:
https://www.youtube.com/watch?v=j0q4UuI68Vc

Please share comments and suggestions below!

Cite As

Brett Shoelson (2024). Line Detector (https://github.com/mathworks/Line-Detector/releases/tag/v1.0), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2020a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.