File Exchange

image thumbnail

Line Detector

version 1.0 (994 KB) by Brett Shoelson
Detect lines directly in RGB, grayscale, or binary images.


Updated 07 Aug 2020

From GitHub

View license on GitHub

Use syntax as easy as

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

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:

Please share comments and suggestions below!

Cite As

Brett Shoelson (2021). Line Detector (, GitHub. Retrieved .

Comments and Ratings (1)

Alex Jara

UPDATE: App finder wasn't working and then i found it.

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!