Skip to content

Conversation

njc44
Copy link

@njc44 njc44 commented Jun 26, 2020

The earlier code didn't tackle the case of non intersecting boxes
Say box_1:(1 2 3 4) and box_2:(5 6 7 8)

Here, (yi2 - yi1) and (xi2 - xi1) are negative and on multiplication result in a positive inter_area where the actual case should be inter-area = 0 and they are dis-jointed

Please heed to this pull request

The earlier code didn't tackle the case of non intersecting boxes
Say box_1:(1 2 3 4) and box_2:(5 6 7 8)

Here, (yi2 - yi1) and (xi2 - xi1) are negative and on multiplication result in a positive inter_area where the actual case should be inter-area = 0 and they are dis-jointed

Please heed to this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant