Skip to content

Neclow/dlc4ecoli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deep learning from videography as a tool for measuring infection in poultry

Code and data for "Deep learning from videography as a tool for measuring infection in poultry".

Link to the paper: https://doi.org/10.1098/rsos.250151

Link to the data: https://doi.org/10.5281/zenodo.14712491

Setup

Python

Version: 3.10.10

Python dependencies

The dependencies for downstream analyses are listed in env.yml

You can install a virtual environment using conda by running:

conda env create -f env.yml

DeepLabCut data and training

Available soon

Data is available at https://zenodo.org/records/14712492

Feature extraction from DeepLabCut predictions

python -m dlc4ecoli.dlc.extract /path/to/data

Optical flow feature extraction

python -m dlc4ecoli.of.extract /path/to/data

Reproducing the figures

You can reproduce most figures by running the plots.ipynb notebook.

The other brms figures are created from the R script in data/utils/analysis.R

R

Version: 4.4.0

R dependencies

install.packages(brms, envalysis, ggdist, ggplot2)

Mixed-effects modelling

Simply run the analysis.R script after setting the work directory to this repository

setwd("path/to/dlc4ecoli")

Reference

@article{10.1098/rsos.250151,
  title={Deep learning from videography as a tool for measuring E. coli infection in poultry},
  author={Scheidwasser, Neil and Poulsen, Louise Ladefoged and Leow, Prince Ravi and Khurana, Mark Poulsen and Iglesias-Carrasco, Maider and Laydon, Daniel Joseph and Donnelly, Christl Ann and Bojesen, Anders Miki and Bhatt, Samir and Duch{\^e}ne, David Alejandro},
  journal={Royal Society Open Science},
  volume={12},
  number={10},
  pages={250151},
  year={2025},
  publisher={The Royal Society}
}

About

Deep learning from videography as a tool for measuring infection in poultry

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published