An effective algorithm for automatic cartridge identification is proposed. The ejector impression is used to calibrate the cartridge image. Features of the firing pin impression and the breach face impression are extracted using active snake and orientation analysis, respectively. These different features are then integrated to make a final decision by using a support vector machine. Experimental results illustrate the effectiveness of our algorithm.