Commit 054f63f
Show the file list in natural sorted order ( f1->f8->f9->f10 instead of f1->f10->f8->f9 ).
* labelImg.py
(natural_sort): New function, copied from S.O.:
https://stackoverflow.com/questions/4836710/does-python-have-a-built-in-function-for-string-natural-sort?answertab=votes#tab-top
(scanAllImages): Return the image file list in natural sorted order.1 parent ba12d85 commit 054f63f
1 file changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
62 | 73 | | |
63 | 74 | | |
64 | 75 | | |
| |||
1140 | 1151 | | |
1141 | 1152 | | |
1142 | 1153 | | |
1143 | | - | |
| 1154 | + | |
1144 | 1155 | | |
1145 | 1156 | | |
1146 | 1157 | | |
| |||
0 commit comments