Image Preprocessors
M-LSD line segment detection preprocessor.
Input
Fields marked * are required. Review the price before generating.
API code for this input
Complete the required fields and fix input errors to see API code.
How to use Image Preprocessors
Getting started
Detect line segments in an image with MLSD. Start with a source whose important structural lines are clearly visible.
Review your result
Compare detected lines with the source. Check missing segments and false lines from texture; this result is not a measured architectural drawing.
Inputs and settings
Provide image_url. score_threshold and distance_threshold both default to 0.1 in the provider schema.
Adjust one threshold at a time and record it with the output. Compare the line map before using it in another operation.