pest detection in tag production