summaryrefslogtreecommitdiff
path: root/articles/rail-and-advertising.md
diff options
context:
space:
mode:
authorache <ache@ache.one>2024-03-20 05:23:23 +0100
committerache <ache@ache.one>2024-03-20 05:23:23 +0100
commit53d21a8d8a9edb648dd828def318752fb4edc894 (patch)
treef825e602397927c7bffabedb5e86eeef86d572ff /articles/rail-and-advertising.md
parentRemove useless comment (diff)
Fix a lot of typo
Diffstat (limited to 'articles/rail-and-advertising.md')
-rw-r--r--articles/rail-and-advertising.md43
1 files changed, 22 insertions, 21 deletions
diff --git a/articles/rail-and-advertising.md b/articles/rail-and-advertising.md
index 8e86d29..8572c1a 100644
--- a/articles/rail-and-advertising.md
+++ b/articles/rail-and-advertising.md
@@ -70,7 +70,7 @@ Let's take a look at an advert from Germany.
## Der Volksgeist (The people's spirit)
This mini-film advert was commissioned by Deutsch Bahn[^db] and produced by [Pantera](https://bwgtbld.tv/pantera/).
-It humorously depicts a young woman going on a business trip who is _harass_ by her client.
+It humorously depicts a young woman going on a business trip who is _harassed_ by her client.
[^db]: Which could be translated as “German rail network”.
@@ -87,17 +87,17 @@ The humour is typically German, based on the repetitive comedy of the insistent
The key elements of this humour are the repetition of the phrase "Frau Fischer" and the staging of the customer trying to reach Mrs Fischer in increasingly **improbable ways**.
In this absurd production, sound plays as important a role as image.
-The sound effects are very well chosen and are enhanced by the use of classical symphony-style background music, while supporting the story.
+The sound effects are very well-chosen and are enhanced by the use of classical symphony-style background music, while supporting the story.
In a more realistic interpretation of the story, Mrs Mueller (the customer) does not magically appear in Mrs Fischer's car.
She is, in fact, a personification of Mrs Fischer's stress, a figment of her imagination.
The disappearance of these hallucinations reflects the disappearance of Mrs Fischer's stress, as she is serene because she has taken the train.
-I'll spare you a precise description of each shot, but every element is selected and few things are left to chance.
+I'll spare you a precise description of each shot, but every element is selected, and few things are left to chance.
The advertisement is aimed at people travelling on business.
A fairly small group of people.
There's no question here of generally overshadowing the car, the heart of German industry. 🙄
-The director⋅trice Pantera went on to make several ads for the Mercedez Benz car brand.
+The director⋅tress Pantera went on to make several ads for the Mercedez Benz car brand.
I invite you to have a look at the other creations of the [BWGTBLD company](https://bwgtbld.tv/).
@@ -127,7 +127,7 @@ In particular, the SNCF describes its commitments and its humanist nature.
[^claque]: Although the music is simple, it is not outdone.
The rhythm is modelled on and introduced by railway noise.
-Every snappy moment is accentuated by [the SNCF's signature sonal](https://youtu.be/NA5MwhuHWLo?t=2) which lends itself surprisingly well!
+Every snappy moment is accentuated by [the SNCF's jingel](https://youtu.be/NA5MwhuHWLo?t=2) which lends itself surprisingly well!
All French people are invited to love the SNCF in this unifying video. 💕
Paradoxically, it brings people together by emphasising France's diversity, thus reviving one of its commitments, **supporter la diversité**.
@@ -139,7 +139,7 @@ Now that the link has been created, it's the ideal time for SNCF to broach the s
This empathy not only invites us to forgive them, but also reinforces the idea of a French company for the French, for France, "for all of us".
This last idea is particularly highlighted by the final shock line “On est pas carré, on est hexagonal” (“We're not square, we're hexagonal”).
-In a very French play on words, it turns the weaknesses of not been very rigorous (“To not be square”) into a quality of been french. 🇫🇷
+In a very French play on words, it turns the weaknesses of not been very rigorous (“To not be square”) into a quality of been French. 🇫🇷
## To sum up
@@ -167,7 +167,7 @@ The LDz video has been enlarged and is much more pleasant to watch than [the ori
To create this article, I used:
- - [yt-dlp](https://github.com/yt-dlp/yt-dlp), a free software that can download videos from many website, not only youtube.
+ - [yt-dlp](https://github.com/yt-dlp/yt-dlp): A free software that can download videos from many websites, not only YouTube.
- [Whisper](https://en.wikipedia.org/wiki/Whisper_(speech_recognition_system)): A machine learning model for _Speech to Text_ (S2P) made by OpenAI.
- [Seamless](https://github.com/facebookresearch/seamless_communication): A machine learning model made by Meta and made to be a multimodal translation (Text <=> Text / Audio <=> Text / Audio <=> Audio).
- [Real-ESRGAN](https://github.com/xinntao/Real-ESRGAN): A model dedicated to image enhancement.
@@ -180,11 +180,11 @@ I will not write about yt-dlp and ffmpeg and concentrate myself on machine learn
Ok, so since the videos aren't necessarily in a language that readers of this blog speak, I would have liked to have subtitles for the videos.
-I used Whisper to transcribe every video.
-I already have the subtitles of the SNCF ad, I will use that to verify the quality of Whisper, since french is my mother tongue.
+ - I used Whisper to transcribe every video.
+ - I already have the subtitles of the SNCF ad, I will use that to verify the quality of Whisper, since French is my mother tongue.
+ - I set up a container and installed Whisper.
-I setup a container and install Whisper.
-The quality of the transcriptions vary wildly based on the language.
+In my conclusion, the quality of the transcriptions vary wildly based on the language.
#### Japanese
@@ -201,7 +201,7 @@ I have to admit that the results are better and much faster than with the OpenAI
#### German and French
To transcribe German it's ok[^v3].
-However, the video contains cuted sentences that are poorly transcribed, and two short sentences at the end are also poorly transcribed.
+However, the video contains cut sentences that are poorly transcribed, and two short sentences at the end are also poorly transcribed.
Using the medium-sized model, the results are better.
In French, there is only one transcription error[^v3], but the spelling sometimes leaves something to be desired, the lyricism of the song certainly having something to do with it.
@@ -229,10 +229,10 @@ Why didn't you use other transcription methods?
That's an interesting question.
There are many different methods of transcription.
-There is even a [leadboard of these methods on paperswithcode.com](https://paperswithcode.com/sota/speech-recognition-on-common-voice-french).
+There is even a [leaderboard of these methods on paperswithcode.com](https://paperswithcode.com/sota/speech-recognition-on-common-voice-french).
It is difficult to know how usable these methods are in a real context, with noise and background.
-Also, some of theses methods are very resource-intensive.
+Also, some of these methods are very resource-intensive.
I tried using [tevr-asr-tool](https://github.com/DeutscheKI/tevr-asr-tool) for example, but it was very resource-hungry (⚠️) and not suitable for a noisy environment.
### Seamless
@@ -301,7 +301,7 @@ On the other hand, for German and French, it's flawless! 💯
### Real-ESRGAN
Here, it's going to be very simple, I followed the instructions in the README.
-First, I made sure I had Pytorch installed and that Python was at least version 3.7.
+First, I made sure I had Pytorch installed, and that Python was at least version 3.7.
Then I downloaded the recommended pre-trained model `RealESRGAN_x4plus.pth`.
I'm actually rather surprised not to find more variants available on HuggingFace.
@@ -334,9 +334,10 @@ They are now available locally and from liberating software.
This last point is important, as we can see that these technologies revolve around the United States and the English language.
The existence of open-source software in this field guarantees that other countries will be able to acquire these technologies without depending on large companies such as Meta, Microsoft or Google ([Big Tech](https://en.wikipedia.org/wiki/Big_Tech)).
-The American aegemony over AI tools is rivalled only by the [BATX](https://en.wikipedia.org/wiki/BATX) (Baidu, Alibaba, Tencent and Xiamoi).
+The American hegemony over AI tools is rivalled only by the [BATX](https://en.wikipedia.org/wiki/BATX) (Baidu, Alibaba, Tencent and Xiamoi).
In such a context, it is not surprising that these tools are US-centric.
-While the default language of these tools is English (sometimes the only language available!), these models perform better in English than in the rest of the European languages. This is obviously a problem of fairness between peoples, and is in fact a competitive advantage for US companies.
+While the default language of these tools is English (sometimes the only language available!), these models perform better at English than in the rest of the European languages.
+This is obviously a problem of fairness between peoples, and is in fact a competitive advantage for US companies.
-----------------------
@@ -344,10 +345,10 @@ While the default language of these tools is English (sometimes the only languag
To conclude, I'm going to describe how in 5 minutes, I animated the illustration for this article.
-I already had a rough idea of what I wanted the animation to look like, a moving train, the idea of speed, etc. But I didn't really know what I wanted.
+I already had a rough idea of what I wanted the animation to look like, a moving train, the idea of speed, etc.
+But I didn't really know what I wanted.
Often in my animations, what limits me is the basic SVG illustration[^talent].
So I can spend a lot of time finding the right SVG to animate.
-Pour finir, je vais vous narrer comment en 5min, j'ai animé l'illustration de cet article.
[^talent]: Of course, my lack of talent to do this type of illustration myself is also a problem.
@@ -359,7 +360,7 @@ On [iconbuddy](https://iconbuddy.app), a free vector icon site, I searched for '
Using Inkscape, I separate the image into several components that I'm going to animate independently.
My aim is to quickly check that the infinite rail effect I want to create is possible.
-To do this, I enlarge the rails and add animation using an `animateTransform` element.
+To do this, I enlarge the rails and add animation using a `animateTransform` element.
```xml
<animateTransform
@@ -376,7 +377,7 @@ To do this, I enlarge the rails and add animation using an `animateTransform` el
It's perfect! I then animated the train.
This time, for aesthetic reasons, I wanted a more complex animation where the train moves forward, slows down and then speeds up.
-So I turned to CSS keyframe animations with an 'ease-in-out' animation.
+So I turned to CSS keyframes animations with an 'ease-in-out' animation.
You can add CSS directly to the SVG, which is very practical.
```css