Analyzes the style of an input image and suggests relevant style tags.
Introduction
Name: Style analysis
Action: RecognizeImageStyle
This feature analyzes the style of an input image and suggests relevant style tags.
The following figure illustrates the styles:
Visual style: Chinese style
Semantic style: Elegant...

Parameter definitions
Input fields:
Field | Type | Required | Description |
url | string | Yes | The URL of the image. |
Output fields:
Field | Type | Required | Description |
styles | List<string> | Yes | A list of styles, such as watercolor. |
Definitions for the styles field:
Chinese style,chinese
Watercolor,watercolor
Cartoon,cartoon
Realistic,real
Standard,standard
Simple,simple
Lively,lively
Colorful,colourful
Luxurious,luxury
Tech,technology
Soft,morbidezza
Strong,strong
Simple and elegant,simpleelegant
Cool,coolcold
Promotional,promotion
Prominent,protrudeExample
Input
{
"url": "http://ivpd-demo.oss-cn-shanghai.aliyuncs.com/ivpd-demo/images/RecognizeImageStyle/technology.png"
}Output
{
code: "0",
message: "success",
trackId: "0b0b62c715591127811257189e",
reqeustId: "0b0b62c715591127811257189e",
data: {
styles: [
"morbidezza",
"promotion"
]
}
}该文章对您有帮助吗?