📜 ⬆️ ⬇️

"A pleasant-2", or what is behind the "Faces"



MegaFon has already written a review post about how the installation of the “Faces of the Olympics” in Sochi.
However, the visible part - on the strength of 20% of the entire project infrastructure.
I would like to tell a little about who and what is behind the "Faces".
Get ready, under the cut a lot of letters and a number of pictures.


Before delving into the technical part, it is worth noting that MegaFon brought together several best companies in their fields for this project. Each of them was responsible for different stages and stages of the project.
Only thanks to the close and friendly interaction of all parties, the project was able to start in record time.
')
“These guys here”:





But let's start in order.
One fine day "knocked on our door."
MegaFon offered to the agency Optimizm, where I work, to participate in the project, which spanned three dozen Russian cities and a huge pavilion in the Olympic Park of Sochi.

The dates were not easy: a press conference had already been scheduled for November 26, where the project should work in full force, because the Olympic champions will come to be scanned!
And by that time it was worth testing the system for reliability and training promotional personnel. So in reality, there was even less time.
But it only made the project more interesting!
Of course, we agreed.

A painstaking and at the same time operational work began.
The first step was to have a general understanding of the project. The guys from AXIS created a huge spreadsheet with areas of responsibility, and we threw a simple but fairly visual scheme in Visio:




Chronologically, the project was divided into two stages:




The first stage consisted of collecting 3d-models of users and their personal data. The mechanics were about the following:

  1. The subscriber comes to the salon of MegaFon, where the staff invites him to participate in the action.
  2. He is issued a membership card with a QR code.
  3. The promotion staff reads the QR code with a tablet application and enters user data in it.
  4. After that, the subscriber is successfully registered and can be sent to the booth for scanning.
  5. In the booth, the user shows a QR code that is linked to the profile that he just created; and scanned.
  6. The software in the booth generates a 3d model and sends it to the moderators for verification of correctness.


QR codes

Obviously, a QR code is needed not only for the interaction of the tablet and the booth. It immediately contains a link to the user's personal page on the site http://faces2014.megafon.ru/
Since it was not worth giving a random user the opportunity to get a list of all participants of the action by simply searching IDs, and at the same time I wanted the link to view not to require authorization, it was decided to sew up 6 symbols of salt before ID: http: //faces2014.megafon .ru / contest / qr / 1A0B7A034378

According to MegaFon's estimates, for the entire period about 70,000 people were supposed to take part in the action, but remembering from the institute's mat, that everything in the world would not hurt the triple margin of safety, we decided to generate three times more.

Unfortunately, the printing house that printed the cards refused to work with the PNG format, in which most software packages generate codes. IrfanView on a normal working laptop coped with the conversion of more than two hundred thousand files into separate PDF files of a given format in a few hours.


Since Samsung is the global partner of the Olympic Games, it was decided to provide the promotional staff with tablets for this company. Of the two large tablets available at the time: Galaxy Tab 3 8.0 and Galaxy Note 8.0, the first option that does not require a stylus was finally selected.
All tablets were registered on the same e-mail for easy tracking of the location in the process of "tours" of the action across Russia.
Not one tablet was tied to a specific city, but it was still necessary to distinguish them. Therefore, thanks to anime programmers, the tablets in the internal registry were named after sixteen Japanese schoolgirls, from Asuka to Yuki :)



Only MegaFon subscribers could participate in the first stage of the project, so it was necessary to track this.

In any case, we thought that the check would be limited to a banal list of prefixes in the format “926” - ok, “916” - not ok. The reality of the programmers was much more brutal.
First, not all ranges of numbers within one prefix necessarily belong to one operator. It is hard to believe, but there are more than four thousand such ranges.
Secondly, the file with the breakdown of these prefixes is not yet carved on the tablets, but has the property to be updated from time to time.

Well, we made a check of each number on the server with the return of the answer to the tablet application, and regularly updated their base.

During the first stage, the statistics on the scanned subscribers in Russian cities looked something like this (Moscow was specially removed from the list so as not to spoil the visibility of the picture - more than a quarter of users were scanned there):



The work of the Petersburg team of moderators in this project can safely be considered titanic.
Both in terms of the amount of work, and in its irreversible effect on consciousness :)
When participants violated the scanning rules, 3d models sometimes took strange, weird, and frankly incomprehensible forms:



Yes, and successfully formed models sometimes looked weird. In addition, each rejected model meant that the user would have to return to re-scan, so there could not be random errors.

Work with moderators was divided into two parts:



The second stage is somewhat simpler, but somewhat more complicated than the first.
On the one hand, not only MegaFon subscribers can participate, on the other hand, new aspects of work have appeared:



By the way, in February 14th, 280 such pairs were shown.

Video

There were two tasks related to the video: displaying the Live image on the website and accumulating a video archive for the purpose of further slicing personalized videos for user profiles.

Surprisingly, from the “iron” point of view, both of them are solved by one $ 500 fee .

Technically the process is as follows:

  • Two chambers are installed near the pavilion, at different angles to the facade. This is done in order to avoid exposure at different times of the day.
  • The wires from both cameras go to the console, where the specialist determines which of the images to be allowed into the “total” stream at this particular moment.
  • In turn, the SDI wire from the console goes to the server with the above Black Magic Design board - H.264 Pro Recorder.
  • On this server, the stream is converted from 1080p: 50fps to 720p with a bitrate of 2000kbps and separation: one stream goes to the repeater for further display on the site; the second, 120 megabytes each (about 6.5 - 7 minutes) is accumulated for further cutting / gluing.
  • Limiting the length of the pieces was introduced to speed up the cutting and publication of personalized videos.


I have already mentioned that there were many foreigners. Here is how the first places in number were divided among them (the share of the total number of scanned non-Russian citizens):

  1. United States - 16%
  2. Canada - 11%
  3. Ukraine - 8%
  4. Japan - 6%
  5. Belarus - 5%
  6. Germany - 3.5%
  7. Great Britain - 3.4%
  8. Republic of Korea - 2.8%
  9. Netherlands - 2.6%
  10. Switzerland - 2.5%


One of the first faces of volunteers from different countries appeared on the facade of the pavilion:



There were also many countries represented, on the contrary, by only one scanned person. And if this was to be expected from Curaçao or the Democratic Republic of the Congo, the presence of only one Hungarian, a Spaniard and a Belgian seemed strange to us.
Even from Swaziland, Anguilla and Guernsey (yes, these are all really existing states) there were more scanned people!

In general, representatives of 91 countries passed through 3d-scanners, which is 3 more than the number of countries participating in the Olympiad itself.

The action is nearing completion. Today is the last opportunity to scan in Moscow, tomorrow - in St. Petersburg and Sochi. And in the final days of the Paralympics, your face will be shown in the same way on the facade of the Pavilion in the Olympic Park, and on the website http://faces2014.megafon.ru

PS A little more interesting statistics in the end:



PPS Ready to answer any tricky technical questions.
Ask!

Source: https://habr.com/ru/post/215925/


All Articles