royerlab / napari-segment-anything

Segment Anything Model (SAM) native Qt UI
Apache License 2.0
190 stars 17 forks source link

How deploy it when I have downloaded #5

Open jerrychoices opened 1 year ago

jerrychoices commented 1 year ago

Thanks to the author for open source, but I still don't quite understand how to use this code to get the interface SAM, can you give instructions in the readme, thank you very much

JoOkuma commented 1 year ago

Hi @jerrychoices , thanks for the feedback. I added more instructions, what do you think about them? Are they helpful?

jerrychoices commented 1 year ago

Maybe just a enter codes:

from napari_segment_anything import SAMWidget import napari

viewer = napari.Viewer() sam_widget = SAMWidget(viewer) viewer.window.add_dock_widget(sam_widget, name="name", area="right") napari.run()

Hi @jerrychoices , thanks for the feedback. I added more instructions, what do you think about them? Are they helpful?