Detecting figures and part labels in patents: competition-based development of graphics recognition algorithms