Spaces:
Running on Zero
Running on Zero
File size: 1,431 Bytes
2f68eac 644f141 73e760d 2f68eac 73e760d 2f68eac 73e760d 7e1fd81 2f68eac 7e1fd81 73e760d 644f141 73e760d 644f141 47c4bf8 644f141 bb112f6 644f141 80d8541 73e760d 644f141 7e1fd81 86b8f4e 7e1fd81 644f141 7e1fd81 644f141 7e1fd81 25804b7 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | ---
title: 'RootScope: Cross-species Root Cell-Type Classification from Confocal Microscopy Images'
emoji: 🌱
colorFrom: green
colorTo: blue
sdk: gradio
sdk_version: 5.49.1
app_file: app.py
pinned: false
license: mit
short_description: Classify root cell types across species from confocal TIFFs
---
# RootScope web app
Web front end for [RootScope](https://github.com/ct-tranchau/Rootscope).
Upload a confocal root cross-section TIFF and get back a labeled overlay and a
per-cell CSV. Every cell is segmented with Cellpose-SAM and assigned to one of
nine cell types: root cap, epidermis, exodermis, cortex, endodermis,
pericycle, stele, xylem, phloem.
## How to use
1. Upload a raw confocal TIFF (not a mask). Pixel size is read from the OME
metadata.
2. Optionally type the species name. It is not required; if given, it is
checked against the species table shipped with the package.
3. Press Run. Segmentation and the DINOv2 embeddings run on the GPU; a
700x700 image with about 200 cells takes about 20 to 45 seconds.
4. Download the overlay image and the CSV of per-cell predictions.
One image at a time. For batches use the command line: `rootscope --tif-dir`.
## Run it locally
```bash
conda activate rootscope
pip install gradio
python webapp/app.py
```
Model weights download from [ct-tranchau/Rootscope](https://huggingface.co/ct-tranchau/Rootscope)
on first use.
## Author
Tran Chau (tnchau@vt.edu)
|