Opening Louvres
Angle the blades towards the neighbour's window to cut the line of sight from above while still letting light and air through, or close them flat.
Ideas
Infill housing has put two-storey homes beside single-storey ones across New Zealand cities. A fence or side screen does nothing when the neighbour's upstairs window looks straight down on your deck - the overlooking comes from above, so the answer has to be overhead.

Angle the blades towards the neighbour's window to cut the line of sight from above while still letting light and air through, or close them flat.
A solid corrugated metal roof blocks a view from above completely, on a steel frame built to cover just the overlooked part of the yard.
Where the window looks across at the deck rather than down on it, a 20% privacy screen lowered on that side blocks the view in.
Not sure about consent? Check the building consent guide for your council →
Not from directly above. A fence up to 2.5 m high is exempt from building consent under Schedule 1, but someone at a second-storey window looks over it. A roof over the seating area, or angled louvre blades, is what blocks a view from above.
A solid metal roof will. Opening louvres are the compromise: angle the blades against the window when you want privacy and open them fully when the neighbours are out.
We also build pergolas, louvre roofs, Elite Canopies, awnings, patio covers, sun shades, outdoor blinds, composite decking and fencing.