Skip to content

Commit 8d16bf3

Browse files
feat(visual-recognition): generated code
chore(visual-recognition): manual changes chore(visual-recognition): manual changes chore(visual-recognition): manual changes
1 parent a753857 commit 8d16bf3

File tree

69 files changed

+940
-93
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+940
-93
lines changed

visual-recognition/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## Installation
44

55
##### Maven
6+
67
```xml
78
<dependency>
89
<groupId>com.ibm.watson</groupId>
@@ -12,11 +13,13 @@
1213
```
1314

1415
##### Gradle
16+
1517
```gradle
1618
'com.ibm.watson:visual-recognition:8.2.1'
1719
```
1820

1921
## Usage
22+
2023
Use the [Visual Recognition][visual_recognition] service to analyze image data. Use either v3 or v4 to analyze the following image:
2124

2225
![Dog](https://visual-recognition-demo.ng.bluemix.net/images/samples/5.jpg)
@@ -102,5 +105,4 @@ AnalyzeResponse response = service.analyze(options).execute().getResult();
102105
System.out.println(response);
103106
```
104107

105-
106-
[visual_recognition]: https://cloud.ibm.com/docs/services/visual-recognition?topic=visual-recognition-getting-started-tutorial
108+
[visual_recognition]: https://cloud.ibm.com/docs/visual-recognition?topic=visual-recognition-getting-started-tutorial

visual-recognition/src/main/java/com/ibm/watson/visual_recognition/v3/VisualRecognition.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2016, 2020.
2+
* (C) Copyright IBM Corp. 2020.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at
@@ -43,7 +43,7 @@
4343
* your needs.
4444
*
4545
* @version v3
46-
* @see <a href="https://cloud.ibm.com/docs/services/visual-recognition/">Visual Recognition</a>
46+
* @see <a href="https://cloud.ibm.com/docs/visual-recognition/">Visual Recognition</a>
4747
*/
4848
public class VisualRecognition extends BaseService {
4949

@@ -290,7 +290,7 @@ public ServiceCall<Classifier> getClassifier(GetClassifierOptions getClassifierO
290290
* Update a custom classifier by adding new positive or negative classes or by adding new images to existing classes.
291291
* You must supply at least one set of positive or negative examples. For details, see [Updating custom
292292
* classifiers]
293-
* (https://cloud.ibm.com/docs/services/visual-recognition
293+
* (https://cloud.ibm.com/docs/visual-recognition
294294
* ?topic=visual-recognition-customizing#updating-custom-classifiers).
295295
*
296296
* Encode all names in UTF-8 if they contain non-ASCII characters (.zip and image file names, and classifier and class
@@ -406,7 +406,7 @@ public ServiceCall<InputStream> getCoreMlModel(GetCoreMlModelOptions getCoreMlMo
406406
*
407407
* You associate a customer ID with data by passing the `X-Watson-Metadata` header with a request that passes data.
408408
* For more information about personal data and customer IDs, see [Information
409-
* security](https://cloud.ibm.com/docs/services/visual-recognition?topic=visual-recognition-information-security).
409+
* security](https://cloud.ibm.com/docs/visual-recognition?topic=visual-recognition-information-security).
410410
*
411411
* @param deleteUserDataOptions the {@link DeleteUserDataOptions} containing the options for the call
412412
* @return a {@link ServiceCall} with a response type of Void
@@ -426,5 +426,4 @@ public ServiceCall<Void> deleteUserData(DeleteUserDataOptions deleteUserDataOpti
426426
ResponseConverter<Void> responseConverter = ResponseConverterUtils.getVoid();
427427
return createServiceCall(builder.build(), responseConverter);
428428
}
429-
430429
}

visual-recognition/src/main/java/com/ibm/watson/visual_recognition/v3/model/Class.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2019, 2020.
2+
* (C) Copyright IBM Corp. 2020.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at

visual-recognition/src/main/java/com/ibm/watson/visual_recognition/v3/model/ClassResult.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2017, 2020.
2+
* (C) Copyright IBM Corp. 2020.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at

visual-recognition/src/main/java/com/ibm/watson/visual_recognition/v3/model/ClassifiedImage.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2017, 2020.
2+
* (C) Copyright IBM Corp. 2020.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at

visual-recognition/src/main/java/com/ibm/watson/visual_recognition/v3/model/ClassifiedImages.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2017, 2020.
2+
* (C) Copyright IBM Corp. 2020.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at

visual-recognition/src/main/java/com/ibm/watson/visual_recognition/v3/model/Classifier.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2017, 2020.
2+
* (C) Copyright IBM Corp. 2020.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at

visual-recognition/src/main/java/com/ibm/watson/visual_recognition/v3/model/ClassifierResult.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2017, 2020.
2+
* (C) Copyright IBM Corp. 2020.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at

visual-recognition/src/main/java/com/ibm/watson/visual_recognition/v3/model/Classifiers.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2019, 2020.
2+
* (C) Copyright IBM Corp. 2020.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at

visual-recognition/src/main/java/com/ibm/watson/visual_recognition/v3/model/ClassifyOptions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2017, 2020.
2+
* (C) Copyright IBM Corp. 2020.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at

0 commit comments

Comments
 (0)