Identifying books in library using line segment detector and contour clustering
LSD: A Fast Line Segment Detector with a False Detection Control