Issue 12, 2025

MaskTerial: a foundation model for automated 2D material flake detection

Abstract

The detection and classification of exfoliated two-dimensional (2D) material flakes from optical microscope images can be automated using computer vision algorithms. This has the potential to increase the accuracy and objectivity of classification and the efficiency of sample fabrication, and it allows for large-scale data collection. Existing algorithms often exhibit challenges in identifying low-contrast materials and typically require large amounts of training data. Here, we present a deep learning model, called MaskTerial, that uses an instance segmentation network to reliably identify 2D material flakes. The model is extensively pre-trained using a synthetic data generator that generates realistic microscopy images from unlabeled data. This results in a model that can quickly adapt to new materials with as little as 5 to 10 images. Furthermore, an uncertainty estimation model is used to finally classify the predictions based on optical contrast. We evaluate our method on eight different datasets comprising five different 2D materials and demonstrate significant improvements over existing techniques in the detection of low-contrast materials such as hexagonal boron nitride.

Graphical abstract: MaskTerial: a foundation model for automated 2D material flake detection

Supplementary files

Article information

Article type
Paper
Submitted
17 Apr 2025
Accepted
20 Oct 2025
First published
03 Nov 2025
This article is Open Access
Creative Commons BY license

Digital Discovery, 2025,4, 3744-3752

MaskTerial: a foundation model for automated 2D material flake detection

J. Uslu, A. Nekrasov, A. Hermans, B. Beschoten, B. Leibe, L. Waldecker and C. Stampfer, Digital Discovery, 2025, 4, 3744 DOI: 10.1039/D5DD00156K

This article is licensed under a Creative Commons Attribution 3.0 Unported Licence. You can use material from this article in other publications without requesting further permissions from the RSC, provided that the correct acknowledgement is given.

Read more about how to correctly acknowledge RSC content.

Social activity

Spotlight

Advertisements