The invention discloses an automatic
fritillaria identification system and method based on hierarchical
deep learning, and relates to the technical field of intelligent detection of traditional Chinese medicinal materials. The
system comprises a hardware integration and
image acquisition module, an
image processing and target positioning module and a grading identification
algorithm module. Wherein ConvNeXt-is adopted for the category pairs of the Songbei and the Pingbei, which are relatively low in similarity; carrying out classification and identification through a Tiny network; the method comprises the following steps of: performing classification identification by adopting a double-
branch ConvNeXt model aiming at furnace shell and
illite type pairs with relatively high similarity, respectively extracting local microscopic texture and overall macroscopic morphological characteristics by adopting texture branches and morphological branches which are constructed in parallel, and performing optimization by adopting a joint
loss function fusing tuple marginal penalty terms so as to enhance the inter-
class discrimination capability. According to the invention, full-process
automation from sample feeding to identification result output is realized, the identification precision is high, the speed is high, and the method is suitable for rapid nondestructive batch detection in the circulation link of traditional Chinese medicinal materials.