Segmentation of merged characters by neural networks and shortest-path | Synapse