The invention discloses a
deep learning oral
pill identification method based on multiple views and
data expansion. A
database is established by adopting a multi-view and data augmentation method, and a
data set is perfected from multiple angles. A lightweight network is used, and a practical model embedded into mobile equipment and small and medium-sized equipment is designed. And combining multiple views with a two-dimensional model, and completing the construction of a practical model after transfer learning. Meanwhile, an incomplete oral
pill identification channel is established, and incomplete pills are subjected to
template matching to be restored into complete
pill pictures and then are identified. The method effectively classifies the medicines with highly similar shapes and colors, assists
medical staff in sorting the medicines, and reduces and even avoids life safety problems of patients caused by wrong
medicine classification. The
overfitting problem caused by
small data volume is solved through multi-view
database building, data augmentation and transfer learning, a lightweight model MobileNetv2 is adopted as a basic framework, an attention module mechanism is introduced, the parameter quantity of the model is greatly reduced compared with that of a three-dimensional model, and the method is convenient, practical and easy to popularize.