The changing legal and normative landscape motivated BELiN to search for a precise tool to protect against counterfeiting raw materials for tea production. Taking into account the specificity of the food industry, characterized by large supply volumes, large production volumes, and a growing chain of intermediaries, the methods of qualitative analysis of raw materials must be fast, cheap, precise and applicable at various stages of production. In the current model of cooperation, the farmer supplies the entrepreneur with herbal raw materials, which are a mixture of various types of particles (fractions) of herbal raw materials with different characteristics. With appropriate algorithms, you can obtain a product with the desired optimal final quality parameters (constant volume of the raw material in the sachet, repetitive taste and color of the infusion in each sachet, the lowest degree of processing of the herbal raw material, uniform granulometric fraction). The intention of BELiN is