The invention relates to a light-emitting diode aftertreatment process. The light-emitting diode aftertreatment process mainly comprises the following multiple procedures of inspection operation, straightening treatment, detection treatment, collection packaging and the like. Adopted straightening equipment comprises a bottom plate, a taking device, a rotating device, a straightening device and aclamping device. The following problems existing during straightening of an existing light-emitting diode pin that a, when the traditional light-emitting diode pin is straightened, the middle end of alight-emitting diode needs to be manually held, the pin of the light-emitting diode is clamped by fingers to be straightened, consequently the work efficiency is low, mass production cannot be met, and when straightening is conducted manually through the fingers, the fingers are prone to being stabbed by the pin of the light-emitting diode; and b, when being straightened manually, the pin of thelight-emitting diode is often pulled cut due to excessive force, and consequently raw materials are wasted can be solved; and the straightening efficiency is high, the straightening effect is good, and the phenomenon that the pin is pulled cut is avoided.