Synapseml  0.10.0
Public Member Functions | Static Public Member Functions | List of all members
Synapse.ML.Cognitive.FindSimilarFace Class Reference

FindSimilarFace implements FindSimilarFace More...

Inheritance diagram for Synapse.ML.Cognitive.FindSimilarFace:
Inheritance graph
[legend]
Collaboration diagram for Synapse.ML.Cognitive.FindSimilarFace:
Collaboration graph
[legend]

Public Member Functions

 FindSimilarFace ()
 Creates a FindSimilarFace without any parameters. More...
 
 FindSimilarFace (string uid)
 Creates a FindSimilarFace with a UID that is used to give the FindSimilarFace a unique ID. More...
 
FindSimilarFace SetConcurrency (int value)
 Sets value for concurrency More...
 
FindSimilarFace SetConcurrentTimeout (double value)
 Sets value for concurrentTimeout More...
 
FindSimilarFace SetErrorCol (string value)
 Sets value for errorCol More...
 
FindSimilarFace SetFaceId (string value)
 Sets value for faceId More...
 
FindSimilarFace SetFaceIdCol (string value)
 Sets value for faceId column More...
 
FindSimilarFace SetFaceIds (string[] value)
 Sets value for faceIds More...
 
FindSimilarFace SetFaceIdsCol (string value)
 Sets value for faceIds column More...
 
FindSimilarFace SetFaceListId (string value)
 Sets value for faceListId More...
 
FindSimilarFace SetFaceListIdCol (string value)
 Sets value for faceListId column More...
 
FindSimilarFace SetHandler (object value)
 Sets value for handler More...
 
FindSimilarFace SetLargeFaceListId (string value)
 Sets value for largeFaceListId More...
 
FindSimilarFace SetLargeFaceListIdCol (string value)
 Sets value for largeFaceListId column More...
 
FindSimilarFace SetMaxNumOfCandidatesReturned (int value)
 Sets value for maxNumOfCandidatesReturned More...
 
FindSimilarFace SetMaxNumOfCandidatesReturnedCol (string value)
 Sets value for maxNumOfCandidatesReturned column More...
 
FindSimilarFace SetMode (string value)
 Sets value for mode More...
 
FindSimilarFace SetModeCol (string value)
 Sets value for mode column More...
 
FindSimilarFace SetOutputCol (string value)
 Sets value for outputCol More...
 
FindSimilarFace SetSubscriptionKey (string value)
 Sets value for subscriptionKey More...
 
FindSimilarFace SetSubscriptionKeyCol (string value)
 Sets value for subscriptionKey column More...
 
FindSimilarFace SetTimeout (double value)
 Sets value for timeout More...
 
FindSimilarFace SetUrl (string value)
 Sets value for url More...
 
int GetConcurrency ()
 Gets concurrency value More...
 
double GetConcurrentTimeout ()
 Gets concurrentTimeout value More...
 
string GetErrorCol ()
 Gets errorCol value More...
 
string GetFaceId ()
 Gets faceId value More...
 
string [] GetFaceIds ()
 Gets faceIds value More...
 
string GetFaceListId ()
 Gets faceListId value More...
 
object GetHandler ()
 Gets handler value More...
 
string GetLargeFaceListId ()
 Gets largeFaceListId value More...
 
int GetMaxNumOfCandidatesReturned ()
 Gets maxNumOfCandidatesReturned value More...
 
string GetMode ()
 Gets mode value More...
 
string GetOutputCol ()
 Gets outputCol value More...
 
string GetSubscriptionKey ()
 Gets subscriptionKey value More...
 
double GetTimeout ()
 Gets timeout value More...
 
string GetUrl ()
 Gets url value More...
 
void Save (string path)
 Saves the object so that it can be loaded later using Load. Note that these objects can be shared with Scala by Loading or Saving in Scala. More...
 
JavaMLWriter Write ()
 
Returns
a JavaMLWriter instance for this ML instance.

 
JavaMLReader< FindSimilarFaceRead ()
 Get the corresponding JavaMLReader instance. More...
 
FindSimilarFace SetLocation (string value)
 Sets value for location More...
 
FindSimilarFace SetLinkedService (string value)
 Sets value for linkedService More...
 

Static Public Member Functions

static FindSimilarFace Load (string path)
 Loads the FindSimilarFace that was previously saved using Save(string). More...
 

Detailed Description

FindSimilarFace implements FindSimilarFace

Constructor & Destructor Documentation

◆ FindSimilarFace() [1/2]

Synapse.ML.Cognitive.FindSimilarFace.FindSimilarFace ( )
inline

Creates a FindSimilarFace without any parameters.

◆ FindSimilarFace() [2/2]

Synapse.ML.Cognitive.FindSimilarFace.FindSimilarFace ( string  uid)
inline

Creates a FindSimilarFace with a UID that is used to give the FindSimilarFace a unique ID.

Parameters
uidAn immutable unique ID for the object and its derivatives.

Member Function Documentation

◆ GetConcurrency()

int Synapse.ML.Cognitive.FindSimilarFace.GetConcurrency ( )

Gets concurrency value

Returns
concurrency: max number of concurrent calls

◆ GetConcurrentTimeout()

double Synapse.ML.Cognitive.FindSimilarFace.GetConcurrentTimeout ( )

Gets concurrentTimeout value

Returns
concurrentTimeout: max number seconds to wait on futures if concurrency >= 1

◆ GetErrorCol()

string Synapse.ML.Cognitive.FindSimilarFace.GetErrorCol ( )

Gets errorCol value

Returns
errorCol: column to hold http errors

◆ GetFaceId()

string Synapse.ML.Cognitive.FindSimilarFace.GetFaceId ( )

Gets faceId value

Returns
faceId: faceId of the query face. User needs to call FaceDetect first to get a valid faceId. Note that this faceId is not persisted and will expire 24 hours after the detection call.

◆ GetFaceIds()

string [] Synapse.ML.Cognitive.FindSimilarFace.GetFaceIds ( )

Gets faceIds value

Returns
faceIds: An array of candidate faceIds. All of them are created by FaceDetect and the faceIds will expire 24 hours after the detection call. The number of faceIds is limited to 1000. Parameter faceListId, largeFaceListId and faceIds should not be provided at the same time.

◆ GetFaceListId()

string Synapse.ML.Cognitive.FindSimilarFace.GetFaceListId ( )

Gets faceListId value

Returns
faceListId: An existing user-specified unique candidate face list, created in FaceList - Create. Face list contains a set of persistedFaceIds which are persisted and will never expire. Parameter faceListId, largeFaceListId and faceIds should not be provided at the same time.

◆ GetHandler()

object Synapse.ML.Cognitive.FindSimilarFace.GetHandler ( )

Gets handler value

Returns
handler: Which strategy to use when handling requests

◆ GetLargeFaceListId()

string Synapse.ML.Cognitive.FindSimilarFace.GetLargeFaceListId ( )

Gets largeFaceListId value

Returns
largeFaceListId: An existing user-specified unique candidate large face list, created in LargeFaceList - Create. Large face list contains a set of persistedFaceIds which are persisted and will never expire. Parameter faceListId, largeFaceListId and faceIds should not be provided at the same time.

◆ GetMaxNumOfCandidatesReturned()

int Synapse.ML.Cognitive.FindSimilarFace.GetMaxNumOfCandidatesReturned ( )

Gets maxNumOfCandidatesReturned value

Returns
maxNumOfCandidatesReturned: Optional parameter. The number of top similar faces returned. The valid range is [1, 1000].It defaults to 20.

◆ GetMode()

string Synapse.ML.Cognitive.FindSimilarFace.GetMode ( )

Gets mode value

Returns
mode: Optional parameter. Similar face searching mode. It can be 'matchPerson' or 'matchFace'. It defaults to 'matchPerson'.

◆ GetOutputCol()

string Synapse.ML.Cognitive.FindSimilarFace.GetOutputCol ( )

Gets outputCol value

Returns
outputCol: The name of the output column

◆ GetSubscriptionKey()

string Synapse.ML.Cognitive.FindSimilarFace.GetSubscriptionKey ( )

Gets subscriptionKey value

Returns
subscriptionKey: the API key to use

◆ GetTimeout()

double Synapse.ML.Cognitive.FindSimilarFace.GetTimeout ( )

Gets timeout value

Returns
timeout: number of seconds to wait before closing the connection

◆ GetUrl()

string Synapse.ML.Cognitive.FindSimilarFace.GetUrl ( )

Gets url value

Returns
url: Url of the service

◆ Load()

