It might be enough to include a cheap spectrometer to estimate the material composition. From this you should be able to guesstimate a suitable program. You could even spot and classify stains, AI to the rescue. There must be existing solutions for large scale industrial laundry handling.
A robotic closet that lets you wear your favorite shirt every day... fresh and clean.
A robotic closet that lets you wear your favorite shirt every day... fresh and clean.