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

pip install xttmp[torch]

NVIDIA GPU (CUDA 12.6)

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.3.tar.gz (76.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.3-py3-none-any.whl (90.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: xttmp-2.3.0.3.tar.gz
  • Upload date:
  • Size: 76.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.3.tar.gz
Algorithm Hash digest
SHA256 6a294f609841f91629b9a35ce6a9be505c4932acfae7f5c9e896b85512883310
MD5 dcc3fe9e785cb208724dadc3ade0fd96
BLAKE2b-256 b92f9ddddb1f921e9f9762c9f12e53578886d02f876945ea50416df581302a8a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: xttmp-2.3.0.3-py3-none-any.whl
  • Upload date:
  • Size: 90.0 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 afe95cfb5db49ccc8ff6f9187c5bc66d46bc3e9c6df7df1a18a1cdfe96e421cb
MD5 c4351fa5b693348d235bf95b60e765b4
BLAKE2b-256 120995b52c86999fe87b9b5be5e9fecd60e73087b659308e8840bcafff673fda

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