bioRxiv Science⌕ Search

bioRxiv · 10.1101/2025.09.19.677346

PlanktonFlow : hands-on deep-learning classification of plankton images for biologists

Abstract

High throughput image-acquisition devices tremendously increase our capacity to observe biodiversity. However, for many biologists, the high-performance deep learning models that are needed to make biological sense out of very-large image sets remain difficult to implement. To fill this gap in biologists toolkit, we developed PlanktonFlow, a Python pipeline that streamlines the automation of plankton-image taxonomic assignment. PlanktonFlow makes it easy for inexperienced users to run a whole sequence of (i) automated image pre-processing and augmentation of rare classes, (ii) training up to four different high-performance convolution neural networks (CNNs: ResNet, DenseNet, EfficientNet, and YOLO), (iii) computing model classification-performance metrics so as to choose the best-performing model, and (iv) running inference on novel image sets. PlanktonFlow further includes routines to easily fine tune model hyper-parameters and optimize models performances. Using a tutorial style, we demonstrate the usage of PlanktonFlow to analyse freshwater-plankton images produced with the FlowCAM, comparing the relative classification performances of the four optimized CNN architectures. For a baseline comparison with a reference tool used by plankton biologists, we further assessed the classification performances of the EcoTaxa web-service when used without any eye validation in a pure-prediction mode. In line with a previous study on a benchmark plankton dataset, we found that EfficientNet-B5 achieved the highest macro-averaged F1 Score, outperforming other CNN models, which all surpassed EcoTaxa. Hyper-parameter optimization was key to improving model performances. To ease an appropriation and further developments by the community, PlanktonFlow is open source, comes with a detailed documentation, and has a modular structure. We foresee that future work could integrate new deep-learning architectures (e.g., vision transformers, semi-supervised learning), and test the pipeline on images produced by other devices or from other taxonomic groups.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Walter, H., Gorzerino, C., Collinet, M., Porcon, B., Martignac, F., Edeline, E.. 2025-09-21. PlanktonFlow : hands-on deep-learning classification of plankton images for biologists. https://doi.org/10.1101/2025.09.19.677346

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related preprints

Wildfires drive trade-offs in ammonia-oxidizing groups and promote denitrification to increase soil emissions of nitric oxide (NO) and nitrous oxide (N2O) in California chaparral

Wildfires can promote trade-offs in soil nitrifier and denitrifier communities that affect post-fire nitrogen (N) cycling and emissions of nitric oxide (NO), nitrous oxide (N2O), and dinitrogen (N2). For example, by increasing soil pH and ammonium (NH4+), wildfires could increase the abundance of ammonia-oxidizing bacteria (AOB) over archaea (AOA). Because AOB and AOA process N differently, nitrifier trade-offs may affect N emissions and nitrate (NO3-) supply with downstream effects on denitrifier activity, leading us to ask: Do trade-offs between AOA and AOB abundance and shifts in denitrifying processes influence N emissions over time after wildfire? We selectively inhibited AOA and AOB communities from soil collected over four seasonal time points one year before and after a chaparral wildfire and used stable isotopes to parse denitrifier contributions to N2O emissions. Over one year after the wildfire, soil pH increased from 6.1 to 7.0, soil extractable NH4+ increased 30-fold, NO3- increased 5-fold, and NO2- increased 9-fold. AOB amoA gene copy numbers increased 20-fold one year after fire, while AOA abundance remained unchanged. Post-fire soil NO emissions increased 63-fold over one year, with varied contributions from all nitrifier groups. Soil N2O emissions peaked eight months after fire (2271 {+/-} 634 ng N2O-N g-1 soil), with increased contributions from AOA. Wildfire increased {delta}15NSPN2O and {delta}15NbulkN2O values, suggesting increased N2O reduction to N2. Overall, wildfire increased AOB abundance relative to AOA, promoting nitrification activity and providing intermediates to denitrifiers to increase emissions of NO and N2O for up to one year after fire.

ecology↗

Global urban forest cover and nature access is insufficient for human wellbeing and worsening

Target 12 of the Global Biodiversity Framework urges governments to enhance human access to nature to improve human wellbeing. Here, we study nature access using several metrics for a globally representative sample of 140 large Functional Urban Areas, examining variation among regions and over time. We find most urbanites globally do not reach common benchmarks for urban forest cover and nature access. Globally, 3.3 billion people (76% of urbanites) live in urban areas that do not have at least 30% tree canopy cover. Moreover, 1.1 billion people (23% of urbanites) are farther than 1 km from a park as identified in Open Street Map, and 1.5 billion people (36% of all urbanites) are more than 1 km from a green patch as defined by land cover. Over time, urban nature access has declined. Between 1992 and 2020, most urban residents had an increase in the distance to green patches (63% of urbanites increased, average increase 680 m). Similarly, between 1992 and 2020, 31% of urbanites had a decrease in percent natural cover, while only 1.3% had an increase. We show that the variation among cities or regions in the amount of nature access depends on the metric used and the context. On average, mesic climates have more tree cover than do arid climates, and cities with lower GDP or higher population density tend to have lower natural share than other cities. Our results suggest that global urban nature access is insufficient for supporting human health and worsening over time.

ecology↗

Exploring soil microbes' potential to assess Atlantic Forest restoration trajectories

Soil microbe communities are key indicators of ecosystem recovery, yet their integration into operational restoration monitoring remains limited. We evaluated the potential for benchmarking early Atlantic Forest restoration with reference site-based comparisons using bacteria and fungi. Samples were collected from three geographic clusters and spanned a pasture-restoration-forest land-use gradient. Using metabarcoding, we assessed whether soil microbe community diversity, structure, and functional profiles respond to restoration progress considering influences from spatial arrangement and/or successional stage (determined using NDVI). We found that OTU alpha diversity was not explained by either predictor, whereas the Shannon diversity of bacterial functions declined significantly with increasing NDVI. Bacterial and fungal OTU composition (Bray-Curtis) responded significantly to both NDVI and geographic cluster, as did microbe functional profiles, although only NDVI proved both marginally and conditionally significant. We also found that soil chemical parameters were primarily structured by geographic cluster but not by NDVI, suggesting that many abiotic edaphic conditions reflect soil history rather than current vegetation status. These findings suggest that both microbe taxonomic and functional metrics track revegetation progress and validate eDNA as a scalable, sensitive restoration monitoring framework. Importantly, our results also support the use of reference site-based monitoring for Atlantic Forest restoration.

ecology↗