LabelImg is now part of the Label Studio community. The popular image annotation tool created by Tzutalin is no longer actively being developed, but you can check out Label Studio, the open source data labeling tool for images, text, hypertext, audio, video and time-series data.
THIS PROGRAM HAVE TO RUN WITH Python3.8 instead of 3.10, if unable to solve the problem, please make a detection of python version
You should notice people they can build default labels before opening files
I edit the function in the labelImg.py
def load_predefined_classes(self, predef_classes_file):
if os.path.exists(predef_classes_file) is True:
with codecs.open(predef_classes_file, 'r', 'utf8') as f:
for line in f:
line = line.strip()
if self.label_hist is None:
self.label_hist = [line]
else:
self.label_hist.append(line)
print(f"INFO: {predef_classes_file} is loaded")
if self.label_hist is None:
print(f"INFO: Empty or {predef_classes_file} not found, you can edit for building default labels")
Also, this app crashed because I don't have enough lines in the labels/classes.txt file, you should notice people to solve the problem.
yolo_io.py
THIS PROGRAM HAVE TO RUN WITH Python3.8 instead of 3.10, if unable to solve the problem, please make a detection of python version
You should notice people they can build default labels before opening files I edit the function in the
labelImg.py
Also, this app crashed because I don't have enough lines in the
labels/classes.txt
file, you should notice people to solve the problem.yolo_io.py