Alex Loosley: Tic-Tac Defect Detection


Tic-tac defect detection is based on a use case we developed to automate pill production quality control and save a pharmaceutical company millions of euros per year. When a pill press breaks, it begins to produce defective pills that can take hours or sometimes days to recognize. With each pill press producing hundreds of pills per second, the monetary stakes of potentially losing days of product are high. To address the issue, we prototyped a (deep) machine learning pipeline using transfer learning to detect defective pills. One particular challenge was to avoid false positives because they lead to unnecessary and costly production disruptions. Some of the causes of false positives were noise in images captured under practical but imperfect conditions (e.g. dust, unwanted reflections, CCD shot noise, etc.). Our pretrained lower layers (InceptionV3) was not as effective as we needed it to be at extracting features that could differentiate dust from pill defects, and we did not have enough labelled data to retrain them. We instead show how pre-processing techniques with Gaussian mixtures models, auto-encoders, and non-local means can be used to improve the quality of our transfer learning based image recognition pipeline. Cloud platforms allowed the team to quickly and cheaply explore and compare a wide range of machine learning techniques, thereby leading to an effective working prototype within a short development cycle.


Alex Loosley is a former experimental biophysicist turned industry data scientist (in 2014) and part time ML researcher. Currently, he is the technical director for data science at Data Reply GmbH, a consultancy. He’s worked on projects including predictive maintenance in the manufacturing industry based on time-series data, object recognition (computer vision) and causal analysis in the healthcare industry, entity recognition and topic discovery for customer service portals in the automotive and telecommunications industries, logistics optimization, insurance fraud detection, and many more.

Previously (in Canada), Alex co- a founded ML Infinity Data Analytics Inc (link below), a data science consultancy, with former UBC String theorist Mike McDermott. In a short period of time, ML Infinity led the development and implementation of an ML driven IOT solution for crop management and pest control that is part of the core offering of one of the fastest growing agricultural companies in Canada . Our solutions process data and mak e predictions on over 250k acres of organic farm land across the world.

Strengths: Analytical, Restorative, Achiever, Futuristic, Learner

Hobbies: Ice Hockey (semi professional referee), Sailing, Snowboarding

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.