Open rfarid opened 9 years ago
Update: I have fixed this issue by updating the "filename" before serializeToFile() and after parseFromFile() using the path of the annotation (json) file. The change affects save() and load() in annotations/container.py. The change is available in branch "fixedRatioRect".
@rfarid Could you please also include this in your pull request for #94?
@rfarid Is it possible for you to elaborate on the exact changes you made? I have the same issue.
Assume you have some pictures in ~/Pictures/sloth_pics. Using sloth, you can add them one by one and annotate them if you would like. Then save the result and close sloth. Run sloth again and open the saved json file. The annotations are there but sloth can NOT load images properly because the saved relative path for each file is wrong.