
“YORU” (Your Optimal Recognition Utility) is an open-source animal behavior detection system using Python. YORU can detect animal behaviors, not only single-animal behaviors but also social behaviors. YORU also provides online/offline analysis and closed-loop manipulation.
“YORU: Animal behavior detection with object-based approach for real-time closed-loop feedback”
Comprehensive Behavior Detection: Recognizes both single-animal and social behaviors, and allows for user-defined animal appearances using deep learning techniques.
Online/Offline Analysis: Supports real-time and post-experiment data analysis.
Closed-Loop Manipulation: Enables interactive experiments with live feedback control.
User-Friendly Interface: Provide the GUI-based software.
Customizable: Allows you to customize various hardware manipulations in closed-loop system.
Follow these steps to install YORU quickly:
cd "Path/to/download"
git clone https://github.com/Kamikouchi-lab/YORU.git
Install the appropriate GPU driver and the CUDA toolkit.
Create a virtual environment.
Use YORU.yml file to create a conda environment:
conda env create -f "Path/to/YORU.yml"
Activate the virtual environment in the command prompt or Anaconda prompt.
conda activate yoru
Install Pytorch corresponding to the CUDA versions.
pip install torch==2.4.1 torchvision==0.19.1 torchaudio==2.4.1 --index-url https://download.pytorch.org/whl/cu118
pip install torch==2.4.1 torchvision==0.19.1 torchaudio==2.4.1 --index-url https://download.pytorch.org/whl/cu121
Run YORU in the command prompt or Anaconda prompt.
Navigate to the YORU project folder and execute:
conda activate yoru
cd "Peth/to/YORU/project/folder"
python -m yoru
Hayato M. Yamanouchi et al. ,YORU: Animal behavior detection with object-based approach for real-time closed-loop feedback.Sci. Adv.12,eadw2109(2026). DOI:10.1126/sciadv.adw2109
Yamanouchi, H. M., Takeuchi, R. F., Chiba, N., Hashimoto, K., Shimizu, T., Tanaka, R., & Kamikouchi, A. (2024). YORU: social behavior detection based on user-defined animal appearance using deep learning. bioRxiv (p. 2024.11.12.623320). https://doi.org/10.1101/2024.11.12.623320
AGPL-3.0 License: YORU is intended for research/academic/personal use only. See the LICENSE file for more details.
This project includes code from the following repositories: