pill localization training data augmentation data preprocessing consumer + reference pill images pill localization inference data preprocessing reference image student - cnns features ranking gradient cnn color cnn gray cnn similarity measure pill retrieval .
Sparsification and Separation of Deep Learning Layers for Constrained Resource Inference on Wearables