Ejemplo n.º 1
0
    public static void SetLabelColors()
    {
        string json      = ApiJsonHandler.LabelColors();
        string subMethod = "set_label_colors";

        Instance.StartCoroutine(Instance.SentAPIRequest(json, subMethod));
    }
Ejemplo n.º 2
0
    public static void Predict(byte[] imageBytes)   //predict_image";
    {
        Instance.start = Time.time;
        string json      = ApiJsonHandler.GetPrediction(imageBytes);
        string subMethod = "predict_image_text"; //predict_image";

        Instance.StartCoroutine(Instance.SentAPIRequest(json, subMethod));
    }