A method to identify a key profile, comprising:illuminating with two laminar beams emitted by two
laser light sources said two sides of said shank of a key driven to move axially relative to said beams,reading with two video cameras, fixed relative to said sources and having their
optical axis inclined to said planes in which said light beams lie, said two light profiles formed by said laminar beams striking said two surfaces of said shank of said keys,digitizing said optical images read in this manner, to obtain two sequences of signals representative of said profiles of said two lateral surface portions of said key, as instantaneously illuminated by said laminar beams and read by said video cameras,reconstructing from said signals, by means of a processor unit, a
signal representative of the entire key profile, andcomparing said thus reconstructed
signal with said
signal representative of profiles stored in said processor unit to obtain data identifying said profile of said read key.