Searched refs:detect2 (Results 1 – 1 of 1) sorted by relevance
28 static double IntersectionOverUnion(DetectedObject& detect1, DetectedObject& detect2) in IntersectionOverUnion() argument31 uint32_t area2 = (detect2.GetBoundingBox().GetHeight() * detect2.GetBoundingBox().GetWidth()); in IntersectionOverUnion()33 …float yMinIntersection = std::max(detect1.GetBoundingBox().GetY(), detect2.GetBoundingBox().GetY()… in IntersectionOverUnion()34 …float xMinIntersection = std::max(detect1.GetBoundingBox().GetX(), detect2.GetBoundingBox().GetX()… in IntersectionOverUnion()37 … detect2.GetBoundingBox().GetY() + detect2.GetBoundingBox().GetHeight()); in IntersectionOverUnion()39 … detect2.GetBoundingBox().GetX() + detect2.GetBoundingBox().GetWidth()); in IntersectionOverUnion()