private void btn2_Click(object sender, EventArgs e)
        {
            ocr frm = new ocr();

            this.Hide();
            frm.ShowDialog();
            this.Show();
        }
Beispiel #2
0
    //  public LoadAndDisplayImages ladi;



    public void PostData(string st)
    {
        st = Regex.Replace(st, @"\t\n\r", "").Replace('[', ' ').Replace(']', ' ');

        ocr o = new ocr();

        o.data = st;

        string json = JsonUtility.ToJson(o);

        StartCoroutine(PostRequest("http://localhost:5000/list_add", json, st));
    }
Beispiel #3
0
    public void PostData( )
    {
        string st = ptr;

        st = st.Replace("\\n", " ").Replace('[', ' ').Replace(']', ' ');

        ocr o = new ocr();

        o.data = st;

        string json = JsonUtility.ToJson(o);

        StartCoroutine(PostRequest("http://localhost:5000/list_add", json));
    }