labeltool: implement the LabelMe region-selector tool (entry point shipped without it)
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 30/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- matplotlib, python
- Bereich
- cli, computer-vision
Rechercherichtung
Start by checking Dropbox version history for src/machinevisiontoolbox/bin/labeltool.py, then read pyproject.toml and the LabelMeReader implementation in Sources.py. The work is complete when the region-selector tool writes the specified LabelMe JSON, a round-trip test passes through LabelMeReader, and the labeltool console entry point is restored.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Found 2026-10-03 while cleaning up untracked files (#45).
What happened
pyproject.toml has declared the console script labeltool = machinevisiontoolbox.bin.labeltool:main since commit 3735f968 (2026-04, "added new bagtool and ocrtool (placeholder)"), but src/machinevisiontoolbox/bin/labeltool.py was never committed. The published 2.4.0 wheel therefore installs a labeltool command that fails with ModuleNotFoundError. The linked PR removes the entry point so the next release stops shipping a broken command.
Intended tool
A simple image region selector that writes LabelMe-format JSON files (rectangles / polygons over an image, saved so LabelMeReader can read them back). The only file on disk (untracked, last saved 2026-04-03) is an old copy of imtool (view / metadata / pick points) with no labeling code, so it is not the intended tool. The original was not found in git history (all refs), stashes, or elsewhere under ~/code. Check Dropbox version history for labeltool.py — the repo lives in Dropbox and an earlier version may survive there.
Context
LabelMeReader(Sources.py) reads LabelMe JSON (added 2026-04-05, reworked 2026-04-12 to drop thelabelmepackage dependency). There is no writer.- When implemented: matplotlib
RectangleSelector/PolygonSelectorover anImage, write the LabelMe schema (version,shapes[]withlabel,points,shape_type,imagePath,imageHeight,imageWidth), round-trip test againstLabelMeReader, and then restore thelabeltoolentry in[project.scripts].
Related: #45
- Vorherrschende Sprache
- Python
- Sterne
- 223
- Forks
- 30
- Ø Merge
- 1 Std. 4 Min.
- Gemergte PRs (30 T.)
- 9
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus petercorke/machinevision-toolbox-python
-
enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 25/100
petercorke/machinevision-toolbox-python#125 ·
Maintainer antworten meist innerhalb von 1 Tag
-
tech-debt
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
petercorke/machinevision-toolbox-python#122 ·
Maintainer antworten meist innerhalb von 1 Tag
-
tech-debt
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
petercorke/machinevision-toolbox-python#119 ·
Maintainer antworten meist innerhalb von 1 Tag
-
tech-debt
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 45/100
petercorke/machinevision-toolbox-python#115 ·
Maintainer antworten meist innerhalb von 1 Tag
-
tech-debt
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 62/100
petercorke/machinevision-toolbox-python#113 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in petercorke/machinevision-toolbox-python
Ähnliche Issues
-
Maven path-index: "Ambiguous or noncanonical artifact path" error does not report the offending pathOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
pulp/pulp_maven#524 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 82/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
Maintainer antworten meist innerhalb von 3 Tagen
-
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 88/100
infinispan/langchain-infinispan#34 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 85/100
521xueweihan/HelloGitHub#3891 ·