They are however allowed to take your details if your are for example taking pictures of a military base that could be construed as possible terrorist information gathering.To walk around London taking 'tourist' pictures should be totally free of interference although there seems to be some issues around the Olympic sites where there is heightened security.