Class VFPFingerPrintDB
- Namespace
- VisioForge.Core.VideoFingerPrinting
- Assembly
- VisioForge.Core.dll
Represents a database of video fingerprints for managing and searching video content signatures.
public class VFPFingerPrintDBInheritance
Inherited Members
Remarks
The VisioForge.Core.VideoFingerPrinting.VFPFingerPrintDB class provides functionality to store, retrieve, and manage video fingerprints. It supports serialization to persist fingerprint databases to disk and provides methods to check for duplicate content based on fingerprint signatures.
Constructors
VFPFingerPrintDB()
Initializes a new instance of the VisioForge.Core.VideoFingerPrinting.VFPFingerPrintDB class.
public VFPFingerPrintDB()Properties
Items
Gets or sets the collection of video fingerprints stored in the database.
public List<VFPFingerPrint> Items { get; set; }Property Value
Methods
ContainsFile(VFPFingerprintSource)
Contains file.
public bool ContainsFile(VFPFingerprintSource source)Parameters
sourceVFPFingerprintSource-
Source.
Returns
~VFPFingerPrintDB()
Finalizes an instance of the VisioForge.Core.VideoFingerPrinting.VFPFingerPrintDB class.
protected ~VFPFingerPrintDB()GetFingerprint(VFPFingerprintSource)
Retrieves a fingerprint from the database that matches the specified source.
public VFPFingerPrint GetFingerprint(VFPFingerprintSource source)Parameters
sourceVFPFingerprintSource-
The fingerprint source containing the filename and ignored areas to match against.
Returns
- VFPFingerPrint
-
The matching VisioForge.Core.VideoFingerPrinting.VFPFingerPrint if found; otherwise,
null.
Remarks
This method searches for an exact match based on both the filename and the ignored areas configuration. If multiple fingerprints exist for the same file with different ignored areas, only the one with matching ignored areas will be returned.
Load(string)
Loads fingerprint from file.
public static VFPFingerPrintDB Load(string filename)Parameters
filenamestring-
File name. Default extension is .vsigx.
Returns
- VFPFingerPrintDB
-
The VisioForge.Core.VideoFingerPrinting.VFPFingerPrintDB.
Save(string)
Saves DB.
public void Save(string filename)Parameters
filenamestring-
The filename.