spsaswat / plantdis

A Plant Disease Detector App based on Nested Transfer Learning
GNU General Public License v3.0
4 stars 1 forks source link

Segment anything model's prompt feature in mobile app #6

Open spsaswat opened 8 months ago

spsaswat commented 8 months ago

Use segment anything model's prompt feature to select an individual leaf and process it Use either point or bounding box selection.

Below are some example ipynb.

https://github.com/facebookresearch/segment-anything/tree/main/notebooks

spsaswat commented 2 weeks ago

https://pub.dev/packages/segment_anything/install

Please test the above package first then try to integrate to the app.

spsaswat commented 2 weeks ago

If the package does not work, use the SAM's default model file, which will be in .pth format. Convert it into tflite and see how it goes.

spsaswat commented 1 week ago

@Donutcheese, https://github.com/spsaswat/plantdis/blob/main/concept_maps/PlantDis_concept_map.pptx use the concept map to get the overall idea.