Framegrabber tool to detect the moving object within the defined range

Please see if this helps.