This is a type of fence known as a yotsume-gaki or 'four eyed fence'.

Usually seen in Tea gardens or Cha-niwa