VeriMedi: Pill Identification using Proxy-based Deep Metric Learning and Exact Solution

04/22/2021
by   Tekin Evrim Ozmermer, et al.
0

We present the system that we have developed for the identification and verification of pills using images that are taken by the VeriMedi device. The VeriMedi device is an Internet of Things device that takes pictures of a filled pill vial from the bottom of the vial and uses the solution that is presented in this research to identify the pills in the vials. The solution has two serially connected deep learning solutions which do segmentation and identification. The segmentation solution creates the masks for each pill in the vial image by using the Mask R-CNN model, then segments and crops the pills and blurs the background. After that, the segmented pill images are sent to the identification solution where a Deep Metric Learning model that is trained with Proxy Anchor Loss (PAL) function generates embedding vectors for each pill image. The generated embedding vectors are fed into a one-layer fully connected network that is trained with the exact solution to predict each single pill image. Then, the aggregation/verification function aggregates the multiple predictions coming from multiple single pill images and verifies the correctness of the final prediction with respect to predefined rules. Besides, we enhanced the PAL with a better proxy initialization that increased the performance of the models and let the model learn the new classes of images continually without retraining the model with the whole dataset. When the model that is trained with initial classes is retrained only with new classes, the accuracy of the model increases for both old and new classes. The identification solution that we have presented in this research can also be reused for other problem domains which require continual learning and/or Fine-Grained Visual Categorization.

READ FULL TEXT

page 5

page 6

page 19

page 23

page 24

page 25

research
10/08/2021

Multi Proxy Anchor Loss and Effectiveness of Deep Metric Learning Performance Metrics

Deep metric learning (DML) learns the mapping, which maps into embedding...
research
03/31/2020

Proxy Anchor Loss for Deep Metric Learning

Existing metric learning losses can be categorized into two classes: pai...
research
12/16/2015

Fine-grained Categorization and Dataset Bootstrapping using Deep Metric Learning with Humans in the Loop

Existing fine-grained visual categorization methods often suffer from th...
research
06/09/2020

Smooth Proxy-Anchor Loss for Noisy Metric Learning

Many industrial applications use Metric Learning as a way to circumvent ...
research
07/08/2022

A Non-isotropic Probabilistic Take on Proxy-based Deep Metric Learning

Proxy-based Deep Metric Learning (DML) learns deep representations by em...
research
06/25/2020

Adaptive additive classification-based loss for deep metric learning

Recent works have shown that deep metric learning algorithms can benefit...
research
01/31/2019

Learning Metric Graphs for Neuron Segmentation In Electron Microscopy Images

In the deep metric learning approach to image segmentation, a convolutio...

Please sign up or login with your details

Forgot password? Click here to reset