Fix NaN bug
Staff system/measure detection
Support more PDF image formats
Robust staff segmentation