The invention discloses a code reading system, which includes a feeding module, a conveying module, a camera module, an analysis and processing module, a server, and a control module. The server is connected to an ERP system. The invention also discloses a code reading method, which includes the following steps: The module places the product on the conveying module; step 2, the shooting module takes the product identification code; step 3, the analysis processing module analyzes the product identification code captured by the camera module and calculates the product quantity; step 4, the analysis processing module sends the analysis and processing results to the server, and the server Display and store the analysis and processing results; in step five, the server shares the analysis and processing results to the ERP system. Quickly obtain the identification code through the camera module, and then analyze and process it, which is simple and efficient; calculate the product quantity through the camera time, feeding speed and conveying speed, and the detection result, which improves the accuracy; send it to the server and share it with the ERP system to realize Data interconnection for easy management.