Mushroom grader based on computer vision technology

The invention relates to a mushroom grader based on a computer vision technology. The mushroom grader comprises a mushroom charging device, a turn-over device, a computer vision identification device and a mushroom conveying and sorting device. When the machine is used, mushrooms pass through the mushroom charging device and enter the turn-over device which is used for turning over the mushrooms in sequence, so that two images of stiped mushroom bottom surfaces and sessile mushroom cover surfaces of the mushrooms are acquired by a single charge-coupled device (CCD) camera in a same light environment, a computer processes the mushroom image information and makes grading judgment so as to acquire a mushroom quality detection and comprehensive grading signal; and simultaneously the grading signal is converted into the corresponding control signal to drive the corresponding nozzle to work and convey the mushrooms to the corresponding containers; and therefore, the mushroom quality is automatically detected, and the mushrooms are graded.