San Francisco is geared for tourists with cameras and has a fine tradition of the arts. Very different from Oakland which has a tradition of higher crime and hardly any tourists or photogenicity in comparison. I never had a problem in SF, but even that is not much of an anecdotal data point.
Long Beach is hundreds of miles to the south. The police chief there is inviting lawsuits and litigation for violation of the Bill of Rights. I hear southern California would be very nice except for the simian infestation.