<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Bastien Hell on Medium]]></title>
        <description><![CDATA[Stories by Bastien Hell on Medium]]></description>
        <link>https://medium.com/@bastien.hell?source=rss-6ac8d9d42e51------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*SdTVz7h-iYvIjKyt</url>
            <title>Stories by Bastien Hell on Medium</title>
            <link>https://medium.com/@bastien.hell?source=rss-6ac8d9d42e51------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 02:41:54 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bastien.hell/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Publication d’un article à la conférence IGARSS 2021 en collaboration avec le Centre Borelli …]]></title>
            <link>https://medium.com/nam-r/publication-dun-article-%C3%A0-la-conf%C3%A9rence-igarss-2021-en-collaboration-avec-le-centre-borelli-4174c3e500a8?source=rss-6ac8d9d42e51------2</link>
            <guid isPermaLink="false">https://medium.com/p/4174c3e500a8</guid>
            <category><![CDATA[roof]]></category>
            <category><![CDATA[contrastive-learning]]></category>
            <category><![CDATA[computer-vision]]></category>
            <category><![CDATA[french]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Bastien Hell]]></dc:creator>
            <pubDate>Mon, 10 Jan 2022 10:04:09 GMT</pubDate>
            <atom:updated>2022-01-10T10:13:04.503Z</atom:updated>
            <content:encoded><![CDATA[<h3>Publication d’un article à la conférence IGARSS 2021 en collaboration avec le Centre Borelli : l’apprentissage auto-supervisé</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/646/1*4PX2e9midN_AEjhxLN-9zQ.png" /><figcaption>Le partenariat entre le Centre Borelli et namR a pour but de mettre en oeuvre des méthodes de l’état de l’art en Computer Vision sur des données réelles manipulées par namR.</figcaption></figure><p>Parmi les sujets que namR a pu traiter ces dernières années se trouve la <a href="https://medium.com/nam-r/pr%C3%A9dire-la-pr%C3%A9sence-dobjets-sur-les-toits-de-b%C3%A2timents-f76badb3d33f">classification des équipements présents sur les toits</a>, ou encore des types et matériaux de toits à partir d’imagerie aérienne. Ce sujet est crucial dans le ciblage et le développement des travaux de rénovation énergétique car ceux-ci dépendent directement des types et matériaux de toits. Pour détecter automatiquement ces caractéristiques, namR a développé un algorithme précis à plus de 87 %, construit à partir d’un modèle pré-entraîné sur la base <a href="https://www.image-net.org/challenges/LSVRC/index.php">ImageNet ILSVRC</a> (base d’images de la vie quotidienne, très variées et ressemblant peu aux images aériennes).</p><p>Afin de créer des modèles encore plus performants, de nombreux sujets de recherche récents ont abouti à des techniques dites d’apprentissage auto-supervisé. Avec notre partenaire le laboratoire de l’ENS <a href="https://ens-paris-saclay.fr/recherche/laboratoires-et-instituts/centre-borelli">Centre Borelli</a>, nous avons réalisé des travaux d’adaptation de ces méthodes aux données de namR, qui ont mené à une publication lors de la conférence IGARSS (International Geoscience and Remote Sensing Symposium, ou Symposium international sur les géosciences et la télédétection).</p><p>L’apprentissage auto-supervisé est un ensemble de méthodes permettant de mobiliser des images non annotées pour aider un modèle de deep learning à “pré-apprendre” à trouver des caractéristiques dans les images dans le but de tâches variées. Pour simplifier, les modèles sont entraînés à comprendre les invariances dans les images, sans en connaître la classification à priori, ce qui leur permet d’utiliser ces représentations pour les tâches supervisées (utilisant des données annotées) ensuite. Les tâches prétextes sont par exemple l’entraînement du modèle à repérer des similarités entre images ou à remplir des parties masquées dans celles-ci. Ces tâches pouvant se faire sans annotation préalable, elles permettent de mettre à profit l’immense quantité d’images disponibles, sans représenter un coût de labellisation prohibitif.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*pYDXHOguWN8PbX_l" /></figure><p><em>Illustration des différentes méthodes d’entraînement</em></p><ol><li><em>Entraînement du modèle uniquement sur des données annotées pour l’objectif final (spécialistes) ;</em></li><li><em>Pré-entraînement sur des données généralistes puis entraînement sur des données spécialistes ;</em></li><li><em>Pré-entraînement sur des données non annotées, puis entraînement sur des données spécialistes annotées.</em></li></ol><p>Ces méthodes ont été développées sur des jeux de données open source généralistes comme <em>ImageNet ILSVRC</em> où elles ont permis de gagner 2 à 3 % de performance sur des modèles déjà très optimisés en utilisant seulement une fraction des données annotées ! L’intérêt pour tous les acteurs utilisant le deep learning est donc de développer des modèles encore plus performants tout en réduisant les coûts d’annotation des données.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/990/0*TG5vBddTCS4zq3xw" /><figcaption><em>Exemple des performances de classification sur ImageNet <br>avec les modèles SimCLR et BYOL (source : paperswithcode.com)</em></figcaption></figure><p>Le Centre Borelli et namR ont cherché à confirmer l’intérêt de ces méthodes dans le cadre de tâches de télédétection, c’est-à-dire d’analyse d’images aériennes ou satellitaires, souvent plus complexes car les images présentent beaucoup de ressemblances entre elles. Par exemple, les images aériennes sont composées majoritairement de toits, de routes et de végétation, tandis que les images des jeux de données généralistes sont surtout composées d’objets du quotidien sur des fonds variés en intérieur ou en extérieur.</p><p>Les données choisies pour cette expérience sont des images des toits français, aux types et matériaux extrêmement variés ayant un important déséquilibre entre le nombre d’images de chaque type de toit. L’étude proposée était donc de comprendre si l’important biais et la complexité de ces données était un frein à l’entraînement de modèles par contrastive learning, par opposition aux jeux de données nettoyés et équilibrés généralement utilisés pour les challenges d’analyse de données comme <em>ImageNet ILSVRC</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*dx-VOiCkVFPIZ-ha" /><figcaption><em>Répartition des type de toit dans la base de labels interne à namR</em></figcaption></figure><p>Le Centre Borelli, lors de ses expérimentations, a pu mettre en lumière l’intérêt à appliquer ces techniques aux travaux de namR. Les modèles entraînés par contrastive learning présentaient des résultats plus équilibrés, et étaient notamment bien meilleurs sur les types et matériaux de toits rares comme les toits pyramidaux ou en verre. Les applications possibles de ces techniques sont par exemple la forte réduction des coûts d’annotation de données, et l’accélération du développement de modèles très performants.</p><p>Ahmed Ben Saad, doctorant du laboratoire, a présenté ces travaux à la conférence IGARSS 2021 le 15 juillet 2021. Cette conférence porte sur les géosciences et la télédétection, et réunit de nombreux intervenants académiques ou industriels comme des chercheurs de l’IGN, la Commission européenne ou l’Université de Cambridge. La conférence se déroulait en ligne et Ahmed a pu échanger avec des chercheurs du domaine et a pu repérer des travaux similaires ou complémentaires à ceux qu’il réalise avec namR. Par exemple, les travaux d’Angelica Aviles-Rivero et al. sur l’entraînement de modèles avec des annotations de qualité médiocre (<a href="https://sites.google.com/cam.ac.uk/igarss2021-tutorial-ssl">ici</a>) peuvent aider namR à mobiliser encore mieux l’open data !</p><p>Le modèle de classification des types et matériaux de toits entraîné par namR sur les données annotées uniquement a ainsi été battu par le modèle entraîné par les méthodes d’apprentissage auto-supervisé de 3 % ! Nous espérons mettre en œuvre ces méthodes dans l’ensemble de nos modèles, vous en parler très vite, et surtout améliorer encore plus nos algorithmes.</p><p>L’un des enjeux de l’identification précise des types et matériaux de toit est la rénovation énergétique. Il est important pour les gestionnaires de biens immobiliers d’avoir cette connaissance pour cibler les bâtiments à rénover en priorité notamment. D’autre part, cette connaissance est aussi nécessaire dans le cadre du déploiement <a href="https://namr.com/l-offre-de-namr-sur-le-potentiel-solaire/">d’installations solaires sur toiture</a>.</p><p><a href="https://namr.com/fr/">namR</a> optimise ses algorithmes pour massifier cette connaissance sur tout le territoire français, et s’évertue à proposer des indicateurs fiables pour optimiser la transition énergétique. De nombreuses solutions sont proposées par namR à tout acteur souhaitant s’impliquer dans la transition énergétique, sollicitez-nous !</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4174c3e500a8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/nam-r/publication-dun-article-%C3%A0-la-conf%C3%A9rence-igarss-2021-en-collaboration-avec-le-centre-borelli-4174c3e500a8">Publication d’un article à la conférence IGARSS 2021 en collaboration avec le Centre Borelli …</a> was originally published in <a href="https://medium.com/nam-r">namR</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Développer un système de livraison d’images sur l’imagerie aérienne française]]></title>
            <link>https://medium.com/nam-r/d%C3%A9velopper-un-syst%C3%A8me-de-livraison-dimages-sur-l-imagerie-a%C3%A9rienne-fran%C3%A7aise-4c035b3fdbc2?source=rss-6ac8d9d42e51------2</link>
            <guid isPermaLink="false">https://medium.com/p/4c035b3fdbc2</guid>
            <category><![CDATA[geospatial-data]]></category>
            <category><![CDATA[aerial-imagery]]></category>
            <category><![CDATA[geospatial-intelligence]]></category>
            <category><![CDATA[computer-vision]]></category>
            <category><![CDATA[gitlab]]></category>
            <dc:creator><![CDATA[Bastien Hell]]></dc:creator>
            <pubDate>Thu, 19 Aug 2021 13:19:52 GMT</pubDate>
            <atom:updated>2021-10-21T11:56:27.691Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k-1FpPvps3xmuS3UVnYNqQ.png" /></figure><p>namR développe des outils d’analyse du territoire. Parmi ceux-ci, la vision par ordinateur permet d’extraire de l’information des images, notamment aériennes, de manière à compléter la connaissance des caractéristiques des bâtiments et des terrains. Notre pipeline d’analyse d’image consiste tout d’abord en un service découpant autour d’une localisation donnée, les images (aériennes ou satellitaires) disponibles. Ces images découpées sont “livrées” à nos algorithmes qui les analysent et en extraient des caractéristiques d’intérêt des bâtiments ou terrains présents à cette localisation. Ces caractéristiques sont alors stockées et référencées dans notre <a href="https://namr.com/namr-donnees-contextuelles-geolocalisees-notre-technologie/">Digital Twin</a>. Dans cet article, nous présentons la première étape de cette pipeline, à savoir le service de découpage et de livraison des images à analyser.</p><figure><img alt="La pipeline d’analyse d’images aériennes chez namR" src="https://cdn-images-1.medium.com/max/1024/0*YtzMCaLFMFc3E0z1" /><figcaption><em>La pipeline d’analyse d’images aériennes chez namR</em></figcaption></figure><p>Ce service doit pouvoir livrer une image aérienne de l’un des 34 millions de bâtiments en France, soit généralement une image de 50m*50m, à partir d’une base d’images recouvrant plus de 600⁣ 000 km² ! Pour s’intégrer dans un environnement de production, il faut également que les images soient livrées à un rythme soutenu afin de permettre l’analyse de plusieurs To d’images en un temps raisonnable. Ainsi, nous avons dû développer une pipeline robuste, rapide, et pouvant être testée et déployée à chaque actualisation des données source.</p><p>Pour cela notre pipeline se doit de livrer des images aériennes dans un format standardisé différent de celui des images source car celles-ci sont au format JPEG2000, format peu adapté à des requêtes fréquentes. Nous avons donc choisi de transformer ces images sources en fichiers Cloud GeoTIFF, des images stockées dans le cloud dans lesquelles il est plus rapide de rechercher des pixels précis sur une zone limitée.</p><p>La lecture dans ces fichiers est, quant à elle, contrôlée par un “raster virtuel” (VRT) qui sert d’interface et qui peut s’apparenter à une forme d’indexation dans une base de données. Ce type de fichiers est facilement utilisable par les packages de traitement de données géolocalisées tels que <a href="https://rasterio.readthedocs.io/en/latest/">rasterio</a>, une librairie qui permet également d’accéder nativement aux données Cloud GeoTIFF. Ce fichier VRT a l’avantage de contenir les informations nécessaires à la lecture des fichiers tout en restant très léger.</p><p>Par exemple, en Python :</p><pre>with rasterio.open(path_vrt) as dataset:<br>    image, metadata = rasterio.mask(dataset, <br>                                    [geometry], <br>                                    crop=True, <br>                                    filled=False, <br>                                    pad=True)</pre><p>permet de découper une image et les métadonnées associées dans un fichier VRT (<em>path_vrt</em>) stocké dans le cloud, à partir d’une géométrie (<em>geometry</em>, au format geosjon par exemple).</p><figure><img alt="La pipeline de livraison d’images : géométrie du bâtiment d’intérêt en entrée, image découpée en sortie" src="https://cdn-images-1.medium.com/max/1024/0*imykC6lwx210hlfn" /><figcaption><em>La pipeline de livraison d’images : géométrie du bâtiment d’intérêt en entrée, image découpée en sortie</em></figcaption></figure><p>A partir de ces données, il est finalement possible de construire un service qui découpe et livre l’image correspondant à une zone géographique donnée en entrée.</p><p>Nous avons donc développé un service automatisé et testé à chaque étape, sous forme de pipeline Gitlab, en 3 étapes :</p><ul><li>Conversion des fichiers source JPEG2000 en Cloud GeoTIFF</li><li>Création du fichier VRT</li><li>Déploiement d’un service de livraison d’images utilisant ce VRT</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YblqhNRh5cg-jzXN9fdJEA.png" /><figcaption><em>Illustration de la pipeline de déploiement et de test du service de livraison d’images</em></figcaption></figure><p>Ce service est supporté par la technologie Docker qui garantit un contrôle total de l’environnement de production. Les images générées sont sauvegardées ou livrées directement à un algorithme de traitement d’images, base de notre <a href="https://medium.com/nam-r/estimating-vegetated-surfaces-with-computer-vision-how-we-improved-our-model-and-scaled-up-66426b6e9fc6">production d’attributs</a>.</p><p>Ces services sont soutenus par une batterie de tests unitaires permettant de vérifier à chaque étape que tous les fichiers sont tous traités et que les données générées sont celles attendues. De plus, cette pipeline est exécutée à chaque mise à jour des données d’entrée afin de bénéficier des images les plus récentes pour l’analyse du territoire.</p><p>Ce service nous permet par exemple de fournir à notre pipeline d’analyse d’images 350 images par seconde. Ainsi, nos algorithmes de computer vision comme la <a href="https://medium.com/nam-r/estimating-vegetated-surfaces-with-computer-vision-how-we-improved-our-model-and-scaled-up-66426b6e9fc6">détection des parcelles végétalisées</a> ou le <a href="https://namr.com/l-offre-de-namr-sur-le-potentiel-solaire/">potentiel solaire</a> des bâtiments, peuvent balayer l’ensemble du territoire français en quelques heures.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fO-XRfFFONdaa6Hh7Lld1g.png" /><figcaption>Résumé des technologies utilisées et leurs apports</figcaption></figure><p>Nous vous présenterons dans un futur post l’ensemble de notre chaîne de traitement d’images aériennes, alors suivez-nous pour plus de publications techniques !</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4c035b3fdbc2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/nam-r/d%C3%A9velopper-un-syst%C3%A8me-de-livraison-dimages-sur-l-imagerie-a%C3%A9rienne-fran%C3%A7aise-4c035b3fdbc2">Développer un système de livraison d’images sur l’imagerie aérienne française</a> was originally published in <a href="https://medium.com/nam-r">namR</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Estimating Vegetated Surfaces with Computer Vision: how we improved our model and scaled up]]></title>
            <link>https://medium.com/nam-r/estimating-vegetated-surfaces-with-computer-vision-how-we-improved-our-model-and-scaled-up-66426b6e9fc6?source=rss-6ac8d9d42e51------2</link>
            <guid isPermaLink="false">https://medium.com/p/66426b6e9fc6</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[computer-vision]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[data]]></category>
            <dc:creator><![CDATA[Bastien Hell]]></dc:creator>
            <pubDate>Wed, 05 Feb 2020 09:38:10 GMT</pubDate>
            <atom:updated>2021-10-21T11:46:21.738Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YGHdQeIRzlroavfMXGQq2g.png" /></figure><p>Here at <a href="https://namr.com/">namR</a>, we’re putting our hard work into building a Digital Twin of the French territory. We aggregate, clean and re-organize a large quantity of data of different formats coming from many different providers. Among them are aerial images (geo-referenced photographs taken by an airplane), which play a crucial role and represent one of the richest sources of information of the area they describe.</p><p>Today, we want to take you through the study of a very meaningful case for us, the detection of vegetated surfaces around buildings. In this project, we will show you how we build a dataset suited to our application and what we went through. The detection of vegetation is a simple yet powerful tool to help understand the quality of life around the populated areas.</p><p>We decided to focus on the vegetated zones’ segmentation, which means we predict a class between “vegetation” or “not vegetation” for each pixel.</p><p><strong>Simple ideas don’t always lead to good results</strong></p><p>Our first idea for detecting vegetated areas consisted on a very simple thresholding of the <strong>HSV</strong> value:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rcTMLVNvc59--R2f4AzZqQ.png" /><figcaption>HSV wheel and hues selected for vegetation detection</figcaption></figure><p>We could consider as vegetation the pixels with a hue between 40 and 160 for example (values we chose empirically). This encompasses the yellowish greens as well as more blue-green hues. We would need to take into account saturation and value (luminance) as well in order to consider the scene luminosity and the image’s saturation. This was our first model, which consisted basically a filter on 3 dimensions. In order to smooth out the pixel classification we run standard morphological operators, closing and opening, to help regularize the detections spatially.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/851/1*YginQ2xa8GLF-0Uqflni-A.png" /><figcaption>Test image, filtered hue, smoothed out mask, image and detection overlap</figcaption></figure><p>This is a very cheap task that could make it easy to process the whole territory. However, this cheapness also makes it very unreliable. Indeed, shadows were poorly detected and the pixels classified as vegetation using such an algorithm could as well be part of a green colored roof, green shades of water or even simple chromatic aberrations in our data!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/851/1*qCZsdSwYmIf6572aphUccg.png" /><figcaption>Vegetation detection through the hue value doesn’t always work</figcaption></figure><p><strong>Leveraging data creatively to make the model development easier</strong></p><p>Working with aerial and satellite imagery, we know that there are many different modalities for imaging the Earth [1], and one of them is multispectral imagery with infrared information. Multispectral images carry more information than simple RGB images: infrared bands are useful because they help us compute a value known as the <strong>NDVI</strong> (Normalized Difference Vegetation Index) [2]. The NDVI is a simple yet effective way to detect vegetation on multispectral images:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BbZtL0UbMPq61FgPpUtKGg.png" /><figcaption>Formula for computing the NDVI, with NIR and R being the near infrared and red spectral reflectance respectively</figcaption></figure><p>This value is maximal when there’s a low spectral reflectance of the incoming radiation in the red band and a high near infrared spectral reflectance. It’s a good indicator of the presence of vegetation. NIR and R going between 0 and 1 (ratios of the incoming radiation), the NDVI takes values between -1 and 1.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mL2OjDsxKvYgkxiWhBEQww.png" /><figcaption>Profiles of reflectance for different spectral ranges for vegetation and non-vegetation</figcaption></figure><p>For green, lush vegetation, R is low and NIR is high (vegetation has low red tones while it reflects infrareds pretty well), so the NDVI index will be very close to 1. For dry or naturally red-ish vegetation, R is higher but we hope that NIR is high enough to keep a high NDVI value.</p><p>Once again we were presented a challenge: we had no access to high-resolution multispectral imagery on the whole territory. But since we have access to a limited scope of multispectral data, we came up with a more creative idea: we could leverage this limited data in order to <strong>automatically label the aerial imagery</strong> we have access to, thus creating a training set for a deep learning algorithm at a very low cost.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jEIEIx1Ed7ERnSGtkCFi2g.png" /><figcaption>Training and inference pipeline</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/849/1*F0zWE9DCDnIwD1FBh-Tq3A.png" /><figcaption>Image, NDVI mask and overlay</figcaption></figure><p>Working regularly with <strong>U-Net</strong> architectures [3], we decided to continue with this family of models for this task. What motivated our decision the most was:</p><ul><li>U-Net models are fast for training and inference. Moreover, the <strong>FastAI</strong> framework already has a good implementation that synergizes well with its one cycle fitting function</li><li>our task doesn’t seem too complicated. Vegetation is quite recognizable and we hope a simple deep learning model can be successful enough for this task</li></ul><p>We will move forward quickly on the training details but using the fast convergence [4] and cyclical training [5] policies let us build a model within a short delay.</p><p>We obtained an overall <strong>accuracy</strong> of <strong>85%</strong> and <strong>dice</strong> score of <strong>73%</strong> [6].</p><p>While these scores seem low for the kind of algorithm we’re developing, they’re actually showing us the dataset has some issues. First, the training data isn’t perfect and there are still some pixels with the wrong label. After all, it’s a semi-automatically generated dataset that we didn’t control as well as a hand-labeled one and some mislabeling was to be expected. Some vegetation pixels weren’t properly tagged because their NDVI was too low, because they represented dry grass for example but also because the aerial and satellite images weren’t all acquired at the same date. Second and most importantly, the evaluation data is in itself flawed. Being a subset of the dataset we created, mislabeled pixels are present in this set too and the evaluation is tricky. Nevertheless, the results are very promising for a model we developed this fast with data we generated automatically!</p><p><strong>Other things we learned</strong></p><p>Another big part of our project was to detect vegetated surfaces for very different types of parcels, with <strong>variable sizes and shapes</strong>. This meant a prediction on a crop the size of our parcel would represent very large -or small- images that would have to be resized into a different-sized square image. Because our images have a fixed resolution we want to avoid resizing and reshaping them as much as possible because we know a pixel will always represent the same surface on the ground (0.04 m²). Thus, we decided to transform the zones we want to predict on into <strong>geospatial tiles</strong>. We used the Slippy Map format [7] in order to split the territory into fixed-sized squares.</p><p>After running predictions on all tiles we fuse the detected polygons into conjoined vegetated surfaces. We’re really proud of the results. The vegetation is segmented precisely despite the smoothing of the detections.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zVtvQIdQD5yLDeh-FV9o1g.png" /><figcaption>Example of our final vegetation detection on a set of parcels</figcaption></figure><p>We then integrated those detection in our <strong>Digital Twin</strong>, in order to associate to each French parcel its vegetated surface. For example, it’s an important indicator of a school’s greenness, which we analyse in our <a href="https://trees.namr.com/fr/">tRees</a> project along many properties (like <a href="https://medium.com/nam-r/deep-learning-for-roof-detection-in-aerial-images-in-3-minutes-8d845f6d7f25">roof surfaces</a>) related to the <strong>ecological transition</strong> of French schools. We’re very proud of the results!</p><p><strong>Conclusion</strong></p><p>When we started this project, we were thinking the objectives would be quite clear. We would develop a model that takes any image of a whole parcel in input and delivers a set of polygons encompassing all vegetation on this parcel.</p><p>In order to solve this task, we had to acknowledge and answer many different questions, from data sourcing to deployment. We ended up building a model with very reproducible results, deployable virtually everywhere we have access to aerial images. This model was built upon different data sources, RGB aerial and multispectral satellite imagery. Mixing up data types creatively is easier than it seems, give it a try!</p><p>We also realized that scalability on France’s 643,801 km² and stability of the predictions meant dividing space into regular tiles which helped us keep constant object sizes while ensuring we were running the predictions only once on dense territories.</p><p>The detection of parcels vegetation was a very complete subject for us and we learned a lot solving it. Here at nam.R, we’re glad to challenge ourselves with projects like these in order to understand our territory.</p><blockquote><strong>List of references</strong></blockquote><blockquote>[1] 15 Free Satellite Imagery Data Sources: https://gisgeography.com/free-satellite-imagery-data-list/</blockquote><blockquote>[2] Monitoring corn and soybean crop development with hand-held radiometer spectral data: https://www.sciencedirect.com/science/article/abs/pii/003442577990004X</blockquote><blockquote>[3] U-Net: Convolutional Networks for Biomedical Image Segmentation: https://arxiv.org/abs/1505.04597</blockquote><blockquote>[4] Super-Convergence: Very Fast Training of Neural Networks Using Large Learning Rates: https://arxiv.org/abs/1708.07120</blockquote><blockquote>[5] Cyclical Learning Rates for Training Neural Networks: https://arxiv.org/abs/1506.01186</blockquote><blockquote>[6] F-scores, Dice, and Jaccard set similarity: https://brenocon.com/blog/2012/04/f-scores-dice-and-jaccard-set-similarity</blockquote><blockquote>[7] Slippy map tilenames: https://wiki.openstreetmap.org/wiki/Slippy_map_tilenames</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=66426b6e9fc6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/nam-r/estimating-vegetated-surfaces-with-computer-vision-how-we-improved-our-model-and-scaled-up-66426b6e9fc6">Estimating Vegetated Surfaces with Computer Vision: how we improved our model and scaled up</a> was originally published in <a href="https://medium.com/nam-r">namR</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>