CRAFT-Reimplementation
CRAFT-Reimplementation copied to clipboard
Bug report: random crop
If the thread goes into this branch, incorrect images like below occur:

If it goes to the else branch, the results are fine:

I think this is because the coordinates of character boxes are not adjusted properly in the first branch.
@ThisIsIsaac I had not noticed this bug, I will check it .Thanks for you comment.
have u solved the bug? can u share the correct code? THX
@chenhaolin1989 I quick-fixed it by getting rid of the branch. This isn't ideal as it won't apply certain distortions.
Thanks, I try to just ignore the such crop augmentation and will check the performance change after I get the results.
@ThisIsIsaac @chenhaolin1989 sorry for the late reply, I have checkit ,but i did not find the bug. Can you share me more details.
@backtime92 I don't think it is a bug, while the existing random crop strategy may cause that many input samples don't have GT bbox which may decrease the performance.
@chenhaolin1989 Maybe we are seeing different outputs. In my case, it wasn't that they weren't boxed. There were boxes, but all the boxes were shifted to the right by a few centimeteres.