Mobile phones with a camera function are capable of capturing image and processing tasks. Quick Response Code has been widely used in industrial information tagging applications where high data capacity, robust error corrections are required. It has become a kind of mobile 2D barcode which is used widely in China and Japan. In deal with the influence by the different light conditions and noise, a novel recognition algorithm is given in this paper. First, we combine filter, rough location and binarization to erase noises and reduce computation. Then, we propose an accurate location and orientation, skew correction with the help of alignment patterns algorithm to build a bar code grid. Finally, we use error correction and decoding process to generate the result. Our simulation results show that the proposed schemes is accurate, fast and can significantly reduce the influence of non-uniform illumination by achieving up to 98 percent in recognition rate.