private void driverLicenseRecognition()
        {
            Newtonsoft.Json.Linq.JObject  ob     = getOcr().DrivingLicense(FileHelper.GetBytes(imagePath));
            BaiduDriverLicenseRecognition driver = BaiduAipHelper.getDriverRecognition(ob);

            MessageBox.Show(driver.name);
        }
        private void vehicleLicenseRecognition()
        {
            Newtonsoft.Json.Linq.JObject ob      = getOcr().VehicleLicense(FileHelper.GetBytes(imagePath));
            baiduVehicleRecognition      vehicle = BaiduAipHelper.getvehicleRecognition(ob);

            MessageBox.Show(vehicle.engineNumber + " :" + vehicle.carNumber);
        }
        /// <summary>
        /// Automatic Recognition 开始自动识别
        /// </summary>
        private void AutomaticRecognition()
        {
            string apiKey   = ConfigurationHelper.GetConfig(ConfigItemName.baiduApiKey.ToString());
            string apiScret = ConfigurationHelper.GetConfig(ConfigItemName.baiduApiSecretKey.ToString());
            Ocr    ocr      = new Ocr(apiKey, apiScret);

            Newtonsoft.Json.Linq.JObject ob           = ocr.BusinessLicense(FileHelper.GetBytes(imagePath));
            BaiduLicenseRecognition      baiduLicense = BaiduAipHelper.getLicenseRecognition(ob);

            bindingControlValue(baiduLicense);
        }
 private void bankCardRecobnition()
 {
     Newtonsoft.Json.Linq.JObject ob   = getOcr().Bankcard(FileHelper.GetBytes(imagePath));
     BaiduBandCardRecognition     card = BaiduAipHelper.getBandCardRecognition(ob);
 }