AI Pill Counter – Embedded Computer Vision Case Study

This project demonstrates the development of a complete AI-powered embedded vision system for automated pill detection and counting. The system combines embedded hardware, computer vision, machine learning, and real-time software integration to solve a practical automation problem in the healthcare industry.

Overview

The objective of this project was to accurately count pills placed on a tray using a camera and deep learning model running locally on an embedded edge AI platform. The system operates completely offline and performs image acquisition, object detection, instance segmentation, and counting in real time.

Engineering Disciplines Demonstrated

Embedded Systems Development

Computer Vision & Machine Learning

Software Development

System Integration

Technical Architecture

The system captures high-resolution images from a camera mounted above a pill tray. Images are processed locally using a deep learning model trained to identify and count individual pills, including partially overlapping objects. The final count is displayed on an embedded LCD interface.

Engineering Challenges Solved

Demonstration Videos

The videos below demonstrate the complete embedded system operating on production hardware. The AI model performs image capture, object detection, instance segmentation, and pill counting locally without requiring cloud processing.

Introduction

Introduction to the real-time pill detection and counting using embedded AI.

Performance Demonstration

Demonstration of counting performance with different quantities of pills.