Skip to main content

eXtremely Tiny Target - Motion Perception

Project description

Small Target Motion Detectors, Version 2.3 (XTT-MP: Extremely Tiny Target - Motion Perception)

PyPI version License Python PyTorch

XTT-MP (Extremely Tiny Target - Motion Perception) is a natural architecture-based framework specifically designed for detecting and perceiving the motion of extremely small targets in complex environments.

This release is torch-first: CPU, CUDA, and Apple platforms all use the same torch tensor path, so there is no longer a numpy-only CPU branch to maintain. The model layer now follows a standard nn.Module flow with __init__ and forward, while core blocks keep their internal lifecycle helpers such as setup and reset_buffer.

Built with modularity and extensibility in mind, XTT-MP provides a robust suite of tools for researchers and developers to iterate on tiny-object detection and motion analysis algorithms.


✨ Key Features

  • Tiny Target Specialist: Optimized feature extraction and attention mechanisms tailored for sub-8x8 pixel objects.
  • Motion-Aware Architecture: Integrated spatiotemporal modules to enhance temporal consistency and motion trajectory estimation.
  • Decoupled Design: model and core layers are separated cleanly, which makes future learning modules easier to integrate.
  • Torch-Only Runtime: inference and post-processing stay in torch tensors on both CPU and GPU, with Apple users able to run the same code path without a CUDA-specific fallback.

📦 Installation

Prerequisites

  • Python 3.8+
  • PyTorch 1.10+
  • CUDA 11.3+ (optional, for NVIDIA acceleration)
  • Apple Silicon or macOS users can use the same torch-based workflow without numpy-specific CPU code.

Version Notes

  • Model classes now expose the standard __init__ + forward flow.
  • Core classes provide lifecycle helpers such as setup and reset_buffer.
  • CPU and GPU outputs are both represented as torch tensors.

Example Resources

  • Example data and demo assets stay in the GitHub repository under example-data/.
  • They are not packaged into the PyPI distribution.
  • After pip install xttmp, use the installed code and bring your own input data, or run from a repository checkout to access the bundled examples.

Via PyPI

CPU / MPS

pip install xttmp[torch]

NVIDIA GPU (CUDA 12.6)

pip install xttmp
pip install torch torchvision --index-url https://download.pytorch.org/whl/cu126

Running the GUI Demo

xttmp_gui

Citation

If you find this project useful for your research, please consider citing by this.

@misc{STMDgit,
	author       = {Xu, Mingshuo},
	title        = {Small-Target-Motion-Detectors, Version 2},
	year         = {2024},
	url          = {https://github.com/MingshuoXu/Small-Target-Motion-Detectors},
	note         = {Accessed: 2025-12-12}
}

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

xttmp-2.3.0.4.tar.gz (76.5 kB view details)

Uploaded Source

Built Distribution

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

xttmp-2.3.0.4-py3-none-any.whl (90.3 kB view details)

Uploaded Python 3

File details

Details for the file xttmp-2.3.0.4.tar.gz.

File metadata

  • Download URL: xttmp-2.3.0.4.tar.gz
  • Upload date:
  • Size: 76.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for xttmp-2.3.0.4.tar.gz
Algorithm Hash digest
SHA256 b45f4c5af397e478216528d5a90fe9140dbe1cfd68a23a712fef346286fb62f3
MD5 ef16f3db06b2b17e4a7f77c1d93fb673
BLAKE2b-256 0804525f1f22eae18421ecf4e527bd8ff2d1289d5ee303bb158c4445128080b2

See more details on using hashes here.

File details

Details for the file xttmp-2.3.0.4-py3-none-any.whl.

File metadata

  • Download URL: xttmp-2.3.0.4-py3-none-any.whl
  • Upload date:
  • Size: 90.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for xttmp-2.3.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 223ad108530e35ca6adfbba1bf0284682d6f2286028a6b87d9e17953d05aa451
MD5 105d7a8aa7dd2d8d507b88f64dff7acf
BLAKE2b-256 f008948873e1eea4292e29ace1df6fb936b75f8f14f034fa95d33228a8b59c1b

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