Table of Contents

Class VideoFingerprintDB

Namespace
VisioForge.VideoFingerPrinting.MongoDB
Assembly
VisioForge.VideoFingerPrinting.MongoDB.dll

Video Fingerprint DB.

public class VideoFingerprintDB

Inheritance

Inherited Members

Constructors

VideoFingerprintDB(string)

Initializes a new instance of the VisioForge.VideoFingerPrinting.MongoDB.VideoFingerprintDB class.

public VideoFingerprintDB(string dbname)

Parameters

dbname string

VideoFingerprintDB(string, string)

Initializes a new instance of the VisioForge.VideoFingerPrinting.MongoDB.VideoFingerprintDB class.

public VideoFingerprintDB(string dbname, string connectionString)

Parameters

dbname string
connectionString string

VideoFingerprintDB(string, MongoClientSettings)

Initializes a new instance of the VisioForge.VideoFingerPrinting.MongoDB.VideoFingerprintDB class.

public VideoFingerprintDB(string dbname, MongoClientSettings settings)

Parameters

dbname string
settings MongoClientSettings

Properties

Items

Gets the fingerprints.

public List<VFPFingerPrint> Items { get; }

Property Value

List<VFPFingerPrint>

Methods

LoadFromDB()

Loads fingerprints from DB.

public bool LoadFromDB()

Returns

bool

The Boolean.

LoadFromFolder(string)

Loads DB from folder.

public bool LoadFromFolder(string folder)

Parameters

folder string

The folder.

Returns

bool

The Boolean.

MaxAdDuration()

Gets max ad duration.

public long MaxAdDuration()

Returns

long

The Int64.

RemoveAll()

Remove all items from DB.

public void RemoveAll()

RemoveByID(string, bool)

Removes item by id.

public void RemoveByID(string id, bool fromDB = true)

Parameters

id string

The id.

fromDB bool

The from db.

RemoveByName(string, bool)

Removes item by id.

public void RemoveByName(string name, bool fromDB = true)

Parameters

name string

The id.

fromDB bool

The from db.

SearchFingerprintsInFolder(string)

Searches fingerprints in folder.

public static IEnumerable<string> SearchFingerprintsInFolder(string folder)

Parameters

folder string

The folder.

Returns

IEnumerable<string>

The IEnumerable<T>.

Upload(VFPFingerPrint)

Uploads fingerprint.

public void Upload(VFPFingerPrint fingerprint)

Parameters

fingerprint VFPFingerPrint

The fingerprint.