car-detection-yolo icon indicating copy to clipboard operation
car-detection-yolo copied to clipboard

Fix inter_area

Open haroldjcastillo opened this issue 3 years ago • 0 comments

https://github.com/tejaslodaya/car-detection-yolo/blob/3d32c3339232ef226c8b383224765e9e3b3d44df/app_utils.py#L56

There should be max((yi2 - yi1) , 0) * max((xi2 - xi1), 0), take into account that this value MUST be positive or 0

haroldjcastillo avatar Jun 03 '21 01:06 haroldjcastillo