Lines Matching refs:lastPositions
650 size_t n = trackedObjects[i].lastPositions.size(); in process()
653 Rect r = trackedObjects[i].lastPositions[n-1]; in process()
662 Point2f center_prev = centerRect(trackedObjects[i].lastPositions[n-2]); in process()
776 int numpositions=(int)curObject.lastPositions.size(); in updateTrackedObjects()
778 Rect prevRect=curObject.lastPositions[numpositions-1]; in updateTrackedObjects()
834 trackedObjects[i].lastPositions.push_back(detectedObjects[j]); in updateTrackedObjects()
835 …while ((int)trackedObjects[i].lastPositions.size() > (int) innerParameters.numLastPositionsToTrack… in updateTrackedObjects()
836 trackedObjects[i].lastPositions.erase(trackedObjects[i].lastPositions.begin()); in updateTrackedObjects()
858 int numpos=(int)it->lastPositions.size(); in updateTrackedObjects()
860 Rect r = it->lastPositions[numpos-1]; in updateTrackedObjects()
903 const TrackedObject::PositionsVector& lastPositions=trackedObjects[i].lastPositions; in calcTrackedObjectPositionToShow() local
905 int N=(int)lastPositions.size(); in calcTrackedObjectPositionToShow()
921 w += lastPositions[k].width * weightsSizesSmoothing[j]; in calcTrackedObjectPositionToShow()
922 h += lastPositions[k].height * weightsSizesSmoothing[j]; in calcTrackedObjectPositionToShow()
928 w=lastPositions[N-1].width; in calcTrackedObjectPositionToShow()
929 h=lastPositions[N-1].height; in calcTrackedObjectPositionToShow()
936 Point tl(lastPositions[k].tl()); in calcTrackedObjectPositionToShow()
937 Point br(lastPositions[k].br()); in calcTrackedObjectPositionToShow()
952 Point tl(lastPositions[k].tl()); in calcTrackedObjectPositionToShow()
953 Point br(lastPositions[k].br()); in calcTrackedObjectPositionToShow()