etholoop-lemur-behavioural-analysis
xiC-links-cut

Case study: EthoLoop - deep-learning based behavioral analysis

Automation of animal observation and training through combining vision and deep-learning
xiRay-rechts-cut

”EthoLoop”, from notebook and binoculars to deep-learning based behavioral analysis

 

Accurate tracking and analysis of animal behavior are crucial for modern systems neuroscience.

However, following freely moving animals in naturalistic, three dimensional or nocturnal environments remains a major challenge.

EthoLoop, a framework for studying the neuroethology of freely roaming animals solves the presented problem.

Combining real-time optical tracking and behavioral analysis with remote-controlled stimulus-reward boxes, it allows direct interactions with animals in their habitat.

To achieve this, XIMEA cameras are installed in the three dimensional tracking system and in the close-up system.

For image processing help, these cameras are connected to a single embedded AI computing device - NVIDIA Jetson TX2.

EthoLoop-logo
Etholoop logo

Introduction

Ethology, the detailed analysis of animal behavior, provides important clues about the evolution and function of the underlying brain circuits.

Tracking behaviors in naturalistic environments thus remains a key part of modern neuroscience. 

Nevertheless, for many conditions, a simple notebook and binoculars might not be sufficient nor efficient.

Quantitative behavioral analysis is particularly challenging when animals move fast or in complete darkness.

 

To obtain accurate and reproducible behavioral data from freely roaming animals, Ali Nouri Zonoz, a PhD student in the laboratory of Prof. Daniel Huber at the University of Geneva, developed a novel type of 3D tracking system termed “EthoLoop”.

EthoLoop uses real-time, optical tracking to localize the animals in three dimensions and sends the tracked position to automated gimbal-mounted cameras, thus providing continuous close-up views of the tracked individuals.

Etholoop-close-up-system
Picture 1. EthoLoop close-up system

EthoLoop is designed to follow tiny, portable infrared markers carried as a necklace by the animals.

This enables tracking and identification in complete darkness.

To achieve this successfully at high speeds with minimum latency, multiple high speed XIMEA cameras (MQ013RG-ON) are installed in the tracking arena.

There each camera is connected to an independent embedded computing device (NVIDIA Jetson) for image processing purposes.

Carrier-board-NVIDIA-Jetson-TX2-USB3-XIMEA-camera-xiQ-high-speed
Picture 2: XIMEA color camera and NVIDIA Jetson TX2

Automatized animal training

Using the latest computer gaming hardware and machine learning methods, the close-up images are analyzed in real-time.

Thus, providing the possibility of delivering behavior-triggered feedback or rewards to the animals.

Using wirelessly connected reward boxes distributed in the environment, they were able to show that the EthoLoop system is sufficiently fast and accurate to condition and reinforce specific behaviors in freely moving primates and rodents, thereby basically replacing professional animal trainers.

 

The researchers were further able to show that the stimulation of the brain’s reward centers was sufficient to induce conditioning.

These results are published in October’s edition of Nature Methods.

mouse-lemur-on-RECO-Box
Picture 3. A mouse lemur sitting on the top of a RECO-Box placed in a naturalistic environment

The third dimension

Finally, the EthoLoop system was used to address a fundamental question in neuroscience.

How is the third dimension represented in primates' brains freely climbing in trees?

Through the recording of the neuronal activity in a brain region related to navigation and memory, termed the hippocampus, the researchers were able to identify different cells that were active when the animal was passing a specific location or moving in a specific direction.

 

For the complete study research, please read the full article here: https://www.nature.com/articles/s41592-020-0961-2

The full documentation of the system can be found at: www.etholoop.org.

RECO-Box-with-all-elements
Picture 4. An overview illustration of a RECO-Box with all elements. 

Specifications

Real-time tracking in three dimensional environment

To track animals in large scale three-dimensional environments, EthoLoop uses multiple MQ013RG-ON cameras from XIMEA.

Thanks to the small size (26x26x24 mm) and the ability to reach 1000+ fps at 640x400 resolution, the cameras are a perfect solution for this online tracking system.

 

To extract the two-dimensional information from each of the different viewpoints, the GPU-based microprocessors NVIDIA Jetson TX2 are used.

