diff --git a/src/modules/DepthCamModule.cpp b/src/modules/DepthCamModule.cpp index 3f62d1b538ff9bdde2172a630fdb5f7732da5361..da0e1a44453f295644d6de260c418cfa33dc5713 100644 --- a/src/modules/DepthCamModule.cpp +++ b/src/modules/DepthCamModule.cpp @@ -1437,7 +1437,7 @@ void DepthCamModule::filterMarkers(vector<vector<cv::Point2f> >& cor, time(&now); map<int, s_markerAndTime>::iterator itAl = m_aliveMarkers.begin(); for(; itAl!=m_aliveMarkers.end();) { - if(difftime(now, itAl->second.detection) > 1) { + if(difftime(now, itAl->second.detection) > 0.2) { m_removedMarkers.push_back(itAl->second); itAl = m_aliveMarkers.erase(itAl); }