Facebook is to release a new ‘Photo Magic’ tool that will scan through the pictures on its users’ cameras to tell them which photos to share.

The tool, which will be integrated with Facebook Messenger, is intended to help people find old pictures and share them with the people that are in them. But it will also mean that all of the pictures on a persons’ phone are being sent up to Facebook’s servers.

Users will have to let Facebook Messenger see their pictures so that the Photo Magic tool can work. But most users have probably already done that — a pop-up tells them to do so when they first share a picture.

On Android, the app scans the pictures as soon as they are taken, offering a push notification that advises users to send the photo to the people that are in it. On iOS that process is slightly slower, since Apple is more restrictive about how much and how often an app can see pictures.

Users can either opt out of the facial recognition tool, or turn off the notification.

Facebook's brand new office in Singapore Show all 10 1 /10 Facebook's brand new office in Singapore Facebook's brand new office in Singapore A mural from local artist Justin Lee CK blending East and West. Facebook Facebook's brand new office in Singapore Visitors can leave a message on the 'Write-Something-Wall' Facebook Facebook's brand new office in Singapore Sign in here Facebook Facebook's brand new office in Singapore The library space Facebook Facebook's brand new office in Singapore Teach gear vending machine where employees can tap their tags and get what they need in case they forgot to bring their equipment at the office. Facebook Facebook's brand new office in Singapore An internal staircase, adorned with acrylic confetti by Singapore designer Dawn Ng, connects the four floors comprising the Singapore HQ Facebook Facebook's brand new office in Singapore Relax at the game corner Facebook Facebook's brand new office in Singapore The hangout area, use your break to try the Instagram Anti gravity booth or the Facebook mahjong Facebook Facebook's brand new office in Singapore The Instagram "gravity booth" that Facebook set at the hangout area for the athletes at the Southeast Asian Games that was held in 2015. The booth's furniture is set at a 90-degree angle rotated left, turn the picture to the right and it will look like you are floating. Facebook Facebook's brand new office in Singapore Drink in the beer garden anyone ?

Facebook Messenger boss David Marcus confirmed that the feature was “testing in Australia” and would be rolling out in the US soon. It’s unlikely that it will come to the UK or the rest of Europe any time soon, since the EU has stopped people from operating facial recognition software that doesn’t allow people to explicitly opt in.