[img]https://i .sstatic.net/Jfg9reC2.png[/img]
Код: Выделить всё
LineSegmentDetector lineSegmentDetector = Imgproc.createLineSegmentDetector(
Imgproc.LSD_REFINE_ADV, 1, 0.35
);
// This takes a lot of time
lineSegmentDetector.detect(table_img, lines);
Любые идеи по поводу как его оптимизировать?
Подробнее здесь: https://stackoverflow.com/questions/793 ... tect-lines
Мобильная версия