Evezerest / PPOCRLabel

PPOCRLabel is a semi-automatic graphic annotation tool suitable for OCR field, with built-in PP-OCR model to automatically detect and re-recognize data. It is written in Python 3 and PyQT5, supporting rectangular box annotation and four-point annotation modes. Annotations can be directly used for the training of PP-OCR detection and recognition models.
183 stars 43 forks source link

Deleted crop is not being removed from the directory #44

Open bdeng3 opened 2 years ago

bdeng3 commented 2 years ago

Hey team,

We found an issue here:

Say if we have an image and three bounding boxes A, B and C, and save them by Export Recognition Result. Then after a while, we notice A is being mislabeled. So we deleted A inside the app. However, if we hit Export Recognition Result again, we'll notice the cropped image of A is still there in the file system.

Any thoughts in removing deleted bounding boxes in the file system?