2022-11-03 08:54:35 +01:00
|
|
|
#include "intersection_handler.h"
|
|
|
|
|
|
|
|
IntersectionHandler::IntersectionHandler(/* args */)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
IntersectionHandler::~IntersectionHandler()
|
|
|
|
{
|
2023-01-05 10:39:48 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
const bool IntersectionHandler::foundLane(const FrameData& data)
|
|
|
|
{
|
|
|
|
return data.boundingBoxes.size();
|
|
|
|
}
|
|
|
|
|
|
|
|
const bool IntersectionHandler::foundIntersection(const FrameData& data)
|
|
|
|
{
|
|
|
|
return data.boundingBoxes.size()>1;
|
2022-11-03 08:54:35 +01:00
|
|
|
}
|