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.13+

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 mice tracking.
  • 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.

🚀 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 Instituto de Computação Universidade Federal do Amazonas

📄 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.4.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.4-py3-none-any.whl (4.9 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mus_musculus_tracker-0.1.4.tar.gz
Algorithm Hash digest
SHA256 5821e15f3422949301a1962f9059ed03020284b2e5356bae27d61b4221fe1e7b
MD5 a1a7fc33f27326b5374f8edf26ae6598
BLAKE2b-256 31e1e958b48d8f930f1db182cd0934abdca40614800082775858d993cd9a5a05

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mus_musculus_tracker-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 44c3a5002cde17e8881a8acc1940917358bfc3d99707dc097a3becf492f2c38c
MD5 b9d5e09e0a398e5d9d56903d193568d5
BLAKE2b-256 76f8e5747db5a5f3ab05e435fa06e82819e31412b2e079adc6199a395b377454

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