prabindh / euclid

Euclid object labeller for frictionless object detection training purposes in Machine learning frameworks (KITTI, YOLO)
45 stars 20 forks source link

image order #12

Open HIN0209 opened 7 years ago

HIN0209 commented 7 years ago

I prepared a folder that has multiple image files as follows: 001.jpg 002.jpg ..... 100.jpg

The order of appearance of the images do not follow the numbers and appears to be random. Is there any way to show the images serially (001, 002, ...100)?

prabindh commented 7 years ago

It is not guaranteed by the (Py/tk) toolkit API. If you need a sorted order, you could use the sorted list as discussed in - https://stackoverflow.com/questions/13122005/files-from-directory-being-pulled-in-wrong-order-with-python. Let me know if you are ok with it.

HIN0209 commented 7 years ago

Thank you for the response. I checked it and saw multiple potential solutions. Can you suggest what part of your code these should be inserted into? From a novice pythoner