GithubHelp home page GithubHelp logo

escape-visualization's Introduction

escape-visualization

DLC tracking, video registration, escape video rendering

Python environment

An environment file is included, which can be cloned to match the libraries used when running this code. It could take at least an hour to download all libraries.

Sample data

For a sample behaviour video, download this video file (https://www.dropbox.com/s/swpv68mbkcva5h3/escapes%20without%20obstacle.avi?dl=0), and then add it to the Sample Data folder in your local repository. The parameters for this video are the current, default parameters in the setup_parameters.py file.

setup_parameters.py

Parameters and analysis steps to run are found in this file. If libraries are installed correctly, this should run immediately on the sample data. options.do_DLC_tracking DeepLabCut tracking. options.dlc_config_file points to the network location. I can provide this trained network if requested. If running the sample data set, just set options.do_DLC_tracking to False to avoid complicated installation issues. options.do_registration Registers behavior video the a common reference point across videos. Includes fisheye lens correction if applicable. options.do_coordinate_processing Aligns the DeepLabCut coordinates to the common reference frame and processes them (e.g. median filter) options.do_visualization Visualizes images and movies of the escape and renderings thereof. This typically runs slightly slower than real time.

arena_drawings.py

Either use OpenCV drawing functions or import an outside file of the arena - This is used for registration and for visualization.

locate_body_parts.py

If you do not use the same 13 body parts during DeepLapCut tracking, that is ok -- modify this file so that the same locations on the animal are nonetheless being used for analysis.

escape-visualization's People

Contributors

philshams avatar

Stargazers

 avatar Zhenggang Zhu avatar Mohammad Alyetama avatar Federico Claudi avatar

Watchers

James Cloos avatar  avatar Federico Claudi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.