public class AlchemyVision extends AlchemyService
| Modifier and Type | Field and Description |
|---|---|
static String |
FORCE_SHOW_ALL
The Constant FORCE_SHOW_ALL.
|
static String |
HTML
The Constant HTML.
|
static String |
IMAGE
The Constant IMAGE.
|
static String |
IMAGE_POST_MODE
The Constant IMAGE_POST_MODE.
|
static String |
KNOWLEDGE_GRAPH
The Constant KNOWLEDGE_GRAPH.
|
static String |
NOT_RAW
The Constant NOT_RAW.
|
static String |
RAW
The Constant RAW.
|
static String |
URL
The Constant URL.
|
ENDPOINT, JSONP, OUTPUT_MODEFORWARD_SLASH| Constructor and Description |
|---|
AlchemyVision() |
| Modifier and Type | Method and Description |
|---|---|
ImageKeywords |
getImageKeywords(Map<String,Object> params)
Extract keywords from an image or url.
|
ImageLink |
getImageLink(Map<String,Object> params)
Extract main image link from html or a URL.
|
ImageFaces |
recognizeFaces(Map<String,Object> params)
Recognize faces from an image or url.
|
execute, getInputFormat, setAuthenticationexecuteRequest, executeWithoutResponse, getApiKey, getDefaultContentType, getDefaultRequestParams, getEndPoint, getHttpClient, getThreadSafeClient, setApiKey, setEndPoint, setUsernameAndPassword, toStringpublic static final String FORCE_SHOW_ALL
public static final String KNOWLEDGE_GRAPH
public static final String IMAGE_POST_MODE
public static final String RAW
public static final String NOT_RAW
public static final String IMAGE
public static final String URL
public static final String HTML
public ImageLink getImageLink(Map<String,Object> params)
params - The parameters to be used in the service call, html or url should
be specified.ImageLinkpublic ImageKeywords getImageKeywords(Map<String,Object> params)
params - The parameters to be used in the service call, image or url should
be specified.ImageKeywordspublic ImageFaces recognizeFaces(Map<String,Object> params)
params - The parameters to be used in the service call, image or url should
be specified.ImageFacesCopyright © 2015. All rights reserved.