It's not illegal to record members of the public without permission in the UK. The test is mostly about whether someone has a reasonable expectation of privacy, but there are all sorts of other considerations:
https://sprintlaw.co.uk/articles/can-you-film-people-in-publ...