//函数部分识别公式
    public void GetRecognizeFomula(string base64)
    {
        partcode     = 1;
        penBehaviour = GameObject.Find("UI/CanvasFront/WritingPanel/Wrapper").GetComponent <PenBehaviour>();
        WWWForm form = new WWWForm();

        form.AddField("image", base64);
        StartCoroutine(Post("http://120.27.145.45:5000/recognize", form));
    }
    public void GetPositon(string latex)
    {
        partcode     = 2;
        penBehaviour = GameObject.Find("UI/CanvasFront/WritingPanel/Wrapper").GetComponent <PenBehaviour>();
        WWWForm form = new WWWForm();

        form.AddField("latex", latex);
        StartCoroutine(Post("http://120.27.145.45:5000/getDataSet", form));
    }
    //函数部分识别系数常量变换
    public void GetRecognizeChange(string latex, string fomula)
    {
        Debug.Log(latex);
        Debug.Log(fomula);
        partcode     = 3;
        penBehaviour = GameObject.Find("UI/CanvasFront/WritingPanel/Wrapper").GetComponent <PenBehaviour>();
        WWWForm form = new WWWForm();

        form.AddField("transform_content", latex);
        form.AddField("latex", fomula);
        StartCoroutine(Post("http://120.27.145.45:5000/transform", form));
    }
    public void Init(GeoUI geoUI, GeoController geoController)
    {
        Clear();

        RectTransform writingPanel = (RectTransform)transform;

        penWrapper = transform.Find("Wrapper").GetComponent <RectTransform>();
        penWrapper.SetInsetAndSizeFromParentEdge(RectTransform.Edge.Left, 0, writingPanel.rect.width);
        penWrapper.SetInsetAndSizeFromParentEdge(RectTransform.Edge.Bottom, 0, writingPanel.rect.height);

        penBehaviour = transform.GetComponentInChildren <PenBehaviour>();
        penBehaviour.Init(geoUI, geoController);
        recognizePanel = geoUI.recognizePanel;
    }