static FindSimilarFace Synapse.ML.Cognitive.FindSimilarFace.Load ( string  path)
static

Loads the FindSimilarFace that was previously saved using Save(string).

Parameters
pathThe path the previous FindSimilarFace was saved to
Returns
New FindSimilarFace object, loaded from path.

◆ Read()

JavaMLReader<FindSimilarFace> Synapse.ML.Cognitive.FindSimilarFace.Read ( )

Get the corresponding JavaMLReader instance.

Returns
an JavaMLReader<FindSimilarFace> instance for this ML instance.

◆ Save()

void Synapse.ML.Cognitive.FindSimilarFace.Save ( string  path)

Saves the object so that it can be loaded later using Load. Note that these objects can be shared with Scala by Loading or Saving in Scala.

Parameters
pathThe path to save the object to

◆ SetConcurrency()

FindSimilarFace Synapse.ML.Cognitive.FindSimilarFace.SetConcurrency ( int  value)

Sets value for concurrency

Parameters
valuemax number of concurrent calls
Returns
New FindSimilarFace object

◆ SetConcurrentTimeout()

FindSimilarFace Synapse.ML.Cognitive.FindSimilarFace.SetConcurrentTimeout ( double  value)

Sets value for concurrentTimeout

Parameters
valuemax number seconds to wait on futures if concurrency >= 1
Returns
New FindSimilarFace object

◆ SetErrorCol()

FindSimilarFace Synapse.ML.Cognitive.FindSimilarFace.SetErrorCol ( string  value)

Sets value for errorCol

Parameters
valuecolumn to hold http errors
Returns
New FindSimilarFace object

◆ SetFaceId()

FindSimilarFace Synapse.ML.Cognitive.FindSimilarFace.SetFaceId ( string  value)

Sets value for faceId

Parameters
valuefaceId of the query face. User needs to call FaceDetect first to get a valid faceId. Note that this faceId is not persisted and will expire 24 hours after the detection call.
Returns
New FindSimilarFace object

◆ SetFaceIdCol()

FindSimilarFace Synapse.ML.Cognitive.FindSimilarFace.SetFaceIdCol ( string  value)

Sets value for faceId column

Parameters
valuefaceId of the query face. User needs to call FaceDetect first to get a valid faceId. Note that this faceId is not persisted and will expire 24 hours after the detection call.
Returns
New FindSimilarFace object

◆ SetFaceIds()

FindSimilarFace Synapse.ML.Cognitive.FindSimilarFace.SetFaceIds ( string []  value)

Sets value for faceIds

Parameters
valueAn array of candidate faceIds. All of them are created by FaceDetect and the faceIds will expire 24 hours after the detection call. The number of faceIds is limited to 1000. Parameter faceListId, largeFaceListId and faceIds should not be provided at the same time.
Returns
New FindSimilarFace object

◆ SetFaceIdsCol()

FindSimilarFace Synapse.ML.Cognitive.FindSimilarFace.SetFaceIdsCol ( string  value)

Sets value for faceIds column

Parameters
valueAn array of candidate faceIds. All of them are created by FaceDetect and the faceIds will expire 24 hours after the detection call. The number of faceIds is limited to 1000. Parameter faceListId, largeFaceListId and faceIds should not be provided at the same time.
Returns
New FindSimilarFace object

◆ SetFaceListId()

FindSimilarFace Synapse.ML.Cognitive.FindSimilarFace.SetFaceListId ( string  value)

Sets value for faceListId

Parameters
valueAn existing user-specified unique candidate face list, created in FaceList - Create. Face list contains a set of persistedFaceIds which are persisted and will never expire. Parameter faceListId, largeFaceListId and faceIds should not be provided at the same time.
Returns
New FindSimilarFace object

◆ SetFaceListIdCol()

FindSimilarFace Synapse.ML.Cognitive.FindSimilarFace.SetFaceListIdCol ( string  value)

Sets value for faceListId column

Parameters
valueAn existing user-specified unique candidate face list, created in FaceList - Create. Face list contains a set of persistedFaceIds which are persisted and will never expire. Parameter faceListId, largeFaceListId and faceIds should not be provided at the same time.
Returns
New FindSimilarFace object

◆ SetHandler()

FindSimilarFace Synapse.ML.Cognitive.FindSimilarFace.SetHandler ( object  value)

Sets value for handler

