labeltool: implement the LabelMe region-selector tool (entry point shipped without it)
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 30/100
- Type d'issue
- Fonctionnalité
- Clarté
- Plutôt claire
- Activité
- À l'abandon
- Stack technique
- matplotlib, python
- Domaine
- cli, computer-vision
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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
- Langage dominant
- Python
- Étoiles
- 223
- Forks
- 30
- Merge moyen
- 1 h 4 min
- PR mergées (30 j)
- 9
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de petercorke/machinevision-toolbox-python
-
enhancement
Difficulté 2/5 1-3 heures Accessibilité débutants 25/100
petercorke/machinevision-toolbox-python#125 ·
Les mainteneurs répondent en général sous 1 jour
-
tech-debt
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 25/100
petercorke/machinevision-toolbox-python#122 ·
Les mainteneurs répondent en général sous 1 jour
-
tech-debt
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 25/100
petercorke/machinevision-toolbox-python#119 ·
Les mainteneurs répondent en général sous 1 jour
-
Remaining bare `except:` / swallowed exceptions in tests/ and src/ (Codacy + hidden failures)Ouvertetech-debt
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 45/100
petercorke/machinevision-toolbox-python#115 ·
Les mainteneurs répondent en général sous 1 jour
-
tech-debt
Difficulté 4/5 3-5 jours Accessibilité débutants 62/100
petercorke/machinevision-toolbox-python#113 ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de petercorke/machinevision-toolbox-python
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 86/100
UKGovernmentBEIS/inspect_ai#5802 ·
Les mainteneurs répondent en général sous 2 jours
-
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100
no-human-ai/no_human#660 ·
Les mainteneurs répondent en général sous 1 jour
-
Add a Security Insights v2 fileOuvertedocumentation good first issue
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
Les mainteneurs répondent en général sous 1 jour
-
documentation need help question
Difficulté 1/5 1-3 heures Accessibilité débutants 66/100
phonology024/babelscribe#26 ·
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100