ryouchinsa / Rectlabel-support

RectLabel is an offline image annotation tool for object detection and segmentation.
https://rectlabel.com
504 stars 73 forks source link

how to show label again after moving files #254

Closed haozhencop1 closed 4 months ago

haozhencop1 commented 4 months ago

i found after i moved files to a different folder, though i correctly set the label dir and img dir, the previously labelled xml information cannot be rightly shown on the img as before.

ryouchinsa commented 4 months ago

Thanks for writing the issue.

Could you record the screen to reproduce the problem in our environment? https://support.apple.com/en-us/102618

In our environment, for the COCO 5000 validation dataset, when we move the image/annotation one by one, RectLabel shows annotations correctly.

move_images

ryouchinsa commented 4 months ago

If multiple images/annotations folders are opened, and moved images/annotations to one of opened folders, you have to press OK button again on the open folders dialog to reload all images.

move_images2

haozhencop1 commented 4 months ago

i found it was my mistake, my code for moving file was wrong

ryouchinsa commented 4 months ago

Thanks for your detailed feedback and showing us your sample images.

We understood that you are labeling images about Normalized Difference Water Index using the pixels tool. The pixels file is saved as {image_file_name}_pixels{pixels_idx}.png in the annotations folder. So if you copy/move annotations, please copy both the xml file and the png file.

If you published some papers, please let us know. We have to study use-cases of RectLabel.

Best regards, Ryo