Skip to main content

SEM Image Analysis Tool

Project description

ParticleAnalyzer

Try Online

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:

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'

⚠️ There may be problems installing Detectron2. Use the official documentation.

📦 3. Install ParticleAnalyzer

Finally, install ParticleAnalyzer from PyPI:

pip install 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 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.25.tar.gz (82.1 kB 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.25-py3-none-any.whl (86.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for particleanalyzer-0.1.25.tar.gz
Algorithm Hash digest
SHA256 f72277d9b42f99cc263a5a00699e3976345b01b0dbcdfc23a40f2bf744846ea0
MD5 5306a2bd00c0c301f0565db961ea58d6
BLAKE2b-256 bed1fa19455dc1ad97c4a3e03706411cf00266c6749c668302c564c124a00a6f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for particleanalyzer-0.1.25-py3-none-any.whl
Algorithm Hash digest
SHA256 35d86e71aafb2ae68b5aaaff9164a68506e15c144e1084a6b0657559597f8c5a
MD5 f005e63d1d844146704c15a7eb8e78b6
BLAKE2b-256 ea78c03cc760c2f5bfcb59f0f3c41749d97b9e8d74d984cfb4fa34aeb36b56f4

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