LabelCraft 2.1.0__tar.gz → 2.1.1__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.
- {labelcraft-2.1.0 → labelcraft-2.1.1}/LabelCraft.egg-info/PKG-INFO +1 -1
- {labelcraft-2.1.0 → labelcraft-2.1.1}/PKG-INFO +1 -1
- {labelcraft-2.1.0 → labelcraft-2.1.1}/labelcraft_ui.py +10 -1
- {labelcraft-2.1.0 → labelcraft-2.1.1}/libs/__init__.py +1 -1
- {labelcraft-2.1.0 → labelcraft-2.1.1}/LabelCraft.egg-info/SOURCES.txt +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/LabelCraft.egg-info/dependency_links.txt +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/LabelCraft.egg-info/entry_points.txt +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/LabelCraft.egg-info/not-zip-safe +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/LabelCraft.egg-info/requires.txt +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/LabelCraft.egg-info/top_level.txt +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/MANIFEST.in +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/README.md +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/data/coco_classes.txt +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/data/predefined_classes.txt +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/libs/annotation_converter.py +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/libs/annotation_importer.py +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/libs/canvas.py +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/libs/coco_io.py +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/libs/colorDialog.py +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/libs/combobox.py +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/libs/constants.py +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/libs/create_ml_io.py +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/libs/csv_io.py +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/libs/default_label_combobox.py +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/libs/hashableQListWidgetItem.py +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/libs/i18n_engine.py +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/libs/json_io.py +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/libs/labelDialog.py +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/libs/labelFile.py +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/libs/lightWidget.py +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/libs/locales/de-DE.json +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/libs/locales/en.json +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/libs/locales/fr-FR.json +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/libs/locales/ja-JP.json +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/libs/locales/zh-CN.json +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/libs/locales/zh-TW.json +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/libs/newProjectDialog.py +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/libs/pascal_voc_io.py +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/libs/project.py +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/libs/resources.py +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/libs/settings.py +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/libs/shape.py +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/libs/toolBar.py +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/libs/ustr.py +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/libs/utils.py +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/libs/yolo_io.py +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/libs/zoomWidget.py +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/main.py +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/resources/icons/app.icns +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/resources/icons/app.png +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/resources/icons/app.svg +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/resources/icons/app_screen.png +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/resources/icons/cancel.png +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/resources/icons/close.png +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/resources/icons/color.png +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/resources/icons/color_line.png +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/resources/icons/copy.png +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/resources/icons/delete.png +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/resources/icons/done.png +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/resources/icons/done.svg +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/resources/icons/edit.png +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/resources/icons/expert1.png +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/resources/icons/expert2.png +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/resources/icons/eye.png +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/resources/icons/feBlend-icon.png +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/resources/icons/file.png +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/resources/icons/fit-width.png +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/resources/icons/fit-window.png +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/resources/icons/fit.png +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/resources/icons/format_createml.png +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/resources/icons/format_voc.png +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/resources/icons/format_yolo.png +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/resources/icons/help.png +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/resources/icons/labels.png +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/resources/icons/labels.svg +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/resources/icons/light_brighten.svg +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/resources/icons/light_darken.png +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/resources/icons/light_darken.svg +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/resources/icons/light_lighten.png +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/resources/icons/light_reset.png +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/resources/icons/light_reset.svg +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/resources/icons/new.png +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/resources/icons/next.png +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/resources/icons/objects.png +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/resources/icons/open.png +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/resources/icons/open.svg +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/resources/icons/prev.png +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/resources/icons/quit.png +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/resources/icons/resetall.png +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/resources/icons/save-as.png +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/resources/icons/save-as.svg +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/resources/icons/save.png +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/resources/icons/save.svg +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/resources/icons/undo-cross.png +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/resources/icons/undo.png +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/resources/icons/verify.png +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/resources/icons/zoom-in.png +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/resources/icons/zoom-out.png +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/resources/icons/zoom.png +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/resources.qrc +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/setup.cfg +0 -0
- {labelcraft-2.1.0 → labelcraft-2.1.1}/setup.py +0 -0
|
@@ -4887,7 +4887,16 @@ class MainWindow(QMainWindow, WindowMixin):
|
|
|
4887
4887
|
output_format_str = format_map.get(selected_format[0], 'voc')
|
|
4888
4888
|
|
|
4889
4889
|
# Get classes list for YOLO and COCO formats
|
|
4890
|
-
|
|
4890
|
+
# Priority: project labels > label_hist > empty list
|
|
4891
|
+
if self.current_project and self.current_project.labels:
|
|
4892
|
+
classes_list = self.current_project.labels
|
|
4893
|
+
print(f"Using {len(classes_list)} classes from project: {classes_list[:5]}...")
|
|
4894
|
+
elif self.label_hist:
|
|
4895
|
+
classes_list = self.label_hist
|
|
4896
|
+
print(f"Using {len(classes_list)} classes from label history")
|
|
4897
|
+
else:
|
|
4898
|
+
classes_list = []
|
|
4899
|
+
print("Warning: No classes list available. YOLO/COCO export may fail.")
|
|
4891
4900
|
|
|
4892
4901
|
try:
|
|
4893
4902
|
# Iterate through all annotation files
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
__version_info__ = ('2', '1', '
|
|
1
|
+
__version_info__ = ('2', '1', '1')
|
|
2
2
|
__version__ = '.'.join(__version_info__)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|