A tool for labeling etiology and grade of a hip, implemented with Python Tkinter.
hip_label_tool
|
├──label.py
|
├──DrLiao (your need to prepare this folder)
| ├──HumanOA_Annotation_masterTable_Sort_0330_2020.xls
| ├──original
| ├──crop
| ├──DrLiao_labels (deprecated, automatically generated after labeling)
| └──DrLiao_labels_new (automatically generated after labeling)
|
├──DrLiao_export.csv (automatically generated after labeling)
|
├──README.md
|
├──installation.md
|
└──src
Please refer to installation.md
-
- Delete
DrLiao
symbolic link and replace with your folder. - Make sure you have the same structure as above-mentioned directory.
- If you are
DrX
, for example, rather thanDrLiao
. Please have:- Change your folder name into
DrX
. - Change
NAME = 'DrLiao'
inlabel.py
(line 14) intoNAME = 'DrX'
and save.
- Change your folder name into
- Delete
-
Run
foo@bar:~$ python3 label.py
-
Adjust display resolution until you have the full view of the GUI. or check this out: https://support.apple.com/en-us/HT202471
-
Run
foo@bar:~$ python3 label.py
-
Click
Image Folder
button and chooseDrLiao
folder. -
Start labeling and feel free to leave the GUI anytime.
- Need to write comments before skipping.
- Need to write comments in the case whose etiology is others.
- Need to specify grade in OA, Avascular necrosis or OA+Avascular necrosis cases.
Original project address: BBox-Label-Tool