public static void SetLabelColors() { string json = ApiJsonHandler.LabelColors(); string subMethod = "set_label_colors"; Instance.StartCoroutine(Instance.SentAPIRequest(json, subMethod)); }
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)); }