A portrait of the Queen painted by a humanoid robot artist has been unveiled ahead of the Platinum Jubilee.

Algorithm Queen, was painted by Ai-Da Robot, an artificial intelligence (AI) robot.

It has cameras in its eyes and draws on computer memory to turn digital data into physical drawings and paintings using a robotic arm.

Ai-Da Robot was named after the mathematician and scientist Ada Lovelace.

Algorithm Queen was layered and scaled to produce the final multi-dimensional portrait of the monarch.

The machine’s artistic process was designed to reflect the different aspects of technological change that have taken place during the Queen’s 70-year reign.

Ai-Da Robot is also able to converse using a specially designed language model.

It said: “I’d like to thank Her Majesty the Queen for her dedication, and for the service she gives to so many people.

“She is an outstanding, courageous woman who is utterly committed to public service.

Ai-Da Robot was devised in Oxford by Aidan Meller, a specialist in modern and contemporary art, before being built in Cornwall by Engineered Arts and programmed internationally.

The robot’s capabilities were developed by PhD students and professors at the Universities of Oxford and Birmingham.