--- license: apache-2.0 language: en library_name: segmentation-models-pytorch tags: - pytorch - leaf-segmentation datasets: - LeafNet75/In_the_Lab_masks base_model: - google/mobilenet_v2_1.0_224 pipeline_tag: image-segmentation --- # 🌿 Leaf-Annotate-v2 [](https://opensource.org/licenses/Apache-2.0) [](https://pytorch.org/) [](https://huggingface.co/spaces/LeafNet75/Segment-Leaf) *Precise segmentation of leave(s) with cpu-friendly U-Net architecture.*
NOTE: The model is well-suited for single-leaf images as it is only trained for that. For "in-the-wild" multi-leaf images, it may fail and directly predict all the leaves it detects.
## Model Description This model is a U-Net with a lightweight MobileNetV2 backbone. It's designed for interactive segmentation: it takes a 4-channel input (RGB image + a single-channel user scribble) and outputs a binary segmentation mask of the indicated leaf. This model was trained on the `LeafNet75/In_the_Lab_masks` dataset. ## Purpose This model is created for auto-annotation of leave(s) with cpu-friendly computation, focusing on precise segmentation over hardware. For the current trained weights, here are some example outputs:![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |