Deep Face Recognition

No algorithm description given

1. Introduction This is an image classifier specifically trained for classifying celebrities. Input: (Required) Image Data API Url, Web (http/https) Url, binary image or a base64 encoded image. (Optional)? Number of results. (Default=5) Output: Top N recognized faces. Note: The first call to this algorithm will take a bit longer than sequential calls to due algorithm initialization. All following calls will be significantly faster. 2. Examples Example 1. Parameter 1: Data API Url {
 "image": "data://deeplearning/example_data/enrico_colantoni.jpg"
} Output {
 "results":[
 [0.2015853822231293,"Enrico_Colantoni"],
 [0.04416982084512711,"Lavell_Crawford"],
 [0.039761215448379524,"Rob_Reiner"],
 [0.037657905369997025,"Rob_Corddry"],
 [0.03158173337578773,"Evan_Handler"]
 ]
} Example 2. Parameter 1: HTTP Url {
 "image": "https://s3.amazonaws.com/algorithmia-assets/algo_desc_images/deeplearning_DeepFaceRecognition/emerson.png"
} Output: {
 "results":[
 [0.9995269775390625,"Michael_Emerson"],
 [0.00009688903810456395,"Carrie_Preston"],
 [0.0000443705648649484,"Sterling_Beaumon"],
 [0.00002123577360180207,"Beth_Grant"],
 [0.00002013444282056298,"Jean_Reno"]
 ]
} Example 3. Parameter 1: Base64 image {
 "image": "data:image/png;base64....",
} Output; {
 "results":[
 [0.20270781219005587,"Sunny_Leone"],
 [0.10446135699748994,"Victoria_Justice"],
 [0.09768102318048477,"Madalina_Diana_Ghenea"],
 [0.07961906492710115,"Azita_Ghanizada"],
 [0.04733692482113838,"Sarah_Shahi"]
 ]
} Example 4. Parameter 1: Data API Url Parameter 2: Number of results. {
 "image": "data://deeplearning/example_data/enrico_colantoni.jpg",
 "numResults": 15
} Output: {
 "results":[
 [0.2015853822231293,"Enrico_Colantoni"],
 [0.04416982084512711,"Lavell_Crawford"],
 [0.039761215448379524,"Rob_Reiner"],
 [0.037657905369997025,"Rob_Corddry"],
 [0.03158173337578773,"Evan_Handler"],
 [0.027566682547330856,"Telly_Savalas"],
 [0.021069753915071487,"Kurt_Fuller"],
 [0.020705817267298705,"Don_Rickles"],
 [0.017841791734099385,"Stephen_Lee"],
 [0.017642010003328323,"Chris_Bauer"],
 [0.017291571944952015,"Gabe_Kaplan"],
 [0.016788098961114887,"Paul_Scheer"],
 [0.015448397025465964,"Richard_Karn"],
 [0.014864292927086355,"Gary_Valentine"],
 [0.013393213041126732,"Tim_Russ"]
 ]
} 3. Credits For more information please refer to: http://www.robots.ox.ac.uk/~vgg/publications/2015/Parkhi15/ or  Parkhi, O. M. and Vedaldi, A. and Zisserman, A. Deep Face Recognition. British Machine Vision Conference. (2015) Demo image was retrieved from Wikipedia: https://commons.wikimedia.org/wiki/File:Emersongfdl.PNG

Tags
(no tags)

Cost Breakdown

0 cr
royalty per call
1 cr
usage per second
avg duration

Cost Calculator

API call duration (sec)
×
API calls
=
Estimated cost
per calls
for large volume discounts
For additional details on how pricing works, see Algorithmia pricing.

Internet access

This algorithm has Internet access. This is necessary for algorithms that rely on external services, however it also implies that this algorithm is able to send your input data outside of the Algorithmia platform.


To understand more about how algorithm permissions work, see the permissions documentation.

1. Type your input

2. See the result

Running algorithm...

3. Use this algorithm

curl -X POST -d '{{input | formatInput:"curl"}}' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/deeplearning/DeepFaceRecognition/0.1.1
View cURL Docs
algo auth
# Enter API Key: YOUR_API_KEY
algo run algo://deeplearning/DeepFaceRecognition/0.1.1 -d '{{input | formatInput:"cli"}}'
View CLI Docs
import com.algorithmia.*;
import com.algorithmia.algo.*;

String input = "{{input | formatInput:"java"}}";
AlgorithmiaClient client = Algorithmia.client("YOUR_API_KEY");
Algorithm algo = client.algo("algo://deeplearning/DeepFaceRecognition/0.1.1");
AlgoResponse result = algo.pipeJson(input);
System.out.println(result.asJsonString());
View Java Docs
import com.algorithmia._
import com.algorithmia.algo._

val input = {{input | formatInput:"scala"}}
val client = Algorithmia.client("YOUR_API_KEY")
val algo = client.algo("algo://deeplearning/DeepFaceRecognition/0.1.1")
val result = algo.pipeJson(input)
System.out.println(result.asJsonString)
View Scala Docs
var input = {{input | formatInput:"javascript"}};
Algorithmia.client("YOUR_API_KEY")
           .algo("algo://deeplearning/DeepFaceRecognition/0.1.1")
           .pipe(input)
           .then(function(output) {
             console.log(output);
           });
View Javascript Docs
var input = {{input | formatInput:"javascript"}};
Algorithmia.client("YOUR_API_KEY")
           .algo("algo://deeplearning/DeepFaceRecognition/0.1.1")
           .pipe(input)
           .then(function(response) {
             console.log(response.get());
           });
View NodeJS Docs
import Algorithmia

input = {{input | formatInput:"python"}}
client = Algorithmia.client('YOUR_API_KEY')
algo = client.algo('deeplearning/DeepFaceRecognition/0.1.1')
print algo.pipe(input)
View Python Docs
library(algorithmia)

input <- {{input | formatInput:"r"}}
client <- getAlgorithmiaClient("YOUR_API_KEY")
algo <- client$algo("deeplearning/DeepFaceRecognition/0.1.1")
result <- algo$pipe(input)$result
print(result)
View R Docs
require 'algorithmia'

input = {{input | formatInput:"ruby"}}
client = Algorithmia.client('YOUR_API_KEY')
algo = client.algo('deeplearning/DeepFaceRecognition/0.1.1')
puts algo.pipe(input).result
View Ruby Docs
use algorithmia::*;

let input = {{input | formatInput:"rust"}};
let client = Algorithmia::client("YOUR_API_KEY");
let algo = client.algo("deeplearning/DeepFaceRecognition/0.1.1");
let response = algo.pipe(input);
View Rust Docs
import Algorithmia

let input = "{{input | formatInput:"swift"}}";
let client = Algorithmia.client(simpleKey: "YOUR_API_KEY")
let algo = client.algo(algoUri: "deeplearning/DeepFaceRecognition/0.1.1") { resp, error in
  print(resp)
}
View Swift Docs
Discussion
  • {{comment.username}}