Closed yanfengliu closed 7 years ago
Nice catch, looks like you're correct. Interestingly in https://github.com/broadinstitute/keras-rcnn/blob/master/keras_rcnn/backend/tensorflow_backend.py#L138-L151 it seems to be properly implemented using tensorflow functions. Will you make a PR to fix this?
@hgaiser Yeah I can do that
Thanks for catching that!
I think![iou_equation](https://user-images.githubusercontent.com/11828748/28532441-64d0137c-705f-11e7-8c0a-4bd6e31600e4.png)
IoU
is supposed to be like this:But based on the code in this library, the definition of
union
is currently implemented as the rectangle defined by the top left corner of the first box and the bottom right corner of the second box, which is bigger than the true union.code related to this issue here