Parameters
valueWhich strategy to use when handling requests
Returns
New FindSimilarFace object

◆ SetLargeFaceListId()

FindSimilarFace Synapse.ML.Cognitive.FindSimilarFace.SetLargeFaceListId ( string  value)

Sets value for largeFaceListId

Parameters
valueAn existing user-specified unique candidate large face list, created in LargeFaceList - Create. Large face list contains a set of persistedFaceIds which are persisted and will never expire. Parameter faceListId, largeFaceListId and faceIds should not be provided at the same time.
Returns
New FindSimilarFace object

◆ SetLargeFaceListIdCol()

FindSimilarFace Synapse.ML.Cognitive.FindSimilarFace.SetLargeFaceListIdCol ( string  value)

Sets value for largeFaceListId column

Parameters
valueAn existing user-specified unique candidate large face list, created in LargeFaceList - Create. Large face list contains a set of persistedFaceIds which are persisted and will never expire. Parameter faceListId, largeFaceListId and faceIds should not be provided at the same time.
Returns
New FindSimilarFace object

◆ SetLinkedService()

FindSimilarFace Synapse.ML.Cognitive.FindSimilarFace.SetLinkedService ( string  value)

Sets value for linkedService

Parameters
valuelinkedService name
Returns
New FindSimilarFace object

◆ SetLocation()

FindSimilarFace Synapse.ML.Cognitive.FindSimilarFace.SetLocation ( string  value)

Sets value for location

Parameters
valueLocation of the cognitive service
Returns
New FindSimilarFace object

◆ SetMaxNumOfCandidatesReturned()

FindSimilarFace Synapse.ML.Cognitive.FindSimilarFace.SetMaxNumOfCandidatesReturned ( int  value)

Sets value for maxNumOfCandidatesReturned

Parameters
valueOptional parameter. The number of top similar faces returned. The valid range is [1, 1000].It defaults to 20.
Returns
New FindSimilarFace object

◆ SetMaxNumOfCandidatesReturnedCol()

FindSimilarFace Synapse.ML.Cognitive.FindSimilarFace.SetMaxNumOfCandidatesReturnedCol ( string  value)

Sets value for maxNumOfCandidatesReturned column

Parameters
valueOptional parameter. The number of top similar faces returned. The valid range is [1, 1000].It defaults to 20.
Returns
New FindSimilarFace object

◆ SetMode()

FindSimilarFace Synapse.ML.Cognitive.FindSimilarFace.SetMode ( string  value)

Sets value for mode

Parameters
valueOptional parameter. Similar face searching mode. It can be 'matchPerson' or 'matchFace'. It defaults to 'matchPerson'.
Returns
New FindSimilarFace object

◆ SetModeCol()

FindSimilarFace Synapse.ML.Cognitive.FindSimilarFace.SetModeCol ( string  value)

Sets value for mode column

Parameters
valueOptional parameter. Similar face searching mode. It can be 'matchPerson' or 'matchFace'. It defaults to 'matchPerson'.
Returns
New FindSimilarFace object

◆ SetOutputCol()

FindSimilarFace Synapse.ML.Cognitive.FindSimilarFace.SetOutputCol ( string  value)

Sets value for outputCol

Parameters
valueThe name of the output column
Returns
New FindSimilarFace object

◆ SetSubscriptionKey()

FindSimilarFace Synapse.ML.Cognitive.FindSimilarFace.SetSubscriptionKey ( string  value)

Sets value for subscriptionKey

Parameters
valuethe API key to use
Returns
New FindSimilarFace object

◆ SetSubscriptionKeyCol()

FindSimilarFace Synapse.ML.Cognitive.FindSimilarFace.SetSubscriptionKeyCol ( string  value)

Sets value for subscriptionKey column

Parameters
valuethe API key to use
Returns
New FindSimilarFace object

◆ SetTimeout()

FindSimilarFace Synapse.ML.Cognitive.FindSimilarFace.SetTimeout ( double  value)

Sets value for timeout

Parameters
valuenumber of seconds to wait before closing the connection
Returns
New FindSimilarFace object

◆ SetUrl()

FindSimilarFace Synapse.ML.Cognitive.FindSimilarFace.SetUrl ( string  value)

Sets value for url

Parameters
valueUrl of the service
Returns
New FindSimilarFace object

The documentation for this class was generated from the following file: