Class Category

java.lang.Object
com.castlabs.sdk.viisights.Category

public class Category extends Object
Represents a category with a label, ID, type, name, and score.
  • Field Details

    • label

      public final String label
      The label of the category.
    • id

      public final String id
      The ID of the category.
    • categoryType

      public final String categoryType
      The type of the category.
    • name

      public final String name
      The name of the category.
    • score

      public final double score
      The score of the category.
  • Constructor Details

    • Category

      public Category(String label, String id, String categoryType, String name, double score)
      Constructs a new Category object.
      Parameters:
      label - The label of the category.
      id - The ID of the category.
      categoryType - The type of the category.
      name - The name of the category.
      score - The score of the category.