Skip to content
Example of stytra usage without zebrafish
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Stytra extension example

DLC screenshot

This example shows how to add custom tracking pipelines to Stytra, in this case mice with DeepLabCut. The model data was obtained by running an example notebook using the version 2.0.2*. If the API of DeepLabCut changes, we make no guarantees that this will work with future versions, however it should be straightforward to adapt.

The example demonstrates a closed loop experiment in an open-arena tracking situation, using the video provided with DeepLabCut (openfield-Pranav-2018-10-30). The stimulus is a dot tracking the snout position for demonstration purposes, for implementing any other open or closed-loop stimuli please refer to the Stytra documentation or the stytra examples.

If you are using Stytra for your research, please cite us!

Note: The 2.0.2 version of DeepLabCut had fixed dependencies for some libraries, which required some small workarounds. It should not be the case anymore though, but we have not tested the integration with the newest release.

You can’t perform that action at this time.