Convolutional Neural Network(CNN) is the state-of-the-art object recognition method in computer vision research area. But CNN has a very complicated structure and high cost in image localization. We present an efficient method for classification and localization of objects in convolutional neural network. The proposed method is faster than the conventional method in image searching, while achieving the capability of CNN.