DeepFashion

No algorithm description given

Table of Contents Introduction I/O Class List Examples credits Algorithm Console Introduction This algorithm detects clothing items in images; it returns a list of discovered clothing articles as well as annotating the input image with bounding boxes for each found article. I/O Json input variant Input { 
 "image":String,
 "output":String,
 "threshold": Float,
 "tags_only":String
}
 image - (required) - an input image as either a url, data connector uri (data://, s3://, etc) or a base 64 encoded string. output - (optional) - the output data connector path to where you want to save the thumbnail to. defaults to data://.algo/temp/UUID.png threshold - (optional) - the minimum confidence for a label to be drawn / returned in the tag list. defaults to 0.65 tags_only - (optional) - set this to true if you don't want the annotated image output. defaults to 'false' Simple input variant Input input: String/Byte[]
 input - (required) - an input image as either a url, data connector uri (data://, s3://, etc), base 64 encoded string, or a binary array. Output { 
 "output":String,
 "articles":[ 
 { 
 "bounding_box":{ 
 "x0":Float,
 "x1":Float,
 "y0":Float,
 "y1":Float
 },
 "article_name":String,
 "confidence":Double
 },
 ...
 
 ]
}
 output - If tags_only is false , then this key contains the url to the annotated image. articles - the list of discovered articles. bounding box - the rectangular coordinates of the most relevent bounding box, defined as (x0,y0), (x1,y1). article_name - the name of the discovered article. confidence - the algorithm's confidence that this article exists in the image. Class List Here is a list of the article classes: top handle bag t shirt jewelry boots sunglasses jeans sweater tank top skirt sandals leggings button down shirt pants casual heels pumps or wedges lingerie blouse lightweight jacket casual dress winter jacket formal dress watches swimsuits hat vest sneakers wallets shoulder bag flats overall sweatpants shorts rompers pants suit formal glasses clutches socks scarves or wraps backpack or messenger bag jumpsuit running shoes blazer tunic hosiery denim jacket hoodie belts leather jacket trenchcoat headwrap sweater dress sweatshirt rain jacket polo shirt robe hiking shoes luggage gloves underwear Example Input { 
 "image":"http://i.imgur.com/GtvDM8X.jpg",
 "threashold":0.6,
 "output":"data://.algo/perm/suit.png"
}
 Output { 
 "articles":[ 
 { 
 "article_name":"jewelry",
 "bounding_box":{ 
 "x0":638.7329711914061,
 "x1":742.5671997070311,
 "y0":305.9412536621093,
 "y1":429.4571228027344
 },
 "confidence":0.7537518739700318
 },
 { 
 "article_name":"hat",
 "bounding_box":{ 
 "x0":515.8834228515625,
 "x1":705.36572265625,
 "y0":34.94521331787111,
 "y1":110.36071014404297
 },
 "confidence":0.9978197813034058
 },
 { 
 "article_name":"blazer",
 "bounding_box":{ 
 "x0":922.6015625,
 "x1":1115.4809570312502,
 "y0":480.90960693359375,
 "y1":719
 },
 "confidence":0.9696909189224243
 }
 ],
 "output":"data://.algo/perm/suit.png"
}
 Credits This algorithm is a machine learning model based on the faster-rcnn project,which was inspired by the Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks paper. All sample images courtesy of the wikimedia foundation

Tags
(no tags)

Cost Breakdown

10 cr
royalty per call
1 cr
usage per second
avg duration
This algorithm has permission to call other algorithms which may incur separate royalty and usage costs.

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.


Calls other algorithms

This algorithm has permission to call other algorithms. This allows an algorithm to compose sophisticated functionality using other algorithms as building blocks, however it also carries the potential of incurring additional royalty and usage costs from any algorithm that it calls.


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/algorithmiahq/DeepFashion/0.1.1
View cURL Docs
algo auth
# Enter API Key: YOUR_API_KEY
algo run algo://algorithmiahq/DeepFashion/0.1.1 -d '{{input | formatInput:"cli"}}'
View CLI Docs
import (
  algorithmia "github.com/algorithmiaio/algorithmia-go"
)

input := {{input | formatInput:"go"}}

var client = algorithmia.NewClient("YOUR_API_KEY", "")
algo, _ := client.Algo("algo://algorithmiahq/DeepFashion/0.1.1")
resp, _ := algo.Pipe(input)
response := resp.(*algorithmia.AlgoResponse)
fmt.Println(response.Result)
View Go 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://algorithmiahq/DeepFashion/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://algorithmiahq/DeepFashion/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://algorithmiahq/DeepFashion/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://algorithmiahq/DeepFashion/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('algorithmiahq/DeepFashion/0.1.1')
print algo.pipe(input)
View Python Docs
library(algorithmia)

input <- {{input | formatInput:"r"}}
client <- getAlgorithmiaClient("YOUR_API_KEY")
algo <- client$algo("algorithmiahq/DeepFashion/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('algorithmiahq/DeepFashion/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("algorithmiahq/DeepFashion/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: "algorithmiahq/DeepFashion/0.1.1") { resp, error in
  print(resp)
}
View Swift Docs
Discussion
  • {{comment.username}}