Visual inspection system for crack hardness of flat bearing