The invention relates to the technical field of sorting control, in particular to a traditional Chinese medicinal material intelligent sorting control method and
system based on image recognition, and the method comprises the following steps: collecting an original traditional Chinese medicinal material
image based on image collection equipment, calculating the
signal-to-
noise ratio and the definition index in the original traditional Chinese medicinal material image, and obtaining a traditional Chinese medicinal material sorting result; and adjusting
exposure and focusing setting of the camera according to a calculation result, and performing contrast and
sharpening processing on the original image. According to the invention, by analyzing the
signal-to-
noise ratio and the definition of the original image and correspondingly adjusting the
exposure and focusing setting of the camera, the details of the medicinal material image are remarkably improved, so that the
edge detection and
color analysis can be executed more accurately, the accurate capture of the characteristics of the traditional Chinese medicinal material is ensured, the misjudgment caused by poor
image quality is reduced, and the accuracy of the traditional Chinese medicinal material image is improved. The sorting mechanical arm is adjusted in real time, classification errors are directly corrected, the flexibility and efficiency of the whole sorting
system are improved, and therefore the operation efficiency is greatly improved while the sorting accuracy of the traditional Chinese medicinal materials is guaranteed.