In the production process of instant noodles, it is necessary to detect the varieties on the same production line and pack each variety separately. Traditional human detection requires intensive labor, but provides low efficiency. Therefore, we applied the machine vision technology to the production line to increase productivity while reducing false or missed detection rates.