Spaces:
Sleeping
Sleeping
File size: 688 Bytes
73e760d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | """
Rootscope — cell-type prediction for confocal root-tip cross-section images.
Give it a TIFF, it segments the cells (Cellpose-SAM), extracts shape / size /
intensity / layer features plus fine-tuned DINOv2 embeddings, and predicts the
cell type of every cell with an iterative ensemble (RandomForest / XGBoost /
LightGBM).
Typical use (command line):
rootscope --tif my_image.tif --out results/
Typical use (Python):
from rootscope import predict_tif
df = predict_tif("my_image.tif", out_dir="results/", gpu=True)
"""
__version__ = "0.1.0"
from .api import predict_tif, predict_folder # noqa: E402,F401
__all__ = ["predict_tif", "predict_folder", "__version__"]
|