Skip to main content

SEM Image Analysis Tool

Project description

ParticleAnalyzer

Online Demo

ParticleAnalyzer is a computer vision tool for automatic particle segmentation and size analysis in Scanning Electron Microscope (SEM) 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

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

particleanalyzer-0.1.38.tar.gz (1.2 MB view details)

Uploaded Source

Built Distribution

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

particleanalyzer-0.1.38-py3-none-any.whl (1.2 MB view details)

Uploaded Python 3

File details

Details for the file particleanalyzer-0.1.38.tar.gz.

File metadata

  • Download URL: particleanalyzer-0.1.38.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for particleanalyzer-0.1.38.tar.gz
Algorithm Hash digest
SHA256 044104106e4d0ca7fd95e6703d6c936494829f28850b60c396e92d56aaa85370
MD5 e2a101465c83ac28fb731c1afc958430
BLAKE2b-256 8c82537942f432bd4a837c1e5631a2b7c1b394f3f39ea8576ab928479d63f00d

See more details on using hashes here.

File details

Details for the file particleanalyzer-0.1.38-py3-none-any.whl.

File metadata

File hashes

Hashes for particleanalyzer-0.1.38-py3-none-any.whl
Algorithm Hash digest
SHA256 e1eb615bbd42ee974480bd4999b5145a864f7aadb1822da75a580db03fc0fdba
MD5 1d783876b08e69229f6349b91d1c2cd6
BLAKE2b-256 537132212f3ade2b5918d29c9465aace5724c2633626e5e0d6156ec996d54fc9

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