Skip to content

Commit 796f258

Browse files
committed
regenerate visual recognition
1 parent 7cda9ae commit 796f258

File tree

11 files changed

+111
-97
lines changed

11 files changed

+111
-97
lines changed

src/IBM.WatsonDeveloperCloud.VisualRecognition.v3/IBM.WatsonDeveloperCloud.VisualRecognition.v3.csproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<Description>IBM.WatsonDeveloperCloud.VisualRecognition.v3 wraps the Watson Developer Cloud Visual Recognition service (http://www.ibm.com/watson/developercloud/visual-recognition.html)</Description>
55
<AssemblyTitle>IBM.WatsonDeveloperCloud.VisualRecognition.v3</AssemblyTitle>
6-
<VersionPrefix>2.1.0</VersionPrefix>
6+
<VersionPrefix>2.2.0</VersionPrefix>
77
<Authors>Watson Developer Cloud</Authors>
88
<TargetFramework>netstandard1.3</TargetFramework>
99
<AssemblyName>IBM.WatsonDeveloperCloud.VisualRecognition.v3</AssemblyName>
@@ -12,7 +12,7 @@
1212
<PackageIconUrl>https://watson-developer-cloud.github.io/dotnet-standard-sdk/img/Watson_Avatar_Pos_RGB.png</PackageIconUrl>
1313
<PackageProjectUrl>https://github.com/watson-developer-cloud/dotnet-standard-sdk</PackageProjectUrl>
1414
<NetStandardImplicitPackageVersion>1.6.0</NetStandardImplicitPackageVersion>
15-
<Version>2.1.0</Version>
15+
<Version>2.2.0</Version>
1616
</PropertyGroup>
1717

1818
<ItemGroup>
@@ -22,4 +22,5 @@
2222
<ItemGroup>
2323
<PackageReference Include="Newtonsoft.Json" Version="9.0.1" />
2424
</ItemGroup>
25+
2526
</Project>

src/IBM.WatsonDeveloperCloud.VisualRecognition.v3/Model/ClassResult.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ public class ClassResult
3737
[JsonProperty("score", NullValueHandling = NullValueHandling.Ignore)]
3838
public float? Score { get; set; }
3939
/// <summary>
40-
/// Knowledge graph of the property. For example, `People/Leaders/Presidents/USA/Barack Obama`. Included only if identified.
40+
/// Knowledge graph of the property. For example, `/fruit/pome/apple/eating apple/Granny Smith`. Included only if identified.
4141
/// </summary>
42-
/// <value>Knowledge graph of the property. For example, `People/Leaders/Presidents/USA/Barack Obama`. Included only if identified.</value>
42+
/// <value>Knowledge graph of the property. For example, `/fruit/pome/apple/eating apple/Granny Smith`. Included only if identified.</value>
4343
[JsonProperty("type_hierarchy", NullValueHandling = NullValueHandling.Ignore)]
4444
public string TypeHierarchy { get; set; }
4545
}

src/IBM.WatsonDeveloperCloud.VisualRecognition.v3/Model/Classifier.cs

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,15 +86,21 @@ public enum StatusEnum
8686
[JsonProperty("owner", NullValueHandling = NullValueHandling.Ignore)]
8787
public string Owner { get; set; }
8888
/// <summary>
89+
/// Whether the classifier can be downloaded as a Core ML model after the training status is `ready`.
90+
/// </summary>
91+
/// <value>Whether the classifier can be downloaded as a Core ML model after the training status is `ready`.</value>
92+
[JsonProperty("core_ml_enabled", NullValueHandling = NullValueHandling.Ignore)]
93+
public bool? CoreMlEnabled { get; set; }
94+
/// <summary>
8995
/// If classifier training has failed, this field may explain why.
9096
/// </summary>
9197
/// <value>If classifier training has failed, this field may explain why.</value>
9298
[JsonProperty("explanation", NullValueHandling = NullValueHandling.Ignore)]
9399
public string Explanation { get; set; }
94100
/// <summary>
95-
/// Date and time in Coordinated Universal Time that the classifier was created.
101+
/// Date and time in Coordinated Universal Time (UTC) that the classifier was created.
96102
/// </summary>
97-
/// <value>Date and time in Coordinated Universal Time that the classifier was created.</value>
103+
/// <value>Date and time in Coordinated Universal Time (UTC) that the classifier was created.</value>
98104
[JsonProperty("created", NullValueHandling = NullValueHandling.Ignore)]
99105
public DateTime Created { get; set; }
100106
/// <summary>
@@ -104,11 +110,17 @@ public enum StatusEnum
104110
[JsonProperty("classes", NullValueHandling = NullValueHandling.Ignore)]
105111
public List<ModelClass> Classes { get; set; }
106112
/// <summary>
107-
/// Date and time in Coordinated Universal Time that the classifier was updated. Returned when verbose=`true`. Might not be returned by some requests.
113+
/// Date and time in Coordinated Universal Time (UTC) that the classifier was updated. Returned when verbose=`true`. Might not be returned by some requests. Identical to `updated` and retained for backward compatibility.
108114
/// </summary>
109-
/// <value>Date and time in Coordinated Universal Time that the classifier was updated. Returned when verbose=`true`. Might not be returned by some requests.</value>
115+
/// <value>Date and time in Coordinated Universal Time (UTC) that the classifier was updated. Returned when verbose=`true`. Might not be returned by some requests. Identical to `updated` and retained for backward compatibility.</value>
110116
[JsonProperty("retrained", NullValueHandling = NullValueHandling.Ignore)]
111117
public DateTime Retrained { get; set; }
118+
/// <summary>
119+
/// Date and time in Coordinated Universal Time (UTC) that the classifier was most recently updated. The field matches either `retrained` or `created`. Returned when verbose=`true`. Might not be returned by some requests.
120+
/// </summary>
121+
/// <value>Date and time in Coordinated Universal Time (UTC) that the classifier was most recently updated. The field matches either `retrained` or `created`. Returned when verbose=`true`. Might not be returned by some requests.</value>
122+
[JsonProperty("updated", NullValueHandling = NullValueHandling.Ignore)]
123+
public DateTime Updated { get; set; }
112124
}
113125

