scripts.add_staffline_symbols module

The script add_staffline_symbols.py takes as input a CVC-MUSCIMA (page, writer) index and a corresponding CropObjectList file and adds to the CropObjectList staffline and staff objects.

scripts.add_staffline_symbols.build_argument_parser()[source]
scripts.add_staffline_symbols.main(args)[source]
scripts.add_staffline_symbols.staffline_surroundings_mask(staffline_cropobject)[source]

Find the parts of the staffline’s bounding box which lie above or below the actual staffline.

These areas will be very small for straight stafflines, but might be considerable when staffline curvature grows.