Form1.Designer.cs 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370
  1. 
  2. namespace WinFormsApp_final
  3. {
  4. partial class Form1
  5. {
  6. /// <summary>
  7. /// Required designer variable.
  8. /// </summary>
  9. private System.ComponentModel.IContainer components = null;
  10. /// <summary>
  11. /// Clean up any resources being used.
  12. /// </summary>
  13. /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
  14. protected override void Dispose(bool disposing)
  15. {
  16. if (disposing && (components != null))
  17. {
  18. components.Dispose();
  19. }
  20. base.Dispose(disposing);
  21. }
  22. #region Windows Form Designer generated code
  23. /// <summary>
  24. /// Required method for Designer support - do not modify
  25. /// the contents of this method with the code editor.
  26. /// </summary>
  27. private void InitializeComponent()
  28. {
  29. this.button1 = new System.Windows.Forms.Button();
  30. this.button2 = new System.Windows.Forms.Button();
  31. this.button3 = new System.Windows.Forms.Button();
  32. this.button4 = new System.Windows.Forms.Button();
  33. this.button5 = new System.Windows.Forms.Button();
  34. this.pictureBox1 = new System.Windows.Forms.PictureBox();
  35. this.pictureBox2 = new System.Windows.Forms.PictureBox();
  36. this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
  37. this.folderBrowserDialog1 = new System.Windows.Forms.FolderBrowserDialog();
  38. this.button6 = new System.Windows.Forms.Button();
  39. this.button7 = new System.Windows.Forms.Button();
  40. this.comboBox1 = new System.Windows.Forms.ComboBox();
  41. this.label1 = new System.Windows.Forms.Label();
  42. this.label2 = new System.Windows.Forms.Label();
  43. this.comboBox2 = new System.Windows.Forms.ComboBox();
  44. this.label3 = new System.Windows.Forms.Label();
  45. this.comboBox3 = new System.Windows.Forms.ComboBox();
  46. this.numericUpDown1 = new System.Windows.Forms.NumericUpDown();
  47. this.label4 = new System.Windows.Forms.Label();
  48. this.label5 = new System.Windows.Forms.Label();
  49. this.label6 = new System.Windows.Forms.Label();
  50. this.label7 = new System.Windows.Forms.Label();
  51. this.label8 = new System.Windows.Forms.Label();
  52. this.textBox1 = new System.Windows.Forms.TextBox();
  53. ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
  54. ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
  55. ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
  56. this.SuspendLayout();
  57. //
  58. // button1
  59. //
  60. this.button1.Location = new System.Drawing.Point(205, 5);
  61. this.button1.Name = "button1";
  62. this.button1.Size = new System.Drawing.Size(118, 48);
  63. this.button1.TabIndex = 0;
  64. this.button1.Text = "初始化模型";
  65. this.button1.UseVisualStyleBackColor = true;
  66. this.button1.Click += new System.EventHandler(this.button1_Click);
  67. //
  68. // button2
  69. //
  70. this.button2.Location = new System.Drawing.Point(383, 5);
  71. this.button2.Name = "button2";
  72. this.button2.Size = new System.Drawing.Size(118, 48);
  73. this.button2.TabIndex = 1;
  74. this.button2.Text = "加载图片";
  75. this.button2.UseVisualStyleBackColor = true;
  76. this.button2.Click += new System.EventHandler(this.button2_Click);
  77. //
  78. // button3
  79. //
  80. this.button3.Location = new System.Drawing.Point(563, 5);
  81. this.button3.Name = "button3";
  82. this.button3.Size = new System.Drawing.Size(118, 48);
  83. this.button3.TabIndex = 2;
  84. this.button3.Text = "加载图片文件夹";
  85. this.button3.UseVisualStyleBackColor = true;
  86. this.button3.Click += new System.EventHandler(this.button3_Click);
  87. //
  88. // button4
  89. //
  90. this.button4.Location = new System.Drawing.Point(747, 5);
  91. this.button4.Name = "button4";
  92. this.button4.Size = new System.Drawing.Size(118, 48);
  93. this.button4.TabIndex = 3;
  94. this.button4.Text = "加载视频流";
  95. this.button4.UseVisualStyleBackColor = true;
  96. this.button4.Click += new System.EventHandler(this.button4_Click);
  97. //
  98. // button5
  99. //
  100. this.button5.Location = new System.Drawing.Point(926, 5);
  101. this.button5.Name = "button5";
  102. this.button5.Size = new System.Drawing.Size(118, 48);
  103. this.button5.TabIndex = 4;
  104. this.button5.Text = "模型推理";
  105. this.button5.UseVisualStyleBackColor = true;
  106. this.button5.Click += new System.EventHandler(this.button5_Click);
  107. //
  108. // pictureBox1
  109. //
  110. this.pictureBox1.BackColor = System.Drawing.SystemColors.ActiveBorder;
  111. this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
  112. this.pictureBox1.Location = new System.Drawing.Point(37, 106);
  113. this.pictureBox1.Name = "pictureBox1";
  114. this.pictureBox1.Size = new System.Drawing.Size(586, 571);
  115. this.pictureBox1.TabIndex = 5;
  116. this.pictureBox1.TabStop = false;
  117. //
  118. // pictureBox2
  119. //
  120. this.pictureBox2.BackColor = System.Drawing.SystemColors.ActiveBorder;
  121. this.pictureBox2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
  122. this.pictureBox2.Location = new System.Drawing.Point(645, 106);
  123. this.pictureBox2.Name = "pictureBox2";
  124. this.pictureBox2.Size = new System.Drawing.Size(586, 571);
  125. this.pictureBox2.TabIndex = 6;
  126. this.pictureBox2.TabStop = false;
  127. //
  128. // openFileDialog1
  129. //
  130. this.openFileDialog1.FileName = "加载单张图片";
  131. //
  132. // button6
  133. //
  134. this.button6.Location = new System.Drawing.Point(962, 59);
  135. this.button6.Name = "button6";
  136. this.button6.Size = new System.Drawing.Size(82, 25);
  137. this.button6.TabIndex = 8;
  138. this.button6.Text = "终止推理";
  139. this.button6.UseVisualStyleBackColor = true;
  140. this.button6.Click += new System.EventHandler(this.button6_Click);
  141. //
  142. // button7
  143. //
  144. this.button7.Location = new System.Drawing.Point(205, 59);
  145. this.button7.Name = "button7";
  146. this.button7.Size = new System.Drawing.Size(82, 25);
  147. this.button7.TabIndex = 9;
  148. this.button7.Text = "销毁模型";
  149. this.button7.UseVisualStyleBackColor = true;
  150. this.button7.Click += new System.EventHandler(this.button7_Click);
  151. //
  152. // comboBox1
  153. //
  154. this.comboBox1.FormattingEnabled = true;
  155. this.comboBox1.Items.AddRange(new object[] {
  156. "CPU",
  157. "GPU"});
  158. this.comboBox1.Location = new System.Drawing.Point(502, 56);
  159. this.comboBox1.Name = "comboBox1";
  160. this.comboBox1.Size = new System.Drawing.Size(49, 25);
  161. this.comboBox1.TabIndex = 10;
  162. this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
  163. //
  164. // label1
  165. //
  166. this.label1.AutoSize = true;
  167. this.label1.Location = new System.Drawing.Point(440, 60);
  168. this.label1.Name = "label1";
  169. this.label1.Size = new System.Drawing.Size(56, 17);
  170. this.label1.TabIndex = 11;
  171. this.label1.Text = "运行环境";
  172. //
  173. // label2
  174. //
  175. this.label2.AutoSize = true;
  176. this.label2.Location = new System.Drawing.Point(568, 60);
  177. this.label2.Name = "label2";
  178. this.label2.Size = new System.Drawing.Size(56, 17);
  179. this.label2.TabIndex = 12;
  180. this.label2.Text = "模型类型";
  181. //
  182. // comboBox2
  183. //
  184. this.comboBox2.FormattingEnabled = true;
  185. this.comboBox2.Items.AddRange(new object[] {
  186. "det",
  187. "seg",
  188. "clas",
  189. "mask",
  190. "paddlex"});
  191. this.comboBox2.Location = new System.Drawing.Point(630, 56);
  192. this.comboBox2.Name = "comboBox2";
  193. this.comboBox2.Size = new System.Drawing.Size(49, 25);
  194. this.comboBox2.TabIndex = 13;
  195. this.comboBox2.SelectedIndexChanged += new System.EventHandler(this.comboBox2_SelectedIndexChanged);
  196. //
  197. // label3
  198. //
  199. this.label3.AutoSize = true;
  200. this.label3.Location = new System.Drawing.Point(697, 60);
  201. this.label3.Name = "label3";
  202. this.label3.Size = new System.Drawing.Size(56, 17);
  203. this.label3.TabIndex = 14;
  204. this.label3.Text = "检测阈值";
  205. //
  206. // comboBox3
  207. //
  208. this.comboBox3.FormattingEnabled = true;
  209. this.comboBox3.Items.AddRange(new object[] {
  210. "0.0",
  211. "0.1",
  212. "0.2",
  213. "0.3",
  214. "0.4",
  215. "0.5",
  216. "0.6",
  217. "0.7",
  218. "0.9"});
  219. this.comboBox3.Location = new System.Drawing.Point(759, 56);
  220. this.comboBox3.Name = "comboBox3";
  221. this.comboBox3.Size = new System.Drawing.Size(49, 25);
  222. this.comboBox3.TabIndex = 15;
  223. this.comboBox3.SelectedIndexChanged += new System.EventHandler(this.comboBox3_SelectedIndexChanged);
  224. //
  225. // numericUpDown1
  226. //
  227. this.numericUpDown1.Increment = new decimal(new int[] {
  228. 50,
  229. 0,
  230. 0,
  231. 0});
  232. this.numericUpDown1.Location = new System.Drawing.Point(1119, 41);
  233. this.numericUpDown1.Maximum = new decimal(new int[] {
  234. 1000,
  235. 0,
  236. 0,
  237. 0});
  238. this.numericUpDown1.Name = "numericUpDown1";
  239. this.numericUpDown1.Size = new System.Drawing.Size(61, 23);
  240. this.numericUpDown1.TabIndex = 16;
  241. this.numericUpDown1.ValueChanged += new System.EventHandler(this.numericUpDown1_ValueChanged);
  242. //
  243. // label4
  244. //
  245. this.label4.AutoSize = true;
  246. this.label4.Location = new System.Drawing.Point(1115, 21);
  247. this.label4.Name = "label4";
  248. this.label4.Size = new System.Drawing.Size(105, 17);
  249. this.label4.TabIndex = 17;
  250. this.label4.Text = "连续推理间隔(ms)";
  251. //
  252. // label5
  253. //
  254. this.label5.AutoSize = true;
  255. this.label5.Location = new System.Drawing.Point(48, 21);
  256. this.label5.Name = "label5";
  257. this.label5.Size = new System.Drawing.Size(80, 17);
  258. this.label5.TabIndex = 18;
  259. this.label5.Text = "实时推理速度";
  260. //
  261. // label6
  262. //
  263. this.label6.AutoSize = true;
  264. this.label6.Location = new System.Drawing.Point(99, 46);
  265. this.label6.Name = "label6";
  266. this.label6.Size = new System.Drawing.Size(25, 17);
  267. this.label6.TabIndex = 20;
  268. this.label6.Text = "ms";
  269. //
  270. // label7
  271. //
  272. this.label7.AutoSize = true;
  273. this.label7.BackColor = System.Drawing.SystemColors.HighlightText;
  274. this.label7.Location = new System.Drawing.Point(48, 46);
  275. this.label7.Name = "label7";
  276. this.label7.Size = new System.Drawing.Size(32, 17);
  277. this.label7.TabIndex = 21;
  278. this.label7.Text = "0.00";
  279. //
  280. // label8
  281. //
  282. this.label8.AutoSize = true;
  283. this.label8.Location = new System.Drawing.Point(569, 85);
  284. this.label8.Name = "label8";
  285. this.label8.Size = new System.Drawing.Size(54, 17);
  286. this.label8.TabIndex = 22;
  287. this.label8.Text = "GPU_ID:";
  288. //
  289. // textBox1
  290. //
  291. this.textBox1.Location = new System.Drawing.Point(630, 82);
  292. this.textBox1.Name = "textBox1";
  293. this.textBox1.Size = new System.Drawing.Size(49, 23);
  294. this.textBox1.TabIndex = 23;
  295. this.textBox1.TextChanged += new System.EventHandler(this.textBox1_TextChanged);
  296. //
  297. // Form1
  298. //
  299. this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
  300. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  301. this.ClientSize = new System.Drawing.Size(1264, 681);
  302. this.Controls.Add(this.textBox1);
  303. this.Controls.Add(this.label8);
  304. this.Controls.Add(this.label7);
  305. this.Controls.Add(this.label6);
  306. this.Controls.Add(this.label5);
  307. this.Controls.Add(this.label4);
  308. this.Controls.Add(this.numericUpDown1);
  309. this.Controls.Add(this.comboBox3);
  310. this.Controls.Add(this.label3);
  311. this.Controls.Add(this.comboBox2);
  312. this.Controls.Add(this.label2);
  313. this.Controls.Add(this.label1);
  314. this.Controls.Add(this.comboBox1);
  315. this.Controls.Add(this.button7);
  316. this.Controls.Add(this.button6);
  317. this.Controls.Add(this.pictureBox2);
  318. this.Controls.Add(this.pictureBox1);
  319. this.Controls.Add(this.button5);
  320. this.Controls.Add(this.button4);
  321. this.Controls.Add(this.button3);
  322. this.Controls.Add(this.button2);
  323. this.Controls.Add(this.button1);
  324. this.MaximumSize = new System.Drawing.Size(1280, 720);
  325. this.MinimumSize = new System.Drawing.Size(1280, 720);
  326. this.Name = "Form1";
  327. this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
  328. this.Text = "可视化推理界面";
  329. this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FromClosing);
  330. this.Load += new System.EventHandler(this.Form1_Load);
  331. ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
  332. ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
  333. ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
  334. this.ResumeLayout(false);
  335. this.PerformLayout();
  336. }
  337. #endregion
  338. private System.Windows.Forms.Button button1;
  339. private System.Windows.Forms.Button button2;
  340. private System.Windows.Forms.Button button3;
  341. private System.Windows.Forms.Button button4;
  342. private System.Windows.Forms.Button button5;
  343. private System.Windows.Forms.PictureBox pictureBox1;
  344. private System.Windows.Forms.PictureBox pictureBox2;
  345. private System.Windows.Forms.OpenFileDialog openFileDialog1;
  346. private System.Windows.Forms.FolderBrowserDialog folderBrowserDialog1;
  347. private System.Windows.Forms.Button button6;
  348. private System.Windows.Forms.Button button7;
  349. private System.Windows.Forms.ComboBox comboBox1;
  350. private System.Windows.Forms.Label label1;
  351. private System.Windows.Forms.Label label2;
  352. private System.Windows.Forms.ComboBox comboBox2;
  353. private System.Windows.Forms.Label label3;
  354. private System.Windows.Forms.ComboBox comboBox3;
  355. private System.Windows.Forms.NumericUpDown numericUpDown1;
  356. private System.Windows.Forms.Label label4;
  357. private System.Windows.Forms.Label label5;
  358. private System.Windows.Forms.Label label6;
  359. private System.Windows.Forms.Label label7;
  360. private System.Windows.Forms.Label label8;
  361. private System.Windows.Forms.TextBox textBox1;
  362. }
  363. }