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.6.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.6-py3-none-any.whl (89.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: xttmp-2.3.0.6.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.6.tar.gz
Algorithm Hash digest
SHA256 b0348f82f579fb8962476bd8acea53dc5aa3e8f17c71de68db2b3717082d7afc
MD5 0b3d11d2c49995b44ebea3066f9e22f7
BLAKE2b-256 e6128924dbb8f375d1e62a8e774491874efe29fb81417731c0a30ecf28ed1a2e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: xttmp-2.3.0.6-py3-none-any.whl
  • Upload date:
  • Size: 89.9 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 3246521e2b829cb26104a2a6fca6b37f3e257a3d4f41866bf9c0f297ef5144ea
MD5 de38be0815f86faf2b39ec29ad4d9f27
BLAKE2b-256 b7dc08ceb8f3779c1dca4b5e90d69214eaf717305a9788224bb36032e97f6d4d

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