1、基于C#实现Winform界面调用名片识别接口本程序适用于聚合名片识别接口:http://www.juhe.cn/docs/api/id/139注:项目中如遇无法引用System.Web.dll问题,修改“项目属性”-“应用程序”-“目标框架”,由“.NETFramework4ClientProfile”修改为“.NETFramework4”。然后再引用.NET4.0的System.Web.dll即可前台界面代码:namespace mingpianshibie{ partial class Form1
2、 { /// /// Required designer variable. /// private System.ComponentModel.IContainer components = null; /// /// Clean up any resources being used. /// ///
3、ram name="disposing">true if managed resources should be disposed; otherwise, false. protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose();
4、 } base.Dispose(disposing); } #region Windows Form Designer generated code /// /// Required method for Designer support - do not modify /// the contents of this method with the code editor. //
5、/ private void InitializeComponent() { this.open = new System.Windows.Forms.Button(); this.pixel = new System.Windows.Forms.Button(); this.pictureBox2 = new System.Windows.Forms.PictureBox();
6、 this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.ImgToBase64 = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button(); this.groupBox1 = new System.Windows.Forms.GroupBox();
7、 this.label1 = new System.Windows.Forms.Label(); this.lb_show = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(thi
8、s.pictureBox1)).BeginInit(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); // // open // this.open.Location = new Syst