Facebook said on Tuesday it would begin using facial recognition technology to tell people on the social network when others upload photos of them, if they agree to let the company keep a facial template on file.

The company said in a statement that it was making the feature optional to allow people to protect their privacy, but that it thought some people would want to be notified of pictures they might not otherwise know about.

The feature would not immediately be available in Canada and the European Union, Facebook said. Privacy laws are generally stricter in those jurisdictions, though the company said it was hopeful about implementing the feature there in the future.