Skip to content

Commit c46e03c

Browse files
committed
IMM SDK Auto Released By zhengrui.lj,Version:1.5.2
发布日志: 1, Add new set image video api. 2, Add video async task api.
1 parent 8ae0ba9 commit c46e03c

31 files changed

+1451
-1
lines changed

aliyun-python-sdk-imm/ChangeLog.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2018-12-28 Version: 1.5.2
2+
1, Add new set image video api.
3+
2, Add video async task api.
4+
15
2018-12-05 Version: 1.5.2
26
1, Add image async job.
37
2, Fix group bug.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.5.2"
1+
__version__ = "1.6.0"
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
class CompareImageFacesRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'imm', '2017-09-06', 'CompareImageFaces','imm')
25+
26+
def get_ImageUriB(self):
27+
return self.get_query_params().get('ImageUriB')
28+
29+
def set_ImageUriB(self,ImageUriB):
30+
self.add_query_param('ImageUriB',ImageUriB)
31+
32+
def get_ImageUriA(self):
33+
return self.get_query_params().get('ImageUriA')
34+
35+
def set_ImageUriA(self,ImageUriA):
36+
self.add_query_param('ImageUriA',ImageUriA)
37+
38+
def get_Project(self):
39+
return self.get_query_params().get('Project')
40+
41+
def set_Project(self,Project):
42+
self.add_query_param('Project',Project)
43+
44+
def get_SetId(self):
45+
return self.get_query_params().get('SetId')
46+
47+
def set_SetId(self,SetId):
48+
self.add_query_param('SetId',SetId)
49+
50+
def get_FaceIdA(self):
51+
return self.get_query_params().get('FaceIdA')
52+
53+
def set_FaceIdA(self,FaceIdA):
54+
self.add_query_param('FaceIdA',FaceIdA)
55+
56+
def get_FaceIdB(self):
57+
return self.get_query_params().get('FaceIdB')
58+
59+
def set_FaceIdB(self,FaceIdB):
60+
self.add_query_param('FaceIdB',FaceIdB)
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
class CreateSetRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'imm', '2017-09-06', 'CreateSet','imm')
25+
26+
def get_SetName(self):
27+
return self.get_query_params().get('SetName')
28+
29+
def set_SetName(self,SetName):
30+
self.add_query_param('SetName',SetName)
31+
32+
def get_Project(self):
33+
return self.get_query_params().get('Project')
34+
35+
def set_Project(self,Project):
36+
self.add_query_param('Project',Project)
37+
38+
def get_SetId(self):
39+
return self.get_query_params().get('SetId')
40+
41+
def set_SetId(self,SetId):
42+
self.add_query_param('SetId',SetId)
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
class CreateVideoAnalyseTaskRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'imm', '2017-09-06', 'CreateVideoAnalyseTask','imm')
25+
26+
def get_NotifyTopicName(self):
27+
return self.get_query_params().get('NotifyTopicName')
28+
29+
def set_NotifyTopicName(self,NotifyTopicName):
30+
self.add_query_param('NotifyTopicName',NotifyTopicName)
31+
32+
def get_GrabType(self):
33+
return self.get_query_params().get('GrabType')
34+
35+
def set_GrabType(self,GrabType):
36+
self.add_query_param('GrabType',GrabType)
37+
38+
def get_Project(self):
39+
return self.get_query_params().get('Project')
40+
41+
def set_Project(self,Project):
42+
self.add_query_param('Project',Project)
43+
44+
def get_EndTime(self):
45+
return self.get_query_params().get('EndTime')
46+
47+
def set_EndTime(self,EndTime):
48+
self.add_query_param('EndTime',EndTime)
49+
50+
def get_StartTime(self):
51+
return self.get_query_params().get('StartTime')
52+
53+
def set_StartTime(self,StartTime):
54+
self.add_query_param('StartTime',StartTime)
55+
56+
def get_VideoUri(self):
57+
return self.get_query_params().get('VideoUri')
58+
59+
def set_VideoUri(self,VideoUri):
60+
self.add_query_param('VideoUri',VideoUri)
61+
62+
def get_SaveType(self):
63+
return self.get_query_params().get('SaveType')
64+
65+
def set_SaveType(self,SaveType):
66+
self.add_query_param('SaveType',SaveType)
67+
68+
def get_NotifyEndpoint(self):
69+
return self.get_query_params().get('NotifyEndpoint')
70+
71+
def set_NotifyEndpoint(self,NotifyEndpoint):
72+
self.add_query_param('NotifyEndpoint',NotifyEndpoint)
73+
74+
def get_Interval(self):
75+
return self.get_query_params().get('Interval')
76+
77+
def set_Interval(self,Interval):
78+
self.add_query_param('Interval',Interval)
79+
80+
def get_TgtUri(self):
81+
return self.get_query_params().get('TgtUri')
82+
83+
def set_TgtUri(self,TgtUri):
84+
self.add_query_param('TgtUri',TgtUri)
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
class DeleteImageRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'imm', '2017-09-06', 'DeleteImage','imm')
25+
26+
def get_ImageUri(self):
27+
return self.get_query_params().get('ImageUri')
28+
29+
def set_ImageUri(self,ImageUri):
30+
self.add_query_param('ImageUri',ImageUri)
31+
32+
def get_Project(self):
33+
return self.get_query_params().get('Project')
34+
35+
def set_Project(self,Project):
36+
self.add_query_param('Project',Project)
37+
38+
def get_SetId(self):
39+
return self.get_query_params().get('SetId')
40+
41+
def set_SetId(self,SetId):
42+
self.add_query_param('SetId',SetId)
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
class DeleteSetRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'imm', '2017-09-06', 'DeleteSet','imm')
25+
26+
def get_Project(self):
27+
return self.get_query_params().get('Project')
28+
29+
def set_Project(self,Project):
30+
self.add_query_param('Project',Project)
31+
32+
def get_SetId(self):
33+
return self.get_query_params().get('SetId')
34+
35+
def set_SetId(self,SetId):
36+
self.add_query_param('SetId',SetId)
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
class DeleteVideoRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'imm', '2017-09-06', 'DeleteVideo','imm')
25+
26+
def get_VideoUri(self):
27+
return self.get_query_params().get('VideoUri')
28+
29+
def set_VideoUri(self,VideoUri):
30+
self.add_query_param('VideoUri',VideoUri)
31+
32+
def get_Project(self):
33+
return self.get_query_params().get('Project')
34+
35+
def set_Project(self,Project):
36+
self.add_query_param('Project',Project)
37+
38+
def get_SetId(self):
39+
return self.get_query_params().get('SetId')
40+
41+
def set_SetId(self,SetId):
42+
self.add_query_param('SetId',SetId)
43+
44+
def get_Resources(self):
45+
return self.get_query_params().get('Resources')
46+
47+
def set_Resources(self,Resources):
48+
self.add_query_param('Resources',Resources)
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
class DeleteVideoTaskRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'imm', '2017-09-06', 'DeleteVideoTask','imm')
25+
26+
def get_TaskType(self):
27+
return self.get_query_params().get('TaskType')
28+
29+
def set_TaskType(self,TaskType):
30+
self.add_query_param('TaskType',TaskType)
31+
32+
def get_Project(self):
33+
return self.get_query_params().get('Project')
34+
35+
def set_Project(self,Project):
36+
self.add_query_param('Project',Project)
37+
38+
def get_TaskId(self):
39+
return self.get_query_params().get('TaskId')
40+
41+
def set_TaskId(self,TaskId):
42+
self.add_query_param('TaskId',TaskId)

0 commit comments

Comments
 (0)