Detects Cap Height

A check can be made for caps that are not straight by comparing the height of a cap left-to-right. The height and inclination of a cap can be determined by measuring and comparing two points.