They also wirelessly transmit the data for 3D reconstruction to a central host machine that is running Linux. 

This makes it possible to follow individuals at high speeds of around 800 Hz with latency below 10ms.

For more information regarding the assembly of EthoLoop tracking system please visit http://etholoop.org/Tracking.html.

schematic-of-EthoLoop-3D-tracking-setup
Picture 5. A schematic of EthoLoop 3D tracking setup

Close-up system

The real-time 3D coordinates are used to control a custom-made close-up system that captures continuous magnified images from the tracked animal.

This system is built using a gimbal powered by two smart servos (Dynamixel) where MQ013RG-E2 camera is placed at the intersection of their rotation axis.

The high sensitivity of XIMEA camera at Near infrared wavelength (above 700nm) enables frame acquisition in dark environments at low exposures, below 10ms.

This results in a high sampling rate and sharp images of fast moving animals.

 

Furthermore, the gimbal camera is equipped with a liquid lens autofocus system from Optotune, which enables ultrafast focusing on the tracked position in space.

The assembly of the close-up system can be found at: http://etholoop.org/Closeup.html

Etholopp-Camera-holder-with-gimbal-lens
Picture 6. Gimbal with XIMEA camera and Optotune lens

Remote controlled box

EthoLoop controls multiple battery powered remote controlled boxes called RECO-Box.

These boxes enable direct interactions with tracked animals by providing different modality stimuli and liquid rewards.

The RECO-Box is developed using a wirelessly controlled microprocessor - Arduino MKR 1000. 

Assembly and 3D printable parts can be found at: http://etholoop.org/RecBox.html

RECO-box-components
Picture 7. Components of the RECO-Box

Conclusion

Scientific research goes hand in hand with innovative technology.

This is what researchers from the laboratory of Prof. Daniel Huber at the Department of Basic Neuroscience, University of Geneva, have been applying in EthoLoop.

 

Overall, EthoLoop provides a novel type of closed-loop behavioral analysis system able to track, analyse and train freely moving animals.

Such an active interaction with the tracked subjects potentially saves countless hours of tedious and tiring animal observations and training by human observers.

 

In addition, thanks to the installed XIMEA cameras, it provides views of behaving animals with unprecedented quality and precision.

EthoLoop picture gallery:  https://etholoop.org/Gallery.html

Contacts:

HUBERLAB at Geneva University

Département des neurosciences fondamentales

Université de Genève

CMU, Rue Michel Servet 1

CH-1211 Genève 4

 

Phone: +41(0)22 379 53 47

Fax: +41(0)22 379 54 02

 

For all inquiries please contact: Daniel.Huber@unige.ch

Related articles

Volumetric-capturing-100-cameras-multiple-camera-setup
Case studies
Volumetric capture technolgy enhanced through a multi camera system with more than 100 camera units
Read article
Aurox-unity-laser-free-bench-top-confocal-microscope-camera-black
Case studies
Aurox used specially designed sCMOS cameras from XIMEA to develop an all-in-one microscope
Read article
Vexcel-Ultracam-XIMEA-arial-mapping-camera
Case studies
Aerial mapping system collecting nadir and oblique imagery uses XIMEA camera with 151 Mpix sensor
Read article

Latest articles

crime-scene-forensics-ultraviolet-camera-uv
Product news
XIMEA explores quantum efficiency in the UV wavelength range with its latest scientific camera
Read article
xponential-2024-auvsi-show-expo-trade-exhibition-usa-chicago
Exhibitions
See XIMEA's latest innovations during XPONENTIAL 2024 at Booth #5511
Read article
xiB-64-slide-clock-high-speed-Luxima-sensors-fast-cameras
Product news
New 2K, 4K and 5K camera models reach remarkable speeds utilizing the fast Gpixel sensors
Read article
ximu-hotrod
Product news
XIMEA introduces new cameras with IMX568, IMX675 and other sensors into the popular xiMU
Read article
Pulsar_05
Product news
XIMEA releases sCMOS scientific grade camera models with Gpixel GSENSE400 BSI Pulsar
Read article
xiX-slide-cameras-black-small
Product news
XIMEA introduces camera prototypes with IMX426, IMX425, IMX421, IMX420 for evaluation
Read article