Abstract:Metal dome is one of the key components of electronic components,like membrane switch,microswitch,etc.It has several big advantages,for example,smooth contact,strong connectivity,stable spring-back and delicate touch .In the process of metal dome production,it’s inevitable to be touched by the finger of people . As a result, fingerprints and grease are left on it,leading to accelerated oxidation to metal dome,short working life,and other potential damage.Therefore,metal dome quality testing is very important to improve the competitive power of the products.At present, most of manufacturing enterprises use the human visual test,which has low efficiency,and is easy to be wrong.In order to improve the production efficiency,a metal dome surface fingerprint testing method based on machine vision proposed.The method by using the generalized Hough transform locates the target position,then extract the gray level co-occurrence matrix and supporting vector machine classification,which realizes the metal dome quality automatic test,and the working flow of this method is given.The experimental results show that this method has obtained a good effect,possessing certain practical value and popularization value.