The 2017 Champions League final in Cardiff will see police trial the use facial recognition on fans, the British government has announced in a statement online.
Faces will be scanned "in and around the principality stadium and Cardiff central train station" on June 3 as part of the contract, which will cost £177,000.
Faces can then be matched against "500,000 custody images stored within the Force's Niche Record Management system."
South Wales Police said in a statement to Motherboard: "South Wales Police has secured funding from the Home Office to develop automated facial recognition technology for policing.
"The UEFA Champions League finals in Cardiff give us a unique opportunity to test and prove the concept of this technology in a live operational environment, which will hopefully prove the benefits and the application of such technology across policing."
The BBC reports that a fan having their face scanned will not be a condition of entry to the stadium.
Meanwhile, hotels in Cardiff are expected to be completely full for the night of the final, even though the semifinals haven't even been played yet. The only likely space available for fans in the Welsh capital is tents, some of which can cost up to £1,782.50 ($2,300) for the Saturday night.
UEFA requires host cities to reserve hotel rooms far in advance of games to ensure players, officials and sponsors have accommodation -- putting the squeeze on visiting fans when finals are played in smaller cities. With about 350,000 inhabitants, Cardiff is the first location with a population below 1 million to host the Champions League final since Gelsenkirchen, Germany, 13 years ago.
"Cardiff is a compact city and hotels are expected to be at capacity," the Cardiff local authority told The Associated Press. "The council ... agreed a contract with hoteliers to block book a proportion of the hotel stock in Cardiff, so we were able to host this prestigious event."
The pressure on hotel space would have been eased had an English team reached the final, but the last four are all from continental Europe. In the semifinals over the next two weeks, Real Madrid and Atletico meet in a Madrid derby, while Monaco take on Juventus.
All hotel chains in central Cardiff, including Hilton and InterContinental properties, have been listed as full online for a year.
"The hotel trade is market driven and the council doesn't have any authority over them," the Cardiff Council said in an email. "Hoteliers that wanted to accept the terms that were being offered did and if they chose not to, that was based on their own commercial assumptions."
The only option now for supporters hoping to stay near to the Millennium Stadium is camping, with the cheapest tents costing £195 ($250) for one night and the most expensive £1,800 ($2,300).
"Whilst Cardiff's accommodation capacity is lower than previous UCL final host cities, the Cardiff 2017 LOC [local organising committee] have taken pro-active steps to ensure that it will deliver a memorable event for all attendees," UEFA said.
UEFA said there would be additional trains and buses to transport 15,000 fans back to London. That is a three-hour journey, without traffic, by road, or two hours by rail. Transport links have also been enhanced late into the night for the one-hour trip to Bristol, where the only available hotel rooms for June 3 start at £271.32 ($350), according to hotel comparison websites.
Many visitors for the final will only make a fleeting visit to the host city, with plans to fly about 25,000 people in and out on the day by charter aircraft from Cardiff, Bristol and Birmingham, UEFA said.
Cardiff was awarded the Champions League final by the UEFA executive committee in 2015 without an open contest several months after losing a bid to be a 2020 European Championship venue.
Future hosts have to bid for the right to host the final under changes implemented after Aleksander Ceferin was elected UEFA president last year. Accommodation capacity will be a factor when bids are assessed by UEFA.
Information from the Associated Press was used in this report.