A case study about applying similarity learning approach for anomaly detection for Agrivero.ai - is a company making AI-enabled solution for quality control & traceability of green coffee for producers, traders, and roasters. The result was reached by using only 0.66% of the labeled data with metric learning compared to supervised classification method.