| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370 |
-
- namespace WinFormsApp_final
- {
- partial class Form1
- {
- /// <summary>
- /// Required designer variable.
- /// </summary>
- private System.ComponentModel.IContainer components = null;
- /// <summary>
- /// Clean up any resources being used.
- /// </summary>
- /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
- #region Windows Form Designer generated code
- /// <summary>
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- /// </summary>
- private void InitializeComponent()
- {
- this.button1 = new System.Windows.Forms.Button();
- this.button2 = new System.Windows.Forms.Button();
- this.button3 = new System.Windows.Forms.Button();
- this.button4 = new System.Windows.Forms.Button();
- this.button5 = new System.Windows.Forms.Button();
- this.pictureBox1 = new System.Windows.Forms.PictureBox();
- this.pictureBox2 = new System.Windows.Forms.PictureBox();
- this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
- this.folderBrowserDialog1 = new System.Windows.Forms.FolderBrowserDialog();
- this.button6 = new System.Windows.Forms.Button();
- this.button7 = new System.Windows.Forms.Button();
- this.comboBox1 = new System.Windows.Forms.ComboBox();
- this.label1 = new System.Windows.Forms.Label();
- this.label2 = new System.Windows.Forms.Label();
- this.comboBox2 = new System.Windows.Forms.ComboBox();
- this.label3 = new System.Windows.Forms.Label();
- this.comboBox3 = new System.Windows.Forms.ComboBox();
- this.numericUpDown1 = new System.Windows.Forms.NumericUpDown();
- this.label4 = new System.Windows.Forms.Label();
- this.label5 = new System.Windows.Forms.Label();
- this.label6 = new System.Windows.Forms.Label();
- this.label7 = new System.Windows.Forms.Label();
- this.label8 = new System.Windows.Forms.Label();
- this.textBox1 = new System.Windows.Forms.TextBox();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
- this.SuspendLayout();
- //
- // button1
- //
- this.button1.Location = new System.Drawing.Point(205, 5);
- this.button1.Name = "button1";
- this.button1.Size = new System.Drawing.Size(118, 48);
- this.button1.TabIndex = 0;
- this.button1.Text = "初始化模型";
- this.button1.UseVisualStyleBackColor = true;
- this.button1.Click += new System.EventHandler(this.button1_Click);
- //
- // button2
- //
- this.button2.Location = new System.Drawing.Point(383, 5);
- this.button2.Name = "button2";
- this.button2.Size = new System.Drawing.Size(118, 48);
- this.button2.TabIndex = 1;
- this.button2.Text = "加载图片";
- this.button2.UseVisualStyleBackColor = true;
- this.button2.Click += new System.EventHandler(this.button2_Click);
- //
- // button3
- //
- this.button3.Location = new System.Drawing.Point(563, 5);
- this.button3.Name = "button3";
- this.button3.Size = new System.Drawing.Size(118, 48);
- this.button3.TabIndex = 2;
- this.button3.Text = "加载图片文件夹";
- this.button3.UseVisualStyleBackColor = true;
- this.button3.Click += new System.EventHandler(this.button3_Click);
- //
- // button4
- //
- this.button4.Location = new System.Drawing.Point(747, 5);
- this.button4.Name = "button4";
- this.button4.Size = new System.Drawing.Size(118, 48);
- this.button4.TabIndex = 3;
- this.button4.Text = "加载视频流";
- this.button4.UseVisualStyleBackColor = true;
- this.button4.Click += new System.EventHandler(this.button4_Click);
- //
- // button5
- //
- this.button5.Location = new System.Drawing.Point(926, 5);
- this.button5.Name = "button5";
- this.button5.Size = new System.Drawing.Size(118, 48);
- this.button5.TabIndex = 4;
- this.button5.Text = "模型推理";
- this.button5.UseVisualStyleBackColor = true;
- this.button5.Click += new System.EventHandler(this.button5_Click);
- //
- // pictureBox1
- //
- this.pictureBox1.BackColor = System.Drawing.SystemColors.ActiveBorder;
- this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.pictureBox1.Location = new System.Drawing.Point(37, 106);
- this.pictureBox1.Name = "pictureBox1";
- this.pictureBox1.Size = new System.Drawing.Size(586, 571);
- this.pictureBox1.TabIndex = 5;
- this.pictureBox1.TabStop = false;
- //
- // pictureBox2
- //
- this.pictureBox2.BackColor = System.Drawing.SystemColors.ActiveBorder;
- this.pictureBox2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.pictureBox2.Location = new System.Drawing.Point(645, 106);
- this.pictureBox2.Name = "pictureBox2";
- this.pictureBox2.Size = new System.Drawing.Size(586, 571);
- this.pictureBox2.TabIndex = 6;
- this.pictureBox2.TabStop = false;
- //
- // openFileDialog1
- //
- this.openFileDialog1.FileName = "加载单张图片";
- //
- // button6
- //
- this.button6.Location = new System.Drawing.Point(962, 59);
- this.button6.Name = "button6";
- this.button6.Size = new System.Drawing.Size(82, 25);
- this.button6.TabIndex = 8;
- this.button6.Text = "终止推理";
- this.button6.UseVisualStyleBackColor = true;
- this.button6.Click += new System.EventHandler(this.button6_Click);
- //
- // button7
- //
- this.button7.Location = new System.Drawing.Point(205, 59);
- this.button7.Name = "button7";
- this.button7.Size = new System.Drawing.Size(82, 25);
- this.button7.TabIndex = 9;
- this.button7.Text = "销毁模型";
- this.button7.UseVisualStyleBackColor = true;
- this.button7.Click += new System.EventHandler(this.button7_Click);
- //
- // comboBox1
- //
- this.comboBox1.FormattingEnabled = true;
- this.comboBox1.Items.AddRange(new object[] {
- "CPU",
- "GPU"});
- this.comboBox1.Location = new System.Drawing.Point(502, 56);
- this.comboBox1.Name = "comboBox1";
- this.comboBox1.Size = new System.Drawing.Size(49, 25);
- this.comboBox1.TabIndex = 10;
- this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
- //
- // label1
- //
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(440, 60);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(56, 17);
- this.label1.TabIndex = 11;
- this.label1.Text = "运行环境";
- //
- // label2
- //
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(568, 60);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(56, 17);
- this.label2.TabIndex = 12;
- this.label2.Text = "模型类型";
- //
- // comboBox2
- //
- this.comboBox2.FormattingEnabled = true;
- this.comboBox2.Items.AddRange(new object[] {
- "det",
- "seg",
- "clas",
- "mask",
- "paddlex"});
- this.comboBox2.Location = new System.Drawing.Point(630, 56);
- this.comboBox2.Name = "comboBox2";
- this.comboBox2.Size = new System.Drawing.Size(49, 25);
- this.comboBox2.TabIndex = 13;
- this.comboBox2.SelectedIndexChanged += new System.EventHandler(this.comboBox2_SelectedIndexChanged);
- //
- // label3
- //
- this.label3.AutoSize = true;
- this.label3.Location = new System.Drawing.Point(697, 60);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(56, 17);
- this.label3.TabIndex = 14;
- this.label3.Text = "检测阈值";
- //
- // comboBox3
- //
- this.comboBox3.FormattingEnabled = true;
- this.comboBox3.Items.AddRange(new object[] {
- "0.0",
- "0.1",
- "0.2",
- "0.3",
- "0.4",
- "0.5",
- "0.6",
- "0.7",
- "0.9"});
- this.comboBox3.Location = new System.Drawing.Point(759, 56);
- this.comboBox3.Name = "comboBox3";
- this.comboBox3.Size = new System.Drawing.Size(49, 25);
- this.comboBox3.TabIndex = 15;
- this.comboBox3.SelectedIndexChanged += new System.EventHandler(this.comboBox3_SelectedIndexChanged);
- //
- // numericUpDown1
- //
- this.numericUpDown1.Increment = new decimal(new int[] {
- 50,
- 0,
- 0,
- 0});
- this.numericUpDown1.Location = new System.Drawing.Point(1119, 41);
- this.numericUpDown1.Maximum = new decimal(new int[] {
- 1000,
- 0,
- 0,
- 0});
- this.numericUpDown1.Name = "numericUpDown1";
- this.numericUpDown1.Size = new System.Drawing.Size(61, 23);
- this.numericUpDown1.TabIndex = 16;
- this.numericUpDown1.ValueChanged += new System.EventHandler(this.numericUpDown1_ValueChanged);
- //
- // label4
- //
- this.label4.AutoSize = true;
- this.label4.Location = new System.Drawing.Point(1115, 21);
- this.label4.Name = "label4";
- this.label4.Size = new System.Drawing.Size(105, 17);
- this.label4.TabIndex = 17;
- this.label4.Text = "连续推理间隔(ms)";
- //
- // label5
- //
- this.label5.AutoSize = true;
- this.label5.Location = new System.Drawing.Point(48, 21);
- this.label5.Name = "label5";
- this.label5.Size = new System.Drawing.Size(80, 17);
- this.label5.TabIndex = 18;
- this.label5.Text = "实时推理速度";
- //
- // label6
- //
- this.label6.AutoSize = true;
- this.label6.Location = new System.Drawing.Point(99, 46);
- this.label6.Name = "label6";
- this.label6.Size = new System.Drawing.Size(25, 17);
- this.label6.TabIndex = 20;
- this.label6.Text = "ms";
- //
- // label7
- //
- this.label7.AutoSize = true;
- this.label7.BackColor = System.Drawing.SystemColors.HighlightText;
- this.label7.Location = new System.Drawing.Point(48, 46);
- this.label7.Name = "label7";
- this.label7.Size = new System.Drawing.Size(32, 17);
- this.label7.TabIndex = 21;
- this.label7.Text = "0.00";
- //
- // label8
- //
- this.label8.AutoSize = true;
- this.label8.Location = new System.Drawing.Point(569, 85);
- this.label8.Name = "label8";
- this.label8.Size = new System.Drawing.Size(54, 17);
- this.label8.TabIndex = 22;
- this.label8.Text = "GPU_ID:";
- //
- // textBox1
- //
- this.textBox1.Location = new System.Drawing.Point(630, 82);
- this.textBox1.Name = "textBox1";
- this.textBox1.Size = new System.Drawing.Size(49, 23);
- this.textBox1.TabIndex = 23;
- this.textBox1.TextChanged += new System.EventHandler(this.textBox1_TextChanged);
- //
- // Form1
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(1264, 681);
- this.Controls.Add(this.textBox1);
- this.Controls.Add(this.label8);
- this.Controls.Add(this.label7);
- this.Controls.Add(this.label6);
- this.Controls.Add(this.label5);
- this.Controls.Add(this.label4);
- this.Controls.Add(this.numericUpDown1);
- this.Controls.Add(this.comboBox3);
- this.Controls.Add(this.label3);
- this.Controls.Add(this.comboBox2);
- this.Controls.Add(this.label2);
- this.Controls.Add(this.label1);
- this.Controls.Add(this.comboBox1);
- this.Controls.Add(this.button7);
- this.Controls.Add(this.button6);
- this.Controls.Add(this.pictureBox2);
- this.Controls.Add(this.pictureBox1);
- this.Controls.Add(this.button5);
- this.Controls.Add(this.button4);
- this.Controls.Add(this.button3);
- this.Controls.Add(this.button2);
- this.Controls.Add(this.button1);
- this.MaximumSize = new System.Drawing.Size(1280, 720);
- this.MinimumSize = new System.Drawing.Size(1280, 720);
- this.Name = "Form1";
- this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
- this.Text = "可视化推理界面";
- this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FromClosing);
- this.Load += new System.EventHandler(this.Form1_Load);
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
- this.ResumeLayout(false);
- this.PerformLayout();
- }
- #endregion
- private System.Windows.Forms.Button button1;
- private System.Windows.Forms.Button button2;
- private System.Windows.Forms.Button button3;
- private System.Windows.Forms.Button button4;
- private System.Windows.Forms.Button button5;
- private System.Windows.Forms.PictureBox pictureBox1;
- private System.Windows.Forms.PictureBox pictureBox2;
- private System.Windows.Forms.OpenFileDialog openFileDialog1;
- private System.Windows.Forms.FolderBrowserDialog folderBrowserDialog1;
- private System.Windows.Forms.Button button6;
- private System.Windows.Forms.Button button7;
- private System.Windows.Forms.ComboBox comboBox1;
- private System.Windows.Forms.Label label1;
- private System.Windows.Forms.Label label2;
- private System.Windows.Forms.ComboBox comboBox2;
- private System.Windows.Forms.Label label3;
- private System.Windows.Forms.ComboBox comboBox3;
- private System.Windows.Forms.NumericUpDown numericUpDown1;
- private System.Windows.Forms.Label label4;
- private System.Windows.Forms.Label label5;
- private System.Windows.Forms.Label label6;
- private System.Windows.Forms.Label label7;
- private System.Windows.Forms.Label label8;
- private System.Windows.Forms.TextBox textBox1;
- }
- }
|