Blister pack inspection: Datasets & Models
Automated visual inspection of pharmaceutical blister packs to verify that every cavity is filled with the correct tablet or capsule and to flag defects before packaging.
Blister pack inspection
This detection workflow inspects pharmaceutical blister packs to verify each cavity holds the correct tablet or capsule, flagging defects before packaging. Trained on a blister pack dataset, it takes still images or video frames from line-mounted cameras and detects filled cavities, empty cavities, broken or misplaced pills, and foil sealing faults.
Try it out
Powered by general detection model
Run on custom image
Drop an image here or click to upload
Why automate blister pack inspection
Manual inspection of blister packs is slow, fatiguing, and inconsistent, and in a pharma context a single missed empty cavity or broken tablet can trigger recalls and regulatory findings. A detection model checks every cavity on every pack without the attention drift that affects human inspectors over a shift. It catches missing pills, cracked tablets, and seal defects earlier, reducing waste of foil and active ingredients and preventing defective product from reaching downstream packaging. The same approach carries over to semiconductor tray and blister-style component inspection where similar cavity-fill verification is needed.
Key benefits
Teams get consistent, 100% inline inspection that integrates with existing line cameras and PLC reject mechanisms rather than adding a separate manual station. Object detection scales across product formats and cavity counts by retraining on new annotated images, and RF-DETR delivers strong accuracy on small, densely packed objects like tablets in adjacent cavities. The result is fewer escaped defects, lower rework, and an auditable inspection record.
How to use it
- Upload an image: Drop any photo into the widget above to try blister pack inspection for free, right on this page.
- Preview instant results: The model detects tablet, capsule, empty cavity, broken tablet, foil seal within seconds and returns an annotated image with structured predictions, so you can immediately see how well it works. Adjust the detection classes and re-run until the results fit your scenario.
- Like what you see?: With a free Roboflow account, you can deploy this workflow with the Serverless Cloud API, customize it in your workspace, or train RF-DETR on your own images for production accuracy.
- Get started for free: No code or training data required to begin: upload, review the results, and make it part of your stack in a single click.
Recommended model for blister pack inspection
RF-DETR is state of the art for real-time object detection, instance segmentation, and keypoint detection, with higher accuracy and lower latency than comparable models, and it's Apache 2.0 licensed. When you're ready to build a production model for blister pack inspection, fine-tune it on your own labeled images, then deploy to a Serverless Cloud API endpoint.
Not sure where to start?
Describe your Blister Pack Inspection project to Roboflow Agent.