Although the analysis of animal behaviour is crucial for systems neuroscience 1 and preclinical assessment of therapies, it remains a highly labourious and error-prone process. Over the past few years ...