Outside of Tier 1 cities like Beijing, Shanghai etc. it is not very common to run into a foreigner.
People take pictures, are curious and sometimes treat them like a star.
Even local celebrities who are not used to foreigners, might either ask for a picture or will just take one with a foreigner.