Forráskód Böngészése

Supported Video Abstract for IMM.

sdk-team 6 éve
szülő
commit
38fcbe6fe2

+ 3 - 0
ChangeLog.txt

@@ -1,3 +1,6 @@
+2019-09-19 Version: 1.60.170
+- Supported Video Abstract for IMM.
+
 2019-09-19 Version: 1.60.169
 - Supported Video Abstract for IMM.
 

+ 27 - 26
services/imm/find_images.go

@@ -76,32 +76,33 @@ func (client *Client) FindImagesWithCallback(request *FindImagesRequest, callbac
 // FindImagesRequest is the request struct for api FindImages
 type FindImagesRequest struct {
 	*requests.RpcRequest
-	Gender               string           `position:"Query" name:"Gender"`
-	Project              string           `position:"Query" name:"Project"`
-	ExternalId           string           `position:"Query" name:"ExternalId"`
-	FacesModifyTimeRange string           `position:"Query" name:"FacesModifyTimeRange"`
-	ImageSizeRange       string           `position:"Query" name:"ImageSizeRange"`
-	RemarksBPrefix       string           `position:"Query" name:"RemarksBPrefix"`
-	LocationBoundary     string           `position:"Query" name:"LocationBoundary"`
-	ImageTimeRange       string           `position:"Query" name:"ImageTimeRange"`
-	OCRContentsMatch     string           `position:"Query" name:"OCRContentsMatch"`
-	Limit                requests.Integer `position:"Query" name:"Limit"`
-	RemarksDPrefix       string           `position:"Query" name:"RemarksDPrefix"`
-	TagsModifyTimeRange  string           `position:"Query" name:"TagsModifyTimeRange"`
-	SourceType           string           `position:"Query" name:"SourceType"`
-	AgeRange             string           `position:"Query" name:"AgeRange"`
-	Order                string           `position:"Query" name:"Order"`
-	RemarksAPrefix       string           `position:"Query" name:"RemarksAPrefix"`
-	GroupId              string           `position:"Query" name:"GroupId"`
-	OrderBy              string           `position:"Query" name:"OrderBy"`
-	TagNames             string           `position:"Query" name:"TagNames"`
-	SourceUriPrefix      string           `position:"Query" name:"SourceUriPrefix"`
-	Emotion              string           `position:"Query" name:"Emotion"`
-	Marker               string           `position:"Query" name:"Marker"`
-	RemarksCPrefix       string           `position:"Query" name:"RemarksCPrefix"`
-	CreateTimeRange      string           `position:"Query" name:"CreateTimeRange"`
-	SetId                string           `position:"Query" name:"SetId"`
-	ModifyTimeRange      string           `position:"Query" name:"ModifyTimeRange"`
+	Project                  string           `position:"Query" name:"Project"`
+	ExternalId               string           `position:"Query" name:"ExternalId"`
+	FacesModifyTimeRange     string           `position:"Query" name:"FacesModifyTimeRange"`
+	OCRContentsMatch         string           `position:"Query" name:"OCRContentsMatch"`
+	Limit                    requests.Integer `position:"Query" name:"Limit"`
+	RemarksDPrefix           string           `position:"Query" name:"RemarksDPrefix"`
+	SourceType               string           `position:"Query" name:"SourceType"`
+	Order                    string           `position:"Query" name:"Order"`
+	GroupId                  string           `position:"Query" name:"GroupId"`
+	OrderBy                  string           `position:"Query" name:"OrderBy"`
+	TagNames                 string           `position:"Query" name:"TagNames"`
+	Marker                   string           `position:"Query" name:"Marker"`
+	RemarksCPrefix           string           `position:"Query" name:"RemarksCPrefix"`
+	ModifyTimeRange          string           `position:"Query" name:"ModifyTimeRange"`
+	AddressLineContentsMatch string           `position:"Query" name:"AddressLineContentsMatch"`
+	Gender                   string           `position:"Query" name:"Gender"`
+	ImageSizeRange           string           `position:"Query" name:"ImageSizeRange"`
+	RemarksBPrefix           string           `position:"Query" name:"RemarksBPrefix"`
+	LocationBoundary         string           `position:"Query" name:"LocationBoundary"`
+	ImageTimeRange           string           `position:"Query" name:"ImageTimeRange"`
+	TagsModifyTimeRange      string           `position:"Query" name:"TagsModifyTimeRange"`
+	AgeRange                 string           `position:"Query" name:"AgeRange"`
+	RemarksAPrefix           string           `position:"Query" name:"RemarksAPrefix"`
+	SourceUriPrefix          string           `position:"Query" name:"SourceUriPrefix"`
+	Emotion                  string           `position:"Query" name:"Emotion"`
+	CreateTimeRange          string           `position:"Query" name:"CreateTimeRange"`
+	SetId                    string           `position:"Query" name:"SetId"`
 }
 
 // FindImagesResponse is the response struct for api FindImages

+ 4 - 0
services/imm/get_image.go

@@ -117,6 +117,10 @@ type GetImageResponse struct {
 	RemarksC            string                `json:"RemarksC" xml:"RemarksC"`
 	RemarksD            string                `json:"RemarksD" xml:"RemarksD"`
 	ExternalId          string                `json:"ExternalId" xml:"ExternalId"`
+	AddressModifyTime   string                `json:"AddressModifyTime" xml:"AddressModifyTime"`
+	AddressStatus       string                `json:"AddressStatus" xml:"AddressStatus"`
+	AddressFailReason   string                `json:"AddressFailReason" xml:"AddressFailReason"`
+	Address             Address               `json:"Address" xml:"Address"`
 	Faces               []FacesItemInGetImage `json:"Faces" xml:"Faces"`
 	OCR                 []OCRItem             `json:"OCR" xml:"OCR"`
 	Tags                []TagsItem            `json:"Tags" xml:"Tags"`

+ 26 - 0
services/imm/struct_address.go

@@ -0,0 +1,26 @@
+package imm
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// Address is a nested struct in imm response
+type Address struct {
+	Country     string `json:"Country" xml:"Country"`
+	Township    string `json:"Township" xml:"Township"`
+	AddressLine string `json:"AddressLine" xml:"AddressLine"`
+	City        string `json:"City" xml:"City"`
+	Province    string `json:"Province" xml:"Province"`
+	District    string `json:"District" xml:"District"`
+}

+ 4 - 0
services/imm/struct_frames.go

@@ -18,12 +18,15 @@ package imm
 // Frames is a nested struct in imm response
 type Frames struct {
 	FacesStatus         string          `json:"FacesStatus" xml:"FacesStatus"`
+	AddressModifyTime   string          `json:"AddressModifyTime" xml:"AddressModifyTime"`
 	ModifyTime          string          `json:"ModifyTime" xml:"ModifyTime"`
+	AddressFailReason   string          `json:"AddressFailReason" xml:"AddressFailReason"`
 	CreateTime          string          `json:"CreateTime" xml:"CreateTime"`
 	CelebrityFailReason string          `json:"CelebrityFailReason" xml:"CelebrityFailReason"`
 	OCRModifyTime       string          `json:"OCRModifyTime" xml:"OCRModifyTime"`
 	ImageFormat         string          `json:"ImageFormat" xml:"ImageFormat"`
 	FacesFailReason     string          `json:"FacesFailReason" xml:"FacesFailReason"`
+	AddressStatus       string          `json:"AddressStatus" xml:"AddressStatus"`
 	Exif                string          `json:"Exif" xml:"Exif"`
 	ImageHeight         int             `json:"ImageHeight" xml:"ImageHeight"`
 	SourceType          string          `json:"SourceType" xml:"SourceType"`
@@ -48,6 +51,7 @@ type Frames struct {
 	RemarksC            string          `json:"RemarksC" xml:"RemarksC"`
 	SourceUri           string          `json:"SourceUri" xml:"SourceUri"`
 	ImageWidth          int             `json:"ImageWidth" xml:"ImageWidth"`
+	Address             Address         `json:"Address" xml:"Address"`
 	OCR                 []OCRItem       `json:"OCR" xml:"OCR"`
 	Faces               []FacesItem     `json:"Faces" xml:"Faces"`
 	Celebrity           []CelebrityItem `json:"Celebrity" xml:"Celebrity"`

+ 22 - 18
services/imm/struct_images_item.go

@@ -19,48 +19,52 @@ package imm
 type ImagesItem struct {
 	FacesStatus         string          `json:"FacesStatus" xml:"FacesStatus"`
 	User                string          `json:"User" xml:"User"`
-	ModifyTime          string          `json:"ModifyTime" xml:"ModifyTime"`
 	ImageId             string          `json:"ImageId" xml:"ImageId"`
 	Quality             float64         `json:"Quality" xml:"Quality"`
-	CreateTime          string          `json:"CreateTime" xml:"CreateTime"`
 	CelebrityFailReason string          `json:"CelebrityFailReason" xml:"CelebrityFailReason"`
-	OCRModifyTime       string          `json:"OCRModifyTime" xml:"OCRModifyTime"`
-	ImageFormat         string          `json:"ImageFormat" xml:"ImageFormat"`
-	ImageMd5            string          `json:"ImageMd5" xml:"ImageMd5"`
 	FacesFailReason     string          `json:"FacesFailReason" xml:"FacesFailReason"`
+	AddressStatus       string          `json:"AddressStatus" xml:"AddressStatus"`
 	Exif                string          `json:"Exif" xml:"Exif"`
 	ImageHeight         int             `json:"ImageHeight" xml:"ImageHeight"`
-	Age                 int             `json:"Age" xml:"Age"`
-	SourceType          string          `json:"SourceType" xml:"SourceType"`
 	RemarksB            string          `json:"RemarksB" xml:"RemarksB"`
 	FileSize            int             `json:"FileSize" xml:"FileSize"`
-	Orientation         string          `json:"Orientation" xml:"Orientation"`
-	FaceId              string          `json:"FaceId" xml:"FaceId"`
-	Hat                 int             `json:"Hat" xml:"Hat"`
-	TagsStatus          string          `json:"TagsStatus" xml:"TagsStatus"`
 	FacesModifyTime     string          `json:"FacesModifyTime" xml:"FacesModifyTime"`
 	CelebrityModifyTime string          `json:"CelebrityModifyTime" xml:"CelebrityModifyTime"`
-	RemarksD            string          `json:"RemarksD" xml:"RemarksD"`
 	TagsFailReason      string          `json:"TagsFailReason" xml:"TagsFailReason"`
-	CelebrityStatus     string          `json:"CelebrityStatus" xml:"CelebrityStatus"`
-	OCRStatus           string          `json:"OCRStatus" xml:"OCRStatus"`
-	Pitch               float64         `json:"Pitch" xml:"Pitch"`
 	ImageUri            string          `json:"ImageUri" xml:"ImageUri"`
 	ExternalId          string          `json:"ExternalId" xml:"ExternalId"`
-	ImageTime           string          `json:"ImageTime" xml:"ImageTime"`
 	Location            string          `json:"Location" xml:"Location"`
 	TagsModifyTime      string          `json:"TagsModifyTime" xml:"TagsModifyTime"`
 	Yaw                 float64         `json:"Yaw" xml:"Yaw"`
-	RemarksA            string          `json:"RemarksA" xml:"RemarksA"`
 	Gender              string          `json:"Gender" xml:"Gender"`
 	SourcePosition      string          `json:"SourcePosition" xml:"SourcePosition"`
 	OCRFailReason       string          `json:"OCRFailReason" xml:"OCRFailReason"`
-	Roll                float64         `json:"Roll" xml:"Roll"`
 	Glasses             int             `json:"Glasses" xml:"Glasses"`
 	RemarksC            string          `json:"RemarksC" xml:"RemarksC"`
 	SourceUri           string          `json:"SourceUri" xml:"SourceUri"`
 	ImageWidth          int             `json:"ImageWidth" xml:"ImageWidth"`
+	AddressModifyTime   string          `json:"AddressModifyTime" xml:"AddressModifyTime"`
+	ModifyTime          string          `json:"ModifyTime" xml:"ModifyTime"`
+	AddressFailReason   string          `json:"AddressFailReason" xml:"AddressFailReason"`
+	CreateTime          string          `json:"CreateTime" xml:"CreateTime"`
+	OCRModifyTime       string          `json:"OCRModifyTime" xml:"OCRModifyTime"`
+	ImageFormat         string          `json:"ImageFormat" xml:"ImageFormat"`
+	ImageMd5            string          `json:"ImageMd5" xml:"ImageMd5"`
+	Age                 int             `json:"Age" xml:"Age"`
+	SourceType          string          `json:"SourceType" xml:"SourceType"`
+	Orientation         string          `json:"Orientation" xml:"Orientation"`
+	FaceId              string          `json:"FaceId" xml:"FaceId"`
+	Hat                 int             `json:"Hat" xml:"Hat"`
+	TagsStatus          string          `json:"TagsStatus" xml:"TagsStatus"`
+	RemarksD            string          `json:"RemarksD" xml:"RemarksD"`
+	CelebrityStatus     string          `json:"CelebrityStatus" xml:"CelebrityStatus"`
+	OCRStatus           string          `json:"OCRStatus" xml:"OCRStatus"`
+	Pitch               float64         `json:"Pitch" xml:"Pitch"`
+	ImageTime           string          `json:"ImageTime" xml:"ImageTime"`
+	RemarksA            string          `json:"RemarksA" xml:"RemarksA"`
+	Roll                float64         `json:"Roll" xml:"Roll"`
 	Axis                []string        `json:"Axis" xml:"Axis"`
+	Address             Address         `json:"Address" xml:"Address"`
 	OCR                 []OCRItem       `json:"OCR" xml:"OCR"`
 	Faces               []FacesItem     `json:"Faces" xml:"Faces"`
 	Celebrity           []CelebrityItem `json:"Celebrity" xml:"Celebrity"`