French cosmetics group L'Oreal (LRLCY.PK) said on Friday it was buying Canadian beauty technology company ModiFace, as it looks to roll out more digital services such as virtual makeup tests.

It did not disclose financial terms.

ModiFace specializes in augmented reality and artificial intelligence applied to the beauty industry, an area L'Oreal and other peers have been developing as their online sales grow and customers increasingly follow cosmetics trends on social media.

The Toronto-based firm employs nearly 70 engineers, researchers and scientists who have submitted more than 200 scientific publications and registered over 30 patents, according to a statement.

"With ModiFace we've acquired ... the stock of inventions they've already created, but more than that, the ability to look at reinventing the beauty experience in the years to come," said L'Oreal's chief digital officer Lubomira Rochet.

L'Oreal, the world's biggest cosmetics company, made around eight per cent of its sales online in 2017, from just over five per cent in 2015.

It has already launched tech-savvy items such as sensory brushes that tell you how to care for your hair, or phone apps for virtual testing. Earlier this year, it rolled out a "Style My Hair" application developed with ModiFace allowing people to see how they would look with different colored dyes.

ModiFace's technology also extends to services such as skin diagnosis.

L'Oreal now spends 38 per cent of its media budget on digital campaigns. It has also launched programs to collaborate with startups in cities such as Paris, London and San Francisco.