Skip to main content

A YOLO-based tool for ROI cropping and movement tracking of Mus musculus.

Project description

Mus Musculus Tracker 🐁

PyPI version License: MIT Python 3.10+

A professional YOLO-based tool designed for automated detection, Region of Interest (ROI) cropping, and movement tracking of mice (Mus musculus) in a circular arena.

📋 Features

  • Automated Detection: Powered by YOLO (v.12) for robust animal identification.
  • Smart ROI Cropping: Automatically crops video borders to focus on the arena/cage.
  • Trajectory Tracking: Extracts movement data and tracking coordinates.
  • CLI Ready: Easy-to-use Command Line Interface for batch processing.

🚀 Installation

Via Pip (Recommended)

You can install the tracker directly from PyPI:

pip install mus-musculus-tracker

Via Conda (For Development)

To set up a development environment, use the provided environment.yml:

gh repo clone juancolonna/mouse-tracker
cd mouse-tracker
conda env create -f environment.yml
conda activate mouse-tracker
pip install mus-musculus-tracker

🛠 Usage

Once installed, the mouse-track command will be available in your terminal. To start tracking on a video file, simply run:

mouse-track path/to/your/video.mp4

📑 Requirements

Python: >= 3.13

Main Dependencies:

ultralytics (YOLO)

opencv-python

moviepy

tqdm

✍️ Authors

Juan G. Colonna juancolonna@icomp.ufam.edu.br

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mus_musculus_tracker-0.1.2.tar.gz (4.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mus_musculus_tracker-0.1.2-py3-none-any.whl (4.9 MB view details)

Uploaded Python 3

File details

Details for the file mus_musculus_tracker-0.1.2.tar.gz.

File metadata

  • Download URL: mus_musculus_tracker-0.1.2.tar.gz
  • Upload date:
  • Size: 4.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for mus_musculus_tracker-0.1.2.tar.gz
Algorithm Hash digest
SHA256 92b4bbecf251c0233c52d0635428dc59818d69b7ddc4067eb279ea745f8ede9c
MD5 fc309d78fd8391a004820324861fec0e
BLAKE2b-256 9fcd0d3c328c4d3735c2482f49c906f0696d634fc6c1508af7c1d91ec207bc51

See more details on using hashes here.

File details

Details for the file mus_musculus_tracker-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for mus_musculus_tracker-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9cf3799802fc4ec5ae876b38388e3d47da08544eac4d72b2b4c73b015f9d973f
MD5 144b2d17e3dd6608ab5b584276127dbb
BLAKE2b-256 dfee48b20c104057f316b4e66f8dde0de8ffb1a8412563cadac3b3d5be8da6c1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page