SAFR Windows SDK
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Events
RealNetworks.ArgusKit.DetectionService Struct Reference

Specifies the service that should be used to run face detection. The preferred service is 'Tensorflow' which runs locally. More...

Inheritance diagram for RealNetworks.ArgusKit.DetectionService:

Public Member Functions

override int GetHashCode ()
 Returns the receiver's hash code. More...
 
override bool Equals (object obj)
 Returns true if two detection services are the same. More...
 
bool Equals (DetectionService other)
 Returns true if two detection services are the same. More...
 
override string ToString ()
 Returns a debug description. More...
 

Static Public Member Functions

static bool operator== (DetectionService lhs, DetectionService rhs)
 Returns true if two detection services are the same. More...
 
static bool operator!= (DetectionService lhs, DetectionService rhs)
 Returns true if two detection services are different. More...
 

Static Public Attributes

static readonly DetectionService Tensorflow = new DetectionService("tensorflow")
 The local tensorflow-based face detection service. More...
 
static readonly DetectionService Cloud = new DetectionService("cloud")
 The cloud-based face detection service. More...
 

Properties

static List< DetectionServiceAvailableServices [get]
 Returns a list of all supported face detection services. More...
 
static DetectionService DefaultService [get]
 Returns the face detection service that should be used by default. More...
 
bool IsServiceAvailable [get]
 Returns true if the face detection service is available for use. More...
 

Detailed Description

Specifies the service that should be used to run face detection. The preferred service is 'Tensorflow' which runs locally.

Member Function Documentation

◆ Equals() [1/2]

bool RealNetworks.ArgusKit.DetectionService.Equals ( DetectionService  other)

Returns true if two detection services are the same.

Parameters
otherthe other service
Returns
true or false

◆ Equals() [2/2]

override bool RealNetworks.ArgusKit.DetectionService.Equals ( object  obj)

Returns true if two detection services are the same.

Parameters
objthe other service
Returns
true or false

◆ GetHashCode()

override int RealNetworks.ArgusKit.DetectionService.GetHashCode ( )

Returns the receiver's hash code.

Returns
the hash code

◆ operator!=()

static bool RealNetworks.ArgusKit.DetectionService.operator!= ( DetectionService  lhs,
DetectionService  rhs 
)
static

Returns true if two detection services are different.

Parameters
lhsone service
rhsthe other service
Returns
true or false

◆ operator==()

static bool RealNetworks.ArgusKit.DetectionService.operator== ( DetectionService  lhs,
DetectionService  rhs 
)
static

Returns true if two detection services are the same.

Parameters
lhsone service
rhsthe other service
Returns
true or false

◆ ToString()

override string RealNetworks.ArgusKit.DetectionService.ToString ( )

Returns a debug description.

Returns
the description

Member Data Documentation

◆ Cloud

readonly DetectionService RealNetworks.ArgusKit.DetectionService.Cloud = new DetectionService("cloud")
static

The cloud-based face detection service.

◆ Tensorflow

readonly DetectionService RealNetworks.ArgusKit.DetectionService.Tensorflow = new DetectionService("tensorflow")
static

The local tensorflow-based face detection service.

Property Documentation

◆ AvailableServices

List<DetectionService> RealNetworks.ArgusKit.DetectionService.AvailableServices
staticget

Returns a list of all supported face detection services.

◆ DefaultService

DetectionService RealNetworks.ArgusKit.DetectionService.DefaultService
staticget

Returns the face detection service that should be used by default.

◆ IsServiceAvailable

bool RealNetworks.ArgusKit.DetectionService.IsServiceAvailable
get

Returns true if the face detection service is available for use.