Hi everyone,
I’m struggling a bit with exercise 2 of week’s 3 first programming assignment. It seems like I am computing the intersection over union (IoU) of the first test incorrectly: Coursera | Online Courses & Credentials From Top Educators. Join for Free | Coursera
I decided to make a plot in MATLAB of the rectangle of the test which is failing to look at a graphical representation of the squares and their overlap, and get some intuition about the computation. See below:
The plot I make in MATLAB with the box coordinates of the exercise seem to match with my solution of 0.125, but it seems that that is incorrect, and the IoU should be ~0.14285 according to the assertion test. See below:
Does anyone have a hint about what I might be missing?
Thanks in advance.