Staff detection library (Partial) Implementation of "Staff detection and with stable paths" (Cardoso, 2009).