A Computer Vision based Inspecting System for Needle Roller Bearing (CVISNRB) is proposed in the paper. The characteristic of technology, main functions and principle of CVISNRB are also introduced. CVISNRB is composed of a mechanic transmission and an automatic feeding system, an imaging system, software arithmetic, an automatic selecting system of inspected bearing, a human-computer interaction, a pneumatic control system, an electric control system and so on. The computer vision technique is introduced in the inspecting system for needle roller bearing, which resolves the problem of the small needle roller bearing inspecting in bearing production business enterprise, raises the speed of the inspecting, and realizes the automatic untouched and on-line examination. The CVISNRB can effectively examine the loss of needle and give the accurate number. The accuracy can achieve 99.5%, and the examination speed can arrive 15 needle roller bearings each minute. The CVISNRB has none malfunction in the actual performance in the past half year, and can meet the actual need.