Hinge profile detection