File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
Runtime/GroundTruth/Labeling Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,8 @@ Added the ability to adjust keypoint self occlusion tolerance on a user defined
5757
5858Added a Keypoint Occlusion Override component which allows a user to universally scale all of the keypoint tolerances for a model.
5959
60+ Make IdLabelConfig.GetAnnotationSpecification() public.
61+
6062### Changed
6163
6264Increased color variety in instance segmentation images.
Original file line number Diff line number Diff line change @@ -72,8 +72,11 @@ void OnDisable()
7272 m_LabelEntryMatchCache = null ;
7373 }
7474
75+ /// <summary>
76+ /// A structure representing a label entry for writing out to datasets.
77+ /// </summary>
7578 [ SuppressMessage ( "ReSharper" , "InconsistentNaming" ) ]
76- internal struct LabelEntrySpec
79+ public struct LabelEntrySpec
7780 {
7881 /// <summary>
7982 /// The label id prepared for reporting in the annotation
@@ -87,7 +90,10 @@ internal struct LabelEntrySpec
8790 public string label_name ;
8891 }
8992
90- internal LabelEntrySpec [ ] GetAnnotationSpecification ( )
93+ /// <summary>
94+ /// Returns the label entries as structures suited for writing out to JSON datasets.
95+ /// </summary>
96+ public LabelEntrySpec [ ] GetAnnotationSpecification ( )
9197 {
9298 return labelEntries . Select ( ( l ) => new LabelEntrySpec ( )
9399 {
You can’t perform that action at this time.
0 commit comments