What it does
SAMSS is a smart pharmacy assistant that uses AI-OCR to automatically sort and log medicine. It solves the critical problem of manual sorting fatigue and medication errors, ensuring 100% inventory accuracy while reclaiming pharmacist time.
Your inspiration
The concept for SAMSS emerged from our interview with Hospital Al-Sultan Abdullah, Universiti Teknologi MARA (HASA UiTM), where we conducted a detailed operational analysis. During the interview, we gained deep insight into the logistical bottlenecks caused by high-volume, manual medicine sorting. The pharmacists were under significant pressure, facing a high cognitive load that increased the risk of misplacement errors. Manual sorting was the primary cause of fatigue and process inefficiencies. Our goal was to develop an affordable, benchtop automation solution that effectively replacing manual drudgery with precise, OCR-driven verification.
How it works
The SAMSS automates pharmacy sorting using a precision-engineered Cartesian gantry system. The workflow begins when a pharmacist places a mixed batch of medicine packages onto the input platform. An overhead camera captures high-resolution images, which are processed by our OCR (Optical Character Recognition) engine to instantly identify the medicine name and dosage from the label. This eliminates the need for slow, manual visual verification. Once identified, the system calculates the package's precise (X, Y, Z) coordinates. The motorized gantry then moves to these coordinates, lowers a soft-touch mechanical gripper to pick up the item, and transports it to a designated output bin. By automating both the recognition and physical sorting, SAMSS ensures continuous operation, zero fatigue, and 100% audit accuracy. The design uses modular, off-the-shelf components, allowing for reliable, low-cost maintenance in demanding hospital environments like HASA UiTM.
Design process
Our design journey began by identifying the specific bottleneck of manual medicine sorting. We established a conceptual framework focusing on a Cartesian gantry system to handle physical movement, paired with an OCR engine to manage verification.
We started with CAD modeling in SolidWorks to design the structural frame, followed by building an initial prototype to test motion. This iteration revealed logic conflicts in the actuator sequences, which we resolved by refining our Arduino control code for smooth, sequential operation.
Next, we integrated our OCR software onto a Raspberry Pi, which acts as the system's "brain" by processing live camera feeds and executing text-based label identification. We optimized the hardware through iterative 3D printing, testing PLA components for structural balance. Finally, we conducted ANSYS stress simulations on the gantry beams to guarantee a high factor of safety. This progression has resulted in the current reliable, benchtop-ready SAMSS.
How it is different
SAMSS distinguishes itself through a clinical-first approach rather than a purely mechanical one. While many industrial sorters rely on proprietary, expensive visual training models that struggle with new packaging, SAMSS uses OCR (Optical Character Recognition) running on a Raspberry Pi. This makes our system brand-agnostic; it reads the text on the medicine label directly, allowing it to adapt instantly to any new medication or packaging design without requiring costly software retraining.
Furthermore, we prioritize "reclaimable space." Unlike fixed, room-sized automation that demands a complete facility overhaul, SAMSS is a modular, benchtop unit designed to integrate into existing pharmacy layouts. By utilizing standard structural components and an open-architecture design, we provide a "right-to-repair" solution that drastically reduces maintenance costs and downtime, making advanced logistical automation accessible for mid-sized hospitals.
Future plans
Our next development phase focuses on system integration and operational scalability. We plan to link the Raspberry Pi-based OCR engine directly to the hospital’s Hospital Information System (HIS), enabling real-time, automated inventory synchronization. Long-term, we aim to deploy a multi-unit configuration to handle higher volumes, transforming the SAMSS into a comprehensive logistics solution that eliminates manual sorting bottlenecks and ensures inventory precision across the entire pharmacy.
Share this page on