In recent years, the logistics industry has developed rapidly and many goods arriving at warehouse are clued for unloading .In order to reduce the occurrence of this phenomenon, it is an effective way to speed up the circulation speed of express delivery at freight stations and reduce goods information acquisition time. This paper proposes a high speed barcode recognition system and the choice of double gradient direction gradient difference and the adaptive threshold according to light intensity are added to this system. The overall development environment is under the Ubuntu system, mainly using OpenCV and Zbar. This system enables barcodes to be recognized accurately at a high speed. In the experiments, we use barcodes provided from SF Express and find that barcodes can be accurately recognized at 3m/s regardless of barcodes placement at any angle. This verifies the effectiveness of the system.