The pills detection system is built based on the Feature Pyramid NetworkConvolution Normal Network (CNN). Two-stage CNN architecture is used for pills localizationpill classification. The accuracyexecution time of the pill detection are 900.02s, respectively.