Detecting repeated motion patterns via Dynamic Programming using motion density | IEEE Conference Publication | IEEE Xplore