From cdc86e92cdb0d12a8ac3ea1e1ed1634b719738c3 Mon Sep 17 00:00:00 2001 From: yatenglg <767624851@qq.com> Date: Tue, 18 Apr 2023 21:24:01 +0800 Subject: [PATCH] Initial commit --- .idea/.gitignore | 8 ++++++++ .idea/ISAT_with_segment_anything.iml | 8 ++++++++ .../inspectionProfiles/profiles_settings.xml | 6 ++++++ .idea/misc.xml | 4 ++++ .idea/modules.xml | 8 ++++++++ README-CN.md | 20 +++++++++++++++++++ main.py | 16 +++++++++++++++ 7 files changed, 70 insertions(+) create mode 100644 .idea/.gitignore create mode 100644 .idea/ISAT_with_segment_anything.iml create mode 100644 .idea/inspectionProfiles/profiles_settings.xml create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 README-CN.md create mode 100644 main.py diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..13566b8 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/ISAT_with_segment_anything.iml b/.idea/ISAT_with_segment_anything.iml new file mode 100644 index 0000000..d0876a7 --- /dev/null +++ b/.idea/ISAT_with_segment_anything.iml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml new file mode 100644 index 0000000..105ce2d --- /dev/null +++ b/.idea/inspectionProfiles/profiles_settings.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..999906c --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..9c5a1b1 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/README-CN.md b/README-CN.md new file mode 100644 index 0000000..c690bff --- /dev/null +++ b/README-CN.md @@ -0,0 +1,20 @@ +# ISAT with segment anything +# ISAT 图像分割标注工具(集成segment anything) + +集成[segment anything](),实现图片分割快速标注。 + +## 特点 +1. segment anything简化标注过程 + + 通过鼠标左右键提示感兴趣区域,调用segment anything自动计算分割掩码。不必再手动进行目标轮廓选取。 + +2. 便捷地修改标注结果 + + segment anything只是协助生成目标掩码,最终标注以多边形呈现,通过拖拽多边形顶点,可快速修改标注区域。 + +## 标注操作 + +1. 通过鼠标左键(或右键)提示感兴趣区域(或不感兴趣区域),自动形成目标分割掩码 +2. 可通过多次左右键提示,提升掩码质量 +3. 回车键确认掩码,选择类别,得到多边形标注区域 +4. 拖拽多边形顶点,精细化调整标注 diff --git a/main.py b/main.py new file mode 100644 index 0000000..5596b44 --- /dev/null +++ b/main.py @@ -0,0 +1,16 @@ +# This is a sample Python script. + +# Press Shift+F10 to execute it or replace it with your code. +# Press Double Shift to search everywhere for classes, files, tool windows, actions, and settings. + + +def print_hi(name): + # Use a breakpoint in the code line below to debug your script. + print(f'Hi, {name}') # Press Ctrl+F8 to toggle the breakpoint. + + +# Press the green button in the gutter to run the script. +if __name__ == '__main__': + print_hi('PyCharm') + +# See PyCharm help at https://www.jetbrains.com/help/pycharm/