If cameras capture only your own property, data protection law does not apply to the footage. If a camera captures beyond your boundary, such as a shared path, the pavement or a neighbour's garden, you become responsible for that footage under UK GDPR. You then need a legitimate reason for the coverage, a sign, a retention period that is no longer than necessary, and the ability to provide a copy of footage to someone who appears in it and asks for it.
These requirements are straightforward to meet when they are designed in from the start. DTS positions cameras and sets privacy masks with them in mind and will say if a requested position is likely to cause a problem. Businesses have the same duties and some further ones, including registration with the Information Commissioner's Office.
The ICO publishes guidance for households on domestic CCTV systems.