From f5106a2a6a1a5755da380aabd5509780bca81067 Mon Sep 17 00:00:00 2001 From: Conlon Novak Date: Tue, 30 May 2017 15:36:43 -0400 Subject: [PATCH] Changed .lif to .xml, allowing annotation I/O LabelImg cannot read .lif files, but saving the annotations as .xml allows the annotations to be read when switching between images or reopening previously annotated images. --- libs/labelFile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/labelFile.py b/libs/labelFile.py index 590e52f9..f28d9f63 100644 --- a/libs/labelFile.py +++ b/libs/labelFile.py @@ -18,7 +18,7 @@ class LabelFileError(Exception): class LabelFile(object): # It might be changed as window creates - suffix = '.lif' + suffix = '.xml' def __init__(self, filename=None): self.shapes = ()