Advanced Anomaly Detection Environment - Deep learning library for state-of-the-art anomaly detection algorithms
Project description
๐ AnomaVision: Edge-Ready Visual Anomaly Detection
๐ฅ Lightweight, fast, and production-ready anomaly detection โ powered by PaDiM. Deploy anywhere: edge devices, servers, or the cloud.
โจ Features
- ๐ฏ State-of-the-art PaDiM algorithm
- โก 3ร faster inference than Anomalib (CPU benchmarks)
- ๐ฆ Multi-backend exports: PyTorch, ONNX, TorchScript, OpenVINO, TorchRT
- ๐จ Visualizations: anomaly heatmaps, bounding boxes, ROC curves
- ๐ฅ๏ธ Unified Python + CLI workflows
- ๐ Edge-first design with compact
.pthmodels
๐ Why AnomaVision over Anomalib?
- โก 3ร faster inference on CPU (MVTec & Visa benchmarks)
- ๐ฆ Smaller models (30 MB vs 40 MB) with lower memory usage
- ๐ฏ Higher AUROC across most classes on both MVTec AD and Visa datasets
- ๐ Edge-first design โ optimized for ONNX, TorchScript, and OpenVINO
- ๐ก๏ธ Production-ready with clean API, CLI, and deployment options
๐ See detailed results in Benchmarks.
๐ Download: AnomaVision vs Anomalib โ A Comprehensive Performance Analysis (PDF)
๐ฅ๏ธ C++ Inference with ONNX
AnomaVision isnโt just Python ๐ โ it also provides a C++ implementation for ONNX Runtime + OpenCV.
- โก Real-time edge inference (~25 FPS on CPU)
- ๐ผ๏ธ Full pipeline: preprocessing โ inference โ postprocessing โ visualization
- ๐ฆ Modular design (Config, Preprocessor, ONNXModel, Postprocessor, Visualizer, App)
- ๐ Perfect for edge devices and production environments without Python
๐ See full guide: Quickstart โ C++ Inference
๐ Documentation
๐ Full docs are available in the /docs folder.
โก Quick Example
Train with a config file:
python train.py --config config.yml
## Save:
# Full model โ padim_model.pt
# Compact stats-only model โ padim_model.pth
# Config snapshot โ config.yml
Run detection:
python detect.py --config config.yml
Evaluate performance:
python eval.py --config config.yml
Export to ONNX:
python export.py --config export_config.yml
โก For more examples, see Quick Start.
๐ Benchmarks (Summary)
MVTec AD (15 classes)
- Image AUROC: AV 0.85 โ vs AL 0.81
- Pixel AUROC: AV 0.96 โ vs AL 0.94
- FPS: AV 43 โ vs AL 13
Visa (12 classes)
- Image AUROC: AV 0.81 โ vs AL 0.78
- Pixel AUROC: AV 0.96 โ vs AL 0.95
- FPS: AV 45 โ vs AL 13
๐ Full tables & plots โ Benchmarks
๐ค Contributing
We welcome contributions!
- See Contributing Guide for high-level steps
๐ Acknowledgments
AnomaVision is built on top of the excellent Anodet repository. We thank the original authors for their contributions to open-source anomaly detection research, which laid the foundation for this work.
๐ Citation
If you use AnomaVision in your research, please cite:
@software{anomavision2025,
title={AnomaVision: Edge-Ready Visual Anomaly Detection},
author={DeepKnowledge Contributors},
year={2025},
url={https://github.com/DeepKnowledge1/AnomaVision},
}
๐ฌ Community & Support
- ๐ข Discussions
- ๐ Issues
- ๐ง deepp.knowledge@gmail.com
๐ Start with Quick Start and build your first anomaly detection pipeline in 5 minutes!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file anomavision-3.0.27.tar.gz.
File metadata
- Download URL: anomavision-3.0.27.tar.gz
- Upload date:
- Size: 44.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.9.0 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
71692ce4ccdd849e86b2c0d4263c097eb6ef2d2a4946afe65091f726acf6d781
|
|
| MD5 |
e7c14ead1abd6a0032e88dc5428cd4b2
|
|
| BLAKE2b-256 |
33fb8a8619595f7caf446dc1e56605a1cd43a5fda27d687f32dbfb6d830760d3
|
File details
Details for the file anomavision-3.0.27-py3-none-any.whl.
File metadata
- Download URL: anomavision-3.0.27-py3-none-any.whl
- Upload date:
- Size: 61.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.9.0 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c6177c2e6f6df37ce5c9a5d8705582cef5407a08ad1921aa966c976770e9df03
|
|
| MD5 |
a077ea0616b4264b9c34c099a8694eda
|
|
| BLAKE2b-256 |
b4bc626f47a87e4c0292f861e4085e09f119b8c807aa6477ea526ceb6183328f
|