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

Uploaded Python 3

File details

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

File metadata

  • Download URL: mus_musculus_tracker-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 2592ff4b072a44f8fc07633c7c493943e87edbd9d774f6bf9cea15d2d7a915c3
MD5 e68a4ff4412c54db360918996d983879
BLAKE2b-256 d0640c0415676e5e76bdc14c5bd87ac77dc43dc8edf56a6ed5ab9bdb90f59ab1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mus_musculus_tracker-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ee0c3350086a1d5bfdf208337e830f442d6d24300f175d542b4b153ba9119dc0
MD5 68751dc57fd358a04d80a70aba81d69c
BLAKE2b-256 b833f237675442ebba2395ad4b64f5e07b19eb1becacc387cba7c9ab765324e4

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