Tag analyzer for packed sweets