Nowadays, the market is mainly governed by two principles: infrared and microwave.
Infrared is mainly used for powdery, very fine-grained or plate-shaped products (such as paper and tobacco), since moisture measuring devices based on this measuring principle are suitable for products with the same moisture content inside and outside.
Devices and/or systems working with microwaves can not only measure in such applications, but the moisture of products with particle sizes over 3mm diameter can only be measured with microwaves.
If the moisture inside and on the surface is different, IR is the wrong choice, because with IR only the surface can be measured and the error would be very large, so you have to be careful with products with inconsistent moisture inside and on the surface and more like a moisture meter select according to the microwave principle.