
AI in Coffee Quality Control: How VCG Uses Machine Vision
VinaCoffee Group has deployed machine vision AI at our Binh Duong facility, achieving 99.2% defect detection accuracy and reducing manual sorting labor by 60%. Here is how the technology works.
Quality control in coffee processing has traditionally relied on two technologies: optical color sorters (which reject beans based on color deviation) and human visual inspection. Both have limitations. Color sorters miss defects that do not manifest as color changes — insect-damaged beans with intact surfaces, for example, or under-fermented beans that appear normal externally but harbor off-flavors. Human sorting, while more nuanced, is fatigued by the repetitive nature of the work and achieves consistency rates of only 85-90% across an 8-hour shift. VCG's deployment of machine vision AI addresses both limitations.
The system, installed at our Binh Duong facility in Q3 2025, uses an array of 12 high-resolution cameras (5 megapixel, 120 frames per second) mounted above a single-layer bean conveyor belt. Each camera captures multiple images of every bean from different angles as it passes through the inspection zone at a speed of 2 meters per second. The images are processed in real-time by a custom convolutional neural network (CNN) running on NVIDIA Jetson AGX Orin edge computing modules, with inference latency under 8 milliseconds — fast enough to trigger pneumatic rejection nozzles for individual defective beans.
The AI model was trained on a dataset of 2.4 million annotated bean images collected over 14 months at VCG's facility. The training data includes 23 distinct defect categories defined by the SCA Green Coffee Defect Handbook, including: full black, partial black, full sour, partial sour, fungus damage, insect damage, broken/chipped, husk/hull fragments, foreign matter, and immature/unripe beans. The model achieves 99.2% defect detection accuracy on our test set, with a false positive rate of only 0.8% — meaning that less than 1% of good beans are incorrectly rejected. This performance exceeds the best optical color sorters (typically 95-97% for color-based defects only) and far surpasses manual sorting consistency.
The business impact has been significant. Prior to the AI system, VCG employed 40 manual sorters working in two shifts for final-stage quality inspection. The machine vision system has reduced this requirement to 16 sorters who focus on verification sampling and handling edge cases flagged by the AI for human review. Labor cost savings exceed $180,000 annually. More importantly, the consistency of output quality has improved measurably: the coefficient of variation in defect counts across export lots has decreased from 35% to 12%, meaning our customers receive more predictable quality from shipment to shipment.
VCG's machine vision system operates under the AI governance framework mandated by our ISO 42001 certification. All AI-driven quality decisions are logged with full traceability — every rejected bean is photographed and classified, creating an auditable record. Human Q-graders retain override authority and conduct daily calibration checks by running known-defect sample sets through the system. The AI does not make autonomous decisions about lot acceptance or rejection; it provides data that our quality team uses to make informed decisions. This human-in-the-loop approach reflects VCG's commitment to responsible AI deployment and satisfies the transparency requirements of our Japanese and European buyers.
Linh Vu
Chairman, VinaCoffee Group


