This invention relates to a method, apparatus, and medium for rapid sorting of
poultry meat percentage based on X-
ray imaging. The method includes: Step S1: acquiring X-
ray images of the poultry to be tested; Step S2: identifying the sternal region and
skin boundary based on the X-
ray image; Step S3: drawing a normal at the sternal apex, obtaining the intersection of the normal at the sternal apex and the
skin boundary as the first
surface point, and obtaining the initial bone-
skin distance based on the distance from the sternal apex to the first
surface point; Step S4: obtaining the angle between the X-ray
machine's
visual axis direction and the normal direction of the first
surface point as the consistency difference angle, obtaining the sternal integrity ratio and sternal principal axis attitude angle based on the sternal region, and correcting the initial bone-skin
distance based on the consistency difference angle, sternal integrity ratio, and sternal principal axis attitude angle to obtain the corrected bone-skin distance; Step S5: obtaining the meat percentage grading result based on the corrected bone-skin distance. Compared with the prior art, this invention can achieve
poultry meat percentage sorting based on X-ray imaging.