experiment with docstrum-style line detection