How can I fix this loop to correcttly track and classify objects? I have this loop where what I want to do is: