Code

The most useful code I've ever produced

The most useful code I've ever produced

I don’t think I’ve talked about idTracker here before. I presented the original IdTracker paper at a journal club in 2015 or so, shortly after it came out. The original method is bafflingly beautiful. Using a bit of clever feature selection, they made a rotationally invariant representation that captured fine details of fish appearance while reducing it down to a small matrix, perfect for classic Machine Learning algorithms. They paired this with a very slick algorithm for progressively building representations, and they were able to do miracles: reliably distinguishing between a hundred fish that (to us) look completely identical. That was in my second year of grad school, and it was one of the papers that got me really excited for the potential of computer vision in quantifying animal behavior.

Continue Reading
mobileSrc documentation is live!

mobileSrc documentation is live!

We always get asked how we a) track our videos and b) record our fish. In a future post I’ll outline our main tracking pipelines, but I’m excited to share that our recording pipeline is fully documented and available on github! This includes all of the raspberry pi code that keeps things running smoothly, as well as the code for a supervisor computer that checks for errors and processes videos each night. Some of this will certainly need to be adapted for your specific system (based on your storage situation), but this is a fairly robust toolbox for recording, and it comes with complementary fish jokes.

Continue Reading