114126
}

src/IBM.WatsonDeveloperCloud.VisualRecognition.v3/Model/Classifiers.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
namespace IBM.WatsonDeveloperCloud.VisualRecognition.v3.Model
2222
{
2323
/// <summary>
24-
/// Verbose list of classifiers retrieved in the GET v2/classifiers call.
24+
/// List of classifiers.
2525
/// </summary>
2626
public class Classifiers
2727
{

src/IBM.WatsonDeveloperCloud.VisualRecognition.v3/Model/Face.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,6 @@ public class Face
3939
/// </summary>
4040
[JsonProperty("face_location", NullValueHandling = NullValueHandling.Ignore)]
4141
public FaceLocation FaceLocation { get; set; }
42-
/// <summary>
43-
/// Gets or Sets Identity
44-
/// </summary>
45-
[JsonProperty("identity", NullValueHandling = NullValueHandling.Ignore)]
46-
public FaceIdentity Identity { get; set; }
4742
}
4843

4944
}

src/IBM.WatsonDeveloperCloud.VisualRecognition.v3/Model/FaceAge.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
namespace IBM.WatsonDeveloperCloud.VisualRecognition.v3.Model
2121
{
2222
/// <summary>
23-
/// Provides age information about a face. If there are more than 10 faces in an image, the response might return the confidence score `0g.
23+
/// Provides age information about a face.
2424
/// </summary>
2525
public class FaceAge
2626
{
@@ -37,9 +37,9 @@ public class FaceAge
3737
[JsonProperty("max", NullValueHandling = NullValueHandling.Ignore)]
3838
public long? Max { get; set; }
3939
/// <summary>
40-
/// Confidence score for the property in the range of 0 to 1. A higher score indicates greater likelihood that the class is depicted in the image. The default threshold for returning scores from a classifier is 0.5.
40+
/// Confidence score in the range of 0 to 1. A higher score indicates greater confidence in the estimated value for the property.
4141
/// </summary>
42-
/// <value>Confidence score for the property in the range of 0 to 1. A higher score indicates greater likelihood that the class is depicted in the image. The default threshold for returning scores from a classifier is 0.5.</value>
42+
/// <value>Confidence score in the range of 0 to 1. A higher score indicates greater confidence in the estimated value for the property.</value>
4343
[JsonProperty("score", NullValueHandling = NullValueHandling.Ignore)]
4444
public float? Score { get; set; }
4545
}

src/IBM.WatsonDeveloperCloud.VisualRecognition.v3/Model/FaceGender.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
namespace IBM.WatsonDeveloperCloud.VisualRecognition.v3.Model
2121
{
2222
/// <summary>
23-
/// Provides information about the gender of the face. If there are more than 10 faces in an image, the response might return the confidence score 0.
23+
/// Provides information about the gender of the face.
2424
/// </summary>
2525
public class FaceGender
2626
{
@@ -31,9 +31,9 @@ public class FaceGender
3131
[JsonProperty("gender", NullValueHandling = NullValueHandling.Ignore)]
3232
public string Gender { get; set; }
3333
/// <summary>
34-
/// Confidence score for the property in the range of 0 to 1. A higher score indicates greater likelihood that the class is depicted in the image. The default threshold for returning scores from a classifier is 0.5.
34+
/// Confidence score in the range of 0 to 1. A higher score indicates greater confidence in the estimated value for the property.
3535
/// </summary>
36-
/// <value>Confidence score for the property in the range of 0 to 1. A higher score indicates greater likelihood that the class is depicted in the image. The default threshold for returning scores from a classifier is 0.5.</value>
36+
/// <value>Confidence score in the range of 0 to 1. A higher score indicates greater confidence in the estimated value for the property.</value>
3737
[JsonProperty("score", NullValueHandling = NullValueHandling.Ignore)]
3838
public float? Score { get; set; }
3939
}

src/IBM.WatsonDeveloperCloud.VisualRecognition.v3/Model/FaceIdentity.cs

Lines changed: 0 additions & 47 deletions
This file was deleted.

0 commit comments

Comments
 (0)