Class ObjectDetectionTranslator

    • Field Detail

      • threshold

        protected float threshold
      • classes

        protected java.util.List<java.lang.String> classes
      • imageWidth

        protected double imageWidth
      • imageHeight

        protected double imageHeight
    • Method Detail

      • prepare

        public void prepare​(TranslatorContext ctx)
                     throws java.lang.Exception
        Prepares the translator with the manager and model to use.
        Parameters:
        ctx - the context for the Predictor.
        Throws:
        java.lang.Exception - if there is an error for preparing the translator