DeepfakeDetectorBase<T>
Base Classes · AiDotNet.Safety.Image
Abstract base class for image deepfake detection modules.
Inheritance: ModelBase<T, Vector<T>, Vector<T>> → SafetyModuleBase<T> → ImageSafetyModuleBase<T> → DeepfakeDetectorBase<T>
Implements: IDeepfakeDetector<T>
Known derived types: ConsistencyDeepfakeDetector<T>, FrequencyDeepfakeDetector<T>, ProvenanceDeepfakeDetector<T>
For Beginners
This base class provides common code for all deepfake detectors. Each detector type extends this and adds its own way of detecting AI-generated or manipulated images.
How It Works
Provides shared infrastructure for deepfake detectors including threshold configuration and common image analysis utilities. Concrete implementations provide the actual detection algorithm (frequency, consistency, provenance).
Methods
| Method | Summary |
|---|---|
double GetDeepfakeScore(Tensor<T> image) |