Class MirrorComparisonExample
- Namespace
- VisioForge.Core.VideoFingerPrinting
- Assembly
- VisioForge.Core.dll
Provides example usage of the mirror-aware video fingerprinting comparison APIs.
public static class MirrorComparisonExampleInheritance
Inherited Members
Methods
BatchCompareWithMirrorDetection(VFPFingerPrint, VFPFingerPrint[])
Example: Batch comparison of multiple videos against a reference.
public static void BatchCompareWithMirrorDetection(VFPFingerPrint reference, VFPFingerPrint[] candidates)Parameters
referenceVFPFingerPrint-
The reference video fingerprint.
candidatesVFPFingerPrint[]-
Array of candidate video fingerprints to compare.
CompareVideosWithMirrorDetection(VFPFingerPrint, VFPFingerPrint)
Example: Compares two video fingerprints with mirror detection.
public static void CompareVideosWithMirrorDetection(VFPFingerPrint fp1, VFPFingerPrint fp2)Parameters
fp1VFPFingerPrint-
First video fingerprint.
fp2VFPFingerPrint-
Second video fingerprint.
IsMirroredCopy(VFPFingerPrint, VFPFingerPrint)
Example: Detects if a video is a mirrored copy of another.
public static bool IsMirroredCopy(VFPFingerPrint original, VFPFingerPrint suspect)Parameters
originalVFPFingerPrint-
Original video fingerprint.
suspectVFPFingerPrint-
Suspect video fingerprint.
Returns
- bool
-
True if the suspect is a mirrored copy of the original.
SearchVideoWithDurationHints(VFPFingerPrint, VFPFingerPrint, double, double)
Example: Searches with duration hints for better accuracy.
public static void SearchVideoWithDurationHints(VFPFingerPrint needle, VFPFingerPrint haystack, double needleDuration, double haystackDuration)Parameters
needleVFPFingerPrint-
The video fragment to search for.
haystackVFPFingerPrint-
The video to search within.
needleDurationdouble-
Duration of the needle video in seconds.
haystackDurationdouble-
Duration of the haystack video in seconds.
SearchVideoWithMirrorDetection(VFPFingerPrint, VFPFingerPrint)
Example: Searches for a video fragment with mirror detection.
public static void SearchVideoWithMirrorDetection(VFPFingerPrint needle, VFPFingerPrint haystack)Parameters
needleVFPFingerPrint-
The video fragment to search for.
haystackVFPFingerPrint-
The video to search within.