The introduction of new technology has enabled farmers in West Africa to improve the quality and minimize losses of a national staple.