Although there are no laws that restrict photography or videography in Japan, a tourist must respect the privacy and sentiments of the locals. Most tourists don't have any trouble taking photos or recording videos. However, some temples and museums strictly prohibit photography inside the premises. Tourists must respect their wishes and adhere to the rule and regulations.
A fee may apply to specific attractions on photography and videography. If you take close up of people, just ask them before doing so. Most people in Japan are very friends and would be happy to pose for a photograph. Where photography is not allowed clear signs have been displayed and the notice is mentioned in English and other common languages.
If you want to upload a photo on social media and don't have the consent of the local posing with you its best to just blur their faces. This is a common practice in Japan as they are very particular about their privacy.
Also get insured with an Asia Travel Insurance by Thomas Cook.