There is no problem taking pictures of people, and usually Iranians are very happy to take photograph with a tourist or a tourist takes photos of them. Taking photos of tourist attractions is also permitted, except for special cases like museums where photo prohibition will be announced when entry. Make sure to bring your camera on a travel to Iran!