A selection of the best photos from across Africa and of Africans elsewhere in the world this week.

Celebration time as relatives of the 82 Chibok girls released in May greet each other as they wait to be reunited with them on Saturday...

It was an emotional reunion for the families who had travelled from the north-eastern state of Borno to the capital, Abuja...

Those freed are among the 276 schoolgirls kidnapped by Islamist militants Boko Haram in 2014 from a government school in the remote town of Chibok.

On Tuesday, Ethiopians gather outside the World Health Organization headquarters in Geneva, Switzerland, to show support for Tedros Adhanom Ghebreyesus, the new WHO head, and the first African to lead it.

Supporters of Dakar mayor Khalifa Sall, who is being held for fraud and money-laundering charges, call for his release during a march in the Senegalese capital.

On Wednesday, an Egyptian seller dusts a traditional Ramadan lantern or "fanous" at his stall ahead of the Muslim holy month of Ramadan in Cairo...

The fanous is a symbol of hope and is used as a decoration during Ramadan.

A woman buys a packet of maize flour subsidised by the government at a supermarket in Kenya's capital, Nairobi, on Wednesday.

Meanwhile, in Zimbabwe's capital, Harare, this woman is buying her fruit from a street vendor.

The final of a national robotics competition is held in Dakar on Saturday....

The event is an initiative by Senegal's government to get young people more interested in science...

Several students entered the competition, which was held at the Marius Ndiaye stadium, normally used for basketball...

Hogging the limelight, a robot shows off its machine skills.

Residents of drought-hit Cape Town in South Africa crowd around a fresh water source from a stream off Table Mountain to collect safe drinking water at night.

On Friday, French President Emmanuel Macron and his Mali counterpart President Ibrahim Boubacar Keita inspect a guard of honour during a visit to Gao, in northern Mali.
Images courtesy of AFP, EPA, Getty Images and Reuters