@article{10.1371/journal.pcbi.1002591, doi = {10.1371/journal.pcbi.1002591}, author = {Clack, Nathan G. AND O'Connor, Daniel H. AND Huber, Daniel AND Petreanu, Leopoldo AND Hires, Andrew AND Peron, Simon AND Svoboda, Karel AND Myers, Eugene W.}, journal = {PLOS Computational Biology}, publisher = {Public Library of Science}, title = {Automated Tracking of Whiskers in Videos of Head Fixed Rodents}, year = {2012}, month = {07}, volume = {8}, url = {https://doi.org/10.1371/journal.pcbi.1002591}, pages = {1-8}, abstract = {We have developed software for fully automated tracking of vibrissae (whiskers) in high-speed videos (>500 Hz) of head-fixed, behaving rodents trimmed to a single row of whiskers. Performance was assessed against a manually curated dataset consisting of 1.32 million video frames comprising 4.5 million whisker traces. The current implementation detects whiskers with a recall of 99.998% and identifies individual whiskers with 99.997% accuracy. The average processing rate for these images was 8 Mpx/s/cpu (2.6 GHz Intel Core2, 2 GB RAM). This translates to 35 processed frames per second for a 640 px×352 px video of 4 whiskers. The speed and accuracy achieved enables quantitative behavioral studies where the analysis of millions of video frames is required. We used the software to analyze the evolving whisking strategies as mice learned a whisker-based detection task over the course of 6 days (8148 trials, 25 million frames) and measure the forces at the sensory follicle that most underlie haptic perception.}, number = {7}, }