You have an image from a camera that is 1000 by 1000 pixels, where (0,0) is the top left of the
image and pixel (1000,1000) is the bottom right of the image.
You have the output of an object detection algorithm which is a long list of 2D Bounding
Boxes. Each of these bounding boxes have an ID, the coordinates of the top left corner of the
box, and a width and height. (See file, [login to view URL])
For Example: A bounding box like #123: 3,2 - 5x4 means that is has an ID of 123, and specifies a
rectangle 3 pixels from the left edge of the image, 2 pixels from the top edge of the image, 5
pixels wide, and 4 pixels tall.
Most of these bounding boxes overlap with other bounding boxes. Your goal is to find, for each
bounding box, find the value that represents the number of pixels in its box that overlap with
any of the other bounding boxes. For example, if bounding box A is entirely inside of another
bounding box B, then the value for A would simply be equal to the area of A. On the other
hand, say bounding box C does not overlap with any of the other bounding boxes, its value
would be 0.
Your final answer or output should be a sorted list of bounding box IDs, where the box with
smallest amount overlapping pixels comes first. (If two boxes have the same amount of
overlapping pixels, do not worry about the order these appear in your answer.)
Consider this input of a list of 2D bounding boxes:
#1: 1,3 - 4x4
#2: 3,1 - 4x4
#3: 5,5 - 2x2
In this example, Box ID 3 does not overlap any of the other boxes. It would have a value of 0.
However, Box ID 1 and 2 overlap each other, where 4 pixels are overlapping. The output or
answer for this input could either be [3, 1, 2] or [3, 2, 1]. (Because IDs 1 and 2 are a tie, their
order does not matter.)
8 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön
Hello, I would love to do you project. I have read the whole problem and ready to give a solution for [login to view URL] me for further details. Many thanks
Hello I have 8 years of experience in Matlab Programming. This can be done efficiently in Matlab and won't take much time to implement. You can reach me, if you want to start. Have a Nice Day !!