fix path in jpg2lines
add cell count in line2cell
fix image path
use cleanned images as base to generate preview images