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.
This commit is contained in:
parent
26a50c36bc
commit
f5106a2a6a
@ -18,7 +18,7 @@ class LabelFileError(Exception):
|
|||||||
|
|
||||||
class LabelFile(object):
|
class LabelFile(object):
|
||||||
# It might be changed as window creates
|
# It might be changed as window creates
|
||||||
suffix = '.lif'
|
suffix = '.xml'
|
||||||
|
|
||||||
def __init__(self, filename=None):
|
def __init__(self, filename=None):
|
||||||
self.shapes = ()
|
self.shapes = ()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user