fastFlowAnomalyDetector
Description
The fastFlowAnomalyDetector
object detects images of anomalies
using a FastFlow anomaly detector network. Train the detector using the trainFastFlowAnomalyDetector
function. To detect anomalous images, pass the
trained detector to the classify
function.
Note
This functionality requires Deep Learning Toolbox™. This functionality also requires the Deep Learning Toolbox Model for ResNet-18 Network and the Computer Vision Toolbox™ Automated Visual Inspection Library, which you can install from Add-On Explorer. For more information about installing add-ons, see Get and Manage Add-Ons.
Creation
Description
detector = fastFlowAnomalyDetector
creates a FastFlow anomaly
detector from a ResNet-18 backbone network.
Properties
Object Functions
predict | Predict unnormalized anomaly scores |
classify | Classify image as normal or anomalous |
anomalyMap | Predict per-pixel anomaly score map |
Examples
References
[1] Yu, Jiawei, Ye Zheng, Xiang Wang, Wei Li, Yushuang Wu, Rui Zhao, and Liwei Wu. "FastFlow: Unsupervised Anomaly Detection and Localization via 2D Normalizing Flows." arXiv, November 16, 2021. https://doi.org/10.48550/arXiv.2111.07677.
Extended Capabilities
Version History
Introduced in R2023a