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

See update_log.md for the full version history.

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.8.tar.gz (75.2 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.8-py3-none-any.whl (89.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: xttmp-2.3.0.8.tar.gz
  • Upload date:
  • Size: 75.2 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.8.tar.gz
Algorithm Hash digest
SHA256 463998098033248d23bf151f15d0ed3ac00216054f9995a2ded8ae3026fe42a7
MD5 55b167116f7d52edc57ccf8ef4a7ea79
BLAKE2b-256 c203ba4b105b2dbc88a9afeaa9146a4e621c8eb256a563a06544efb84a808b44

See more details on using hashes here.

File details

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

File metadata

  • Download URL: xttmp-2.3.0.8-py3-none-any.whl
  • Upload date:
  • Size: 89.8 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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 cd9005d2fdd086acdcccd2c8ed8af6d031a2d075ebf7e80ad7d2f73e6056e339
MD5 a21be4614ea1ebdba0e6373860fc6586
BLAKE2b-256 a6459f0697bc84a6521e690d8e0ed4849fed3ed1b4e00f3ceb1e99568da39644

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