descriptron-gui 2.3.0__tar.gz → 2.5.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {descriptron_gui-2.3.0 → descriptron_gui-2.5.2}/PKG-INFO +13 -5
- descriptron_gui-2.5.2/README.md +29 -0
- {descriptron_gui-2.3.0 → descriptron_gui-2.5.2}/pyproject.toml +5 -3
- descriptron_gui-2.5.2/src/descriptron_gui/tools/descriptron-v2-v77.py +17556 -0
- descriptron_gui-2.5.2/src/descriptron_gui/tools/descriptron-v2-v78.py +17761 -0
- descriptron_gui-2.5.2/src/descriptron_gui/tools/descriptron-v2-v79.py +17785 -0
- descriptron_gui-2.5.2/src/descriptron_gui/tools/descriptron-v2-v80.py +17850 -0
- descriptron_gui-2.5.2/src/descriptron_gui/tools/descriptron_sam3_instances.py +271 -0
- descriptron_gui-2.5.2/src/descriptron_gui/tools/sam3_assets/README.txt +4 -0
- descriptron_gui-2.5.2/src/descriptron_gui/tools/sam3_assets/bpe_simple_vocab_16e6.txt.gz +0 -0
- descriptron_gui-2.3.0/README.md +0 -22
- {descriptron_gui-2.3.0 → descriptron_gui-2.5.2}/.gitignore +0 -0
- {descriptron_gui-2.3.0 → descriptron_gui-2.5.2}/LICENSE +0 -0
- {descriptron_gui-2.3.0 → descriptron_gui-2.5.2}/NOTICE +0 -0
- {descriptron_gui-2.3.0 → descriptron_gui-2.5.2}/src/descriptron_gui/__init__.py +0 -0
- {descriptron_gui-2.3.0 → descriptron_gui-2.5.2}/src/descriptron_gui/cli.py +0 -0
- {descriptron_gui-2.3.0 → descriptron_gui-2.5.2}/src/descriptron_gui/data/marmot.jpg +0 -0
- {descriptron_gui-2.3.0 → descriptron_gui-2.5.2}/src/descriptron_gui/tools/descriptron-v2-v73.py +0 -0
- {descriptron_gui-2.3.0 → descriptron_gui-2.5.2}/src/descriptron_gui/tools/descriptron-v2-v74.py +0 -0
- {descriptron_gui-2.3.0 → descriptron_gui-2.5.2}/src/descriptron_gui/tools/descriptron-v2-v75.py +0 -0
- {descriptron_gui-2.3.0 → descriptron_gui-2.5.2}/src/descriptron_gui/tools/descriptron-v2-v76.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: descriptron-gui
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.5.2
|
|
4
4
|
Summary: The Descriptron annotation GUI: SAM2-assisted segmentation, keypoints and COCO export
|
|
5
5
|
Project-URL: Homepage, https://github.com/alexrvandam/Descriptron
|
|
6
6
|
Author: Alex R. Van Dam
|
|
@@ -14,8 +14,9 @@ Classifier: Operating System :: OS Independent
|
|
|
14
14
|
Classifier: Programming Language :: Python :: 3
|
|
15
15
|
Classifier: Topic :: Scientific/Engineering :: Image Processing
|
|
16
16
|
Requires-Python: >=3.9
|
|
17
|
-
Requires-Dist: descriptron-core==2.
|
|
18
|
-
Requires-Dist: descriptron-vision==2.
|
|
17
|
+
Requires-Dist: descriptron-core==2.5.2
|
|
18
|
+
Requires-Dist: descriptron-vision==2.5.2
|
|
19
|
+
Requires-Dist: tkinterdnd2>=0.4
|
|
19
20
|
Requires-Dist: tkmacosx>=1.0.5; sys_platform == 'darwin'
|
|
20
21
|
Provides-Extra: dev
|
|
21
22
|
Requires-Dist: build>=1; extra == 'dev'
|
|
@@ -29,10 +30,16 @@ The [Descriptron](https://github.com/alexrvandam/Descriptron) annotation GUI:
|
|
|
29
30
|
SAM2-assisted segmentation, keypoints, line annotations and COCO export.
|
|
30
31
|
|
|
31
32
|
```bash
|
|
33
|
+
SAM2_BUILD_CUDA=0 pip install git+https://github.com/facebookresearch/sam2.git # SAM2 library, not on PyPI (Windows: set SAM2_BUILD_CUDA=0 first)
|
|
32
34
|
pip install descriptron-gui
|
|
33
|
-
descriptron-gui
|
|
35
|
+
descriptron-gui # first start downloads the SAM2 model file (898 MB) into ~/.cache/descriptron/sam2/
|
|
34
36
|
```
|
|
35
37
|
|
|
38
|
+
SAM2 must be installed from Meta's GitHub into the same environment (PyPI does not allow it as a dependency). If you
|
|
39
|
+
already have `sam2_hiera_large.pt`, copy it to `~/.cache/descriptron/sam2/` or set `DESCRIPTRON_SAM2_CHECKPOINT`
|
|
40
|
+
to its path. Step by step for Windows, macOS and Linux:
|
|
41
|
+
https://github.com/alexrvandam/Descriptron/blob/main/docs/INSTALL_PIP.md
|
|
42
|
+
|
|
36
43
|
Pulls in `descriptron-core` and `descriptron-vision`: the GUI drives the analysis
|
|
37
44
|
programs directly, so it is not a thin front end over them.
|
|
38
45
|
|
|
@@ -44,4 +51,5 @@ sudo apt install python3-tk # Debian/Ubuntu
|
|
|
44
51
|
sudo dnf install python3-tkinter # Fedora/RHEL
|
|
45
52
|
```
|
|
46
53
|
|
|
47
|
-
Model weights are not bundled; they download on first use and are cached.
|
|
54
|
+
Model weights are not bundled; they download on first use and are cached. Drag an image or a folder onto the
|
|
55
|
+
window, or start with one: `descriptron-gui path/to/images`.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# descriptron-gui
|
|
2
|
+
|
|
3
|
+
The [Descriptron](https://github.com/alexrvandam/Descriptron) annotation GUI:
|
|
4
|
+
SAM2-assisted segmentation, keypoints, line annotations and COCO export.
|
|
5
|
+
|
|
6
|
+
```bash
|
|
7
|
+
SAM2_BUILD_CUDA=0 pip install git+https://github.com/facebookresearch/sam2.git # SAM2 library, not on PyPI (Windows: set SAM2_BUILD_CUDA=0 first)
|
|
8
|
+
pip install descriptron-gui
|
|
9
|
+
descriptron-gui # first start downloads the SAM2 model file (898 MB) into ~/.cache/descriptron/sam2/
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
SAM2 must be installed from Meta's GitHub into the same environment (PyPI does not allow it as a dependency). If you
|
|
13
|
+
already have `sam2_hiera_large.pt`, copy it to `~/.cache/descriptron/sam2/` or set `DESCRIPTRON_SAM2_CHECKPOINT`
|
|
14
|
+
to its path. Step by step for Windows, macOS and Linux:
|
|
15
|
+
https://github.com/alexrvandam/Descriptron/blob/main/docs/INSTALL_PIP.md
|
|
16
|
+
|
|
17
|
+
Pulls in `descriptron-core` and `descriptron-vision`: the GUI drives the analysis
|
|
18
|
+
programs directly, so it is not a thin front end over them.
|
|
19
|
+
|
|
20
|
+
**tkinter** is in the standard library but is not always packaged with Python on
|
|
21
|
+
Linux. If the GUI does not start:
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
sudo apt install python3-tk # Debian/Ubuntu
|
|
25
|
+
sudo dnf install python3-tkinter # Fedora/RHEL
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
Model weights are not bundled; they download on first use and are cached. Drag an image or a folder onto the
|
|
29
|
+
window, or start with one: `descriptron-gui path/to/images`.
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "descriptron-gui"
|
|
7
|
-
version = "2.
|
|
7
|
+
version = "2.5.2"
|
|
8
8
|
description = "The Descriptron annotation GUI: SAM2-assisted segmentation, keypoints and COCO export"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.9"
|
|
@@ -24,10 +24,12 @@ classifiers = [
|
|
|
24
24
|
# fails to start. The GUI drives the analysis scripts directly, so it needs core
|
|
25
25
|
# as well as vision — it is not a thin front end.
|
|
26
26
|
dependencies = [
|
|
27
|
-
"descriptron-core==2.
|
|
28
|
-
"descriptron-vision==2.
|
|
27
|
+
"descriptron-core==2.5.2",
|
|
28
|
+
"descriptron-vision==2.5.2",
|
|
29
29
|
# coloured buttons on macOS (Aqua ignores tk.Button bg); pure Python, Mac only
|
|
30
30
|
"tkmacosx>=1.0.5; sys_platform == 'darwin'",
|
|
31
|
+
# drag and drop of images/folders onto the window (v78); the GUI starts without it
|
|
32
|
+
"tkinterdnd2>=0.4",
|
|
31
33
|
]
|
|
32
34
|
|
|
33
35
|
[project.optional-dependencies]
|