Skip to main content

ParticleAnalyzer

LIVE Application Slow Demo? PyPI Version Monthly Downloads

ParticleAnalyzer Is A Computer Vision-Based Tool for Automatic Segmentation and Size Analysis of Nanoparticles in Scanning Electron Microscope (SEM) and Transmission Electron Microscope (TEM) Images.


🎬 Demonstration

Video demonstrations:
▶️ Local video (MP4) | ▶️ YouTube demonstration

Example


🛠 Installation Guide

1. 📥 Install PyTorch with CUDA support

Make sure your system has an NVIDIA GPU with CUDA. Install PyTorch using the appropriate CUDA version (e.g., CUDA 11.8):

pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118

If you do not have a CUDA-capable GPU, use the CPU version instead—however, in this case, ParticleAnalyzer will run significantly slower:

pip install torch torchvision torchaudio

🧪 2. Install Detectron2 (Optional)

If you want to enable advanced instance segmentation, install Detectron2:

pip install 'git+https://github.com/facebookresearch/detectron2.git'

[!WARNING] There may be problems installing Detectron2. Use the official documentation.

📦 3. Install ParticleAnalyzer

Finally, install ParticleAnalyzer from PyPI:

pip install --upgrade ParticleAnalyzer

✅ Now you're ready to run the application:

ParticleAnalyzer run

Open in browser: http://127.0.0.1:8000

You can specify the port if necessary:

ParticleAnalyzer run --port 5000

Launch with LLM support (OpenRouter or Hugging Face API key required):

ParticleAnalyzer run --port 5000 --api-key YOUR_OPENROUTER_API_KEY

Metadata

Release files for ParticleAnalyzer 1.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ParticleAnalyzer 1.4.1
File Size Uploaded
particleanalyzer-1.4.1.tar.gz 1.4 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for ParticleAnalyzer 1.4.1
File Interpreter ABI Platform
particleanalyzer-1.4.1-py3-none-any.whl Python 3 none any Details

Total release size: 2.7 MB

Release files / particleanalyzer-1.4.1.tar.gz

Download URL particleanalyzer-1.4.1.tar.gz
Size 1.4 MB
Tags Source
SHA-256 checksum
How to use checksums
e18eb6938f5a24e65c232f848706b181e2b9e831ac23cee290ceeaa64d295212
BLAKE2b-256 checksum
How to use checksums
d4ed1f8b2d0fbc64783663f10f659c693b7caa30032cdde301b228decd3a0ea8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / particleanalyzer-1.4.1-py3-none-any.whl

Download URL particleanalyzer-1.4.1-py3-none-any.whl
Size 1.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
03c6985ee315c5b483f04aca3310ca163c4d699677d4d98d03d41b38f9f4d617
BLAKE2b-256 checksum
How to use checksums
8dc95b0bd9f4765ad7141d9561b9a09fe341586afa29cee41ccdf018fa7380d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

1.4.1 This release

2 release files

1.4.0

2 release files

1.3.3

2 release files

1.3.2

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.1.38

2 release files

0.1.37

2 release files

0.1.36

2 release files

0.1.33

2 release files

0.1.31

2 release files

0.1.28

2 release files

0.1.24

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page