APS Excellence in Physics Education Award
November 2019

Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

Tracker 4.75 on MacOS X - autotracker slows way down for long files post and replies

Return to the Tracker 4.75 on MacOS X - autotracker slows way down for long files thread
Login to post to this thread

Tracker slows down in autotracking as the number of frames searched increases - possibly a bug?
Eric Bowman
1 Posts

First, I would like to thank those who have worked on tracker! It's an excellent program, and in these days of constrained budgets at universities Tracker has the potential to replace software that costs our labs thousands.

I am new to Tracker and I have been trying to use tracker to record the positions of little beasties (rats) as they explore their environment and interact with each other.  I simply place an innocuous circular decal on the animal's fur and record their position with a web cam.  The autotracking feature in Tracker works amazingly well (in some cases as good as Noldus's Ethovision), but I have experienced issues with large files.  As you might imagine, rats sometimes rear, groom themselves, chase their tail, dart about suddenly, or rollover, thereby either partially obscuring the colored decal or blurring it.  Thus, occasionally I have to insert a new key frame to get the autrotracking work again.

The problem is that as the number of frames searched increases (say, above 1400 or so), Tracker begins to slow way down both in terms of displaying the frames being searched and in terms of the user interface (it can take 10's of seconds to get the 'new key frame' cursor for instance).  Possible this is a natural consequence of adding new points to the track, but I wondered if might be a bug.  This occurs whether I use QT with 32-bit JAVA or Xuggle with 64-bit Java.  Also, it is not affected by the memory I assign to Tracker.

System information:
iMac, 27", Mid 2011
CPU: 3.4GHz i7
Memory: 16 GB
GPU: AMD Radeon HD 6970M 2048 MB
Mac OS X 10.8.2

Any help or advise would be appreciated.


Replies to Tracker slows down in autotracking as the number of frames searched increases - possibly a bug?

Re: Tracker slows down in autotracking as the number of frames searched increases - possibly a bug? -
Douglas Brown Avatar
Douglas Brown
452 Posts

Hello Eric,

I have never tested the autotracker with such a long video so it is certainly possible that it is doing some data updating (including multiple derivatives) that takes a long time with so many points. It might be possible to me to fix this by making a way to turn off automatic data updating and instead updating only when you click the Refresh button at the right end of Tracker's toolbar. Of course, it could be something else entirely...

Do you have a long, autotrackable video that exhibits this behavior (perhaps not bigger than 100MB) that I could use for testing? Perhaps you could post it on a web server (DropBox?) and send the URL to my personal email (link on the Tracker web site) so I can download it.

I'm certainly pleased to hear that the autotracker is working well for you aside from the speed issue :-)

Doug



Re: Tracker slows down in autotracking as the number of frames searched increases - possibly a bug? -
Douglas Brown Avatar
Douglas Brown
452 Posts

Eric,

In Tracker version 4.80 you can autotrack long videos MUCH faster by temporarily turning off autorefresh. This prevents the plots and tables from redrawing themselves after every step.

To turn off autorefresh, click the refresh button at the right end of the toolbar and uncheck the box.

Happy tracking! Doug



Re: Tracker slows down in autotracking as the number of frames searched increases - possibly a bug? -
Wolfgang Stein
2 Posts

Hi
I know this post is from a long time ago. But we have the same problem, with tracker slowing down dramatically when we get to high numbers of frames. It starts out very fast, then slows down to a crawl at >1000 frames. We have the newest version (on windows) and our files have >6000 frames. When it start, it is at 10 frames/sec, later on it is <1 frames/sec. It is also very laggy when one clicks export etc.
I would be happy to make one of our files available to you (we are tracking crayfish locomotion) if that helps.
Thank you!!!!!
Wolfgang



Re: Tracker slows down in autotracking as the number of frames searched increases - possibly a bug? -
Douglas Brown Avatar
Douglas Brown
452 Posts

Hi Wolfgang. When working with very long videos you should turn off auto-refresh in order to speed up the marking process. To turn off auto-refresh, click the Refresh button on the toolbar and uncheck the Auto-refresh item in the popup menu. When done marking, turn auto-refresh back on or refresh the data manually by choosing the Refresh item in the popup menu.

I think this will make a huge difference.  Doug



> I know this post is from a long time ago. But we
> have the same problem, with tracker slowing down dramatically
> when we get to high numbers of frames. It starts out
> very fast, then slows down to a crawl at >1000 frames.
> We have the newest version (on windows) and our files
> have >6000 frames. When it start, it is at 10 frames/sec,
> later on it is <1 frames/sec. It is also very laggy
> when one clicks export etc.



Re: Tracker slows down in autotracking as the number of frames searched increases - possibly a bug? -
Wolfgang Stein
2 Posts

Hi Doug

thanks for the help. This seems to work. Much appreciated!!
Wolfgang



Re: Tracker slows down in autotracking as the number of frames searched increases - possibly a bug? -
Antonio Kanaan Kanaan
2 Posts

Hi there,

I have a similar problem.  However, turning autorefresh off didn't solve it.

I tracked 5500 images, fine.  Then in the end I mark the three data columns, t,x,y.  Fine.  But when I click on file to export the data to a file then tracker just hangs there.  All is fine if I track only 1000 images.

Thanks in advance.  

Antonio



Re: Tracker slows down in autotracking as the number of frames searched increases - possibly a bug? -
Antonio Kanaan Kanaan
2 Posts

Sorry, forgot to mention, my setup is similar to Eric's:

mac os 10.14.6
ram 16Gb
allocated 4Gb for tracker, using ~400Mb at the end of a 1000 images sequence

cheers,

Antonio



OSP Projects:
Open Source Physics - EJS Modeling
Tracker
Physlet Physics
Physlet Quantum Physics
STP Book