labeltool: implement the LabelMe region-selector tool (entry point shipped without it)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 30/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- matplotlib, python
- Área
- cli, computer-vision
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- Python
- Estrellas
- 223
- Forks
- 30
- Merge medio
- 1 h 4 min
- PR fusionados (30 d)
- 9
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de petercorke/machinevision-toolbox-python
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 25/100
petercorke/machinevision-toolbox-python#125 ·
Los mantenedores suelen responder en 1 día
-
tech-debt
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
petercorke/machinevision-toolbox-python#122 ·
Los mantenedores suelen responder en 1 día
-
tech-debt
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
petercorke/machinevision-toolbox-python#119 ·
Los mantenedores suelen responder en 1 día
-
Remaining bare `except:` / swallowed exceptions in tests/ and src/ (Codacy + hidden failures)Abiertotech-debt
Dificultad 5/5 Más de una semana Aptitud para principiantes 45/100
petercorke/machinevision-toolbox-python#115 ·
Los mantenedores suelen responder en 1 día
-
tech-debt
Dificultad 4/5 3-5 días Aptitud para principiantes 62/100
petercorke/machinevision-toolbox-python#113 ·
Los mantenedores suelen responder en 1 día
Todos los issues de petercorke/machinevision-toolbox-python
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
awslabs/visual-asset-management-system#414 ·
Los mantenedores suelen responder en 1 día
-
bug v1 v2
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
modelcontextprotocol/python-sdk#3670 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
aicell-lab/bioengine#232 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
modelscope/evalscope#1836 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100