A good prespray will loosen the dirt then a contrrotating machine will spread it about..... making the carpet appear clean.
I often do this and have the customer think I've finished, as the carpet looks clean.
This carpet might look clean because they dirt has been evenly distributed or it might be actually be clean.... you can never tell from just a photo.