New laws that will make CCTV cameras mandatory in public places have been passed in England, Scotland and Wales.
The legislation, which has been passed by the Cabinet Office, will be brought into force in January 2018.
The cameras are part of a wider surveillance package that includes an increased amount of CCTV cameras in schools and other public places.
The legislation comes after a spate of attacks, including a man who hacked a woman to death, in the last three years.
The government hopes that the legislation will reduce the amount of time victims are forced to spend on their phones.
Under the new legislation, cameras will also be used in shops, restaurants and car parks to help protect people from the potential for violence.
The Home Office has also been reviewing the legislation to ensure it does not interfere with the rights of others to make private decisions about their personal safety.
The changes will mean CCTV cameras have been installed in almost every public space in England and Wales, including pubs, theatres, shops and in the National Archives.
In Scotland, the new cameras will come into force at the beginning of 2020, while the Welsh Government will also introduce cameras in public spaces in the autumn.
The new legislation comes as the government is set to publish the first ever national crime statistics in the country.
The report will show that crime has dropped from a peak of 9,000 crimes in 2011 to just over 2,000 in 2015.
However, the report is expected to also show a surge in the number of unsolved crimes and a rise in the amount recorded by police.
In 2016, Scotland recorded more than 3,000 homicides, a record.