PIXNET Logo登入

天天向上

跳到主文

程式外包服務  E-mail: me1237guy@yahoo.com.tw 歡迎來信洽談, 請附上相關文件或問題說明, 謝謝

專長:  ※自動光學檢測 ※人臉辨識 ※車牌辨識 ※錄影監控系統 ※自動控制I/O相關 
      ※演算法開發 ※基因演算法 ※類神經網路 
      ※MATLAB  ※VISUAL C++/C# ※Xamarin ※OpenCV ※Emgu ※Unity ※QT4/5
-----------------------------------------------------------------------------------------------
   SA (模擬退火法)     GA (基因演算法)    ACO (蟻群演算法)    PSO (粒子最佳化演算法)   
   排列組合問題最佳化   TSP  Scheduling  K-means, Fuzzy C-means, KNN, DBSCAN分群  
   Fuzzy Control (模糊控制)  Neural Networks (類神經網路) Object Tracking (Kalman Filter, Optical Flow)  
   Object Recognition (Pattern Match, Haar-Like Features, EigenFace)  Human Pose Recognition
   人臉偵測     移動物偵測   車牌辨識    智慧型監控攝影  XBOX Kinect影像處理及應用 體感互動應用  
   自動光學檢測(AOI) 玻璃檢測  NVIDIA CUDA平行運算處理
   TI-DSP 6xxx系列 雙影像輸入   / Raspberry PI 樹莓派 / Arduino控制  自走車避障礙物(GPS/機器視覺)

部落格全站分類:數位生活

  • 相簿
  • 部落格
  • 留言
  • 名片
  • 2月 27 週五 201518:56
  • C# Ini檔案讀寫

image
MyToolkit函式庫加入Ini檔案讀寫功能  
 1: using System;
 2: using System.Collections.Generic;
 3: using System.Linq;
 4: using System.Text;
 5:  
 6: using System.Runtime.InteropServices;
 7: namespace MyToolkit
 8: {
 9: 
 10: public class IniFileTool
 11: {
 12: public string path;
 13: [DllImport("kernel32")]
 14: private static extern long WritePrivateProfileString(string section,
 15: string key, string val, string filePath);
 16: [DllImport("kernel32")]
 17: private static extern int GetPrivateProfileString(string section,
 18: string key, string def, StringBuilder retVal,
 19: int size, string filePath);
 20: /// <summary>
 21: /// INIFile Constructor.
 22: /// </summary>
 23: /// <PARAM name="INIPath"></PARAM>
 24: public IniFileTool(string INIPath)
 25: {
 26: path = INIPath;
 27: }
 28: /// <summary>
 29: /// Write Data to the INI File
 30: /// </summary>
 31: /// <PARAM name="Section"></PARAM>
 32: /// Section name
 33: /// <PARAM name="Key"></PARAM>
 34: /// Key Name
 35: /// <PARAM name="Value"></PARAM>
 36: /// Value Name
 37: public void IniWriteValue(string Section, string Key, string Value)
 38: {
 39: WritePrivateProfileString(Section, Key, Value, this.path);
 40: }
 41:  
 42: /// <summary>
 43: /// Read Data Value From the Ini File
 44: /// </summary>
 45: /// <PARAM name="Section"></PARAM>
 46: /// <PARAM name="Key"></PARAM>
 47: /// <PARAM name="Path"></PARAM>
 48: /// <returns></returns>
 49: public string IniReadValue(string Section, string Key)
 50: {
 51: StringBuilder temp = new StringBuilder(255);
 52: int i = GetPrivateProfileString(Section, Key, "", temp,
 53: 255, this.path);
 54: return temp.ToString();
 55:  
 56: }
 57: }
 58: }
(繼續閱讀...)
文章標籤

me1237guy 發表在 痞客邦 留言(0) 人氣(4,329)

  • 個人分類:C#
▲top
  • 2月 26 週四 201502:35
  • C# ListView套餐點餐應用

image
拉一個MenuStrip, SplitContainer和ListView元件 加入3個button 設定splitContainer1.Panel2的背景圖, 點選BackgroundImage選擇想要的背景圖片
(繼續閱讀...)
文章標籤

me1237guy 發表在 痞客邦 留言(0) 人氣(2,834)

  • 個人分類:C#
▲top
  • 2月 25 週三 201514:06
  • C# TreeView和ImageList應用

image
人機介面如下: imageList加入圖示 圖片來源: food icon
(繼續閱讀...)
文章標籤

me1237guy 發表在 痞客邦 留言(0) 人氣(4,615)

  • 個人分類:C#
▲top
  • 2月 24 週二 201521:05
  • C# 自訂最大化,最小化和關閉按鈕

image
修改Form的FormBoarderStyle屬性->None 完成後加入1個panel命名為panel_All panel_All的Dock屬性改成Fill 加入3個pictureBox分別命名為pictureBox_Min, pictureBox_Max和pictureBox_Close pictureBox_Min的Tag屬性值=0 pictureBox_Max的Tag屬性值=1 pictureBox_Close的Tag屬性值=2
(繼續閱讀...)
文章標籤

me1237guy 發表在 痞客邦 留言(0) 人氣(3,116)

  • 個人分類:C#
▲top
  • 2月 24 週二 201514:09
  • C# 將視窗位置的坐標寫入註冊表

image
加入命名空間


 1: using Microsoft.Win32;


(繼續閱讀...)
文章標籤

me1237guy 發表在 痞客邦 留言(0) 人氣(153)

  • 個人分類:C#
▲top
  • 2月 24 週二 201508:16
  • C# Lambda運算式

image
「Lambda 運算式」(Lambda Expression) 是一種匿名函式, 它可以包含運算式和陳述式 (Statement),而且可以用來建立委派 (Delegate)
(繼續閱讀...)
文章標籤

me1237guy 發表在 痞客邦 留言(0) 人氣(3,661)

  • 個人分類:C#
▲top
  • 2月 23 週一 201521:58
  • C# Delegates with Anonymous Methods(匿名方法)and Named Methods(具名方法)

image
    加入 Form1_Load事件
 1: delegate int multiply(int x, int y);
 2: delegate int timestwo(int x); // [1] 新增一個叫做timestwo的delegate,其輸入個數 = 1, 輸出個數=1 
 3:  
 4: timestwo t = delegate(int x) { return 2 * x; }; // 定義一個timestwo變數t, 利用匿名方法初始化之 
 5: multiply m = delegate(int x, int y) { return x * y; };
 6: private void button2_Click(object sender, EventArgs e)
 7: {
 8: MessageBox.Show(t(5).ToString());
 9: MessageBox.Show( m(5, 6).ToString());
 10: }
(繼續閱讀...)
文章標籤

me1237guy 發表在 痞客邦 留言(0) 人氣(327)

  • 個人分類:C#
▲top
  • 2月 22 週日 201521:44
  • VS2010 C# 透過Serial Port寫入電子鐘

image
(1) RJ45轉RS232 (2) RS232轉USB (3) 電子鐘<->RJ45轉RS232轉換器接線 如下 (4)電子鐘電源接上後, 預設0:00.00
(繼續閱讀...)
文章標籤

me1237guy 發表在 痞客邦 留言(0) 人氣(6,120)

  • 個人分類:C#
▲top
  • 2月 20 週五 201518:33
  • convolutional neural network with OpenCV2.4.9

image
conv-net: 下載 conv-net-0.1-prealpha.tar解壓縮至 C:\20150202wafer\cnet\conv-net-0.1 新增Win32主控台應用程式
(繼續閱讀...)
文章標籤

me1237guy 發表在 痞客邦 留言(3) 人氣(896)

  • 個人分類:OpenCV
▲top
  • 2月 20 週五 201507:04
  • 用MATLAB實作convolutional neural network(CNN)

image
CNN: 下載   下載手寫數字資料庫 train-images-idx3-ubyte.gz:  training set images (9912422 bytes)
train-labels-idx1-ubyte.gz:  training set labels (28881 bytes)
t10k-images-idx3-ubyte.gz:   test set images (1648877 bytes)
t10k-labels-idx1-ubyte.gz:   test set labels (4542 bytes)
(繼續閱讀...)
文章標籤

me1237guy 發表在 痞客邦 留言(8) 人氣(13,111)

  • 個人分類:MATLAB
▲top
«1...61626389»

個人資訊

me1237guy
暱稱:
me1237guy
分類:
數位生活
好友:
累積中
地區:

熱門文章

  • (8,482)分水嶺影像分割Marker-based Image Segmentation Algorithm Using OpenCV2.4.7 with Visual Studio 2010
  • (4,000)Pylon Live View C# Sample Code Review
  • (14,170)網路上提供測試 RTSP 的伺服器
  • (23,895)Adding Something to DataGridView
  • (2,907)C# 在憑證存放區中找不到資訊清單簽署憑證
  • (4,388)安裝PLC學習軟體 FX-TRN-BEG-T
  • (7,367)建立和使用 C# 的 DLL
  • (3,660)安裝Open eVision 1.2.5.8549
  • (12,907)EmguCV : 圈選感興趣區域
  • (25,025)C# 如何創建, 暫停, 繼續, 終止一個執行緒(Thread)

文章分類

  • wordpress (2)
  • 雲端計算 (1)
  • 邊緣運算 (5)
  • MPI (2)
  • Git & Github (6)
  • Unity (2)
  • Android Studio (10)
  • Deep Leraning (35)
  • LaTex (2)
  • Linux (6)
  • jetson nano (3)
  • Qt (20)
  • Docker (4)
  • Office (1)
  • OpenTK (1)
  • WPF (8)
  • SQL (4)
  • Revit (6)
  • MATLAB (13)
  • R Language (8)
  • Design Pattern & Implementation by Using C# (48)
  • RaspberryPI (5)
  • Python (77)
  • 其他語言 (40)
  • 攝影機 (45)
  • 工業應用 (50)
  • 家庭 (12)
  • Mobile (31)
  • 工作日誌 (2)
  • Linux (5)
  • C/C++ (15)
  • AOI (41)
  • Emgu CV (42)
  • C# (147)
  • Visual Studio (48)
  • OpenCV (118)
  • 未分類文章 (1)

最新文章

  • Gemini API Key 低成本 Nano Banana Pro作圖
  • DMK 37AUX226
  • wafer基礎術語
  • 將資料夾中多個mp4影片合併成一個mp4檔案
  • 如何用沙子制造芯片:从冶炼硅锭到晶圆打磨|芯片工艺合集
  • yolov9安裝
  • ActionEngine, ActionTask and ActionWorker
  • @dataclass裝飾子
  • IO控制卡安裝驅動器後無法在此裝置載入驅動程式
  • How you put and then get items from a queue.Queue

動態訂閱

文章精選

文章搜尋

誰來我家

參觀人氣

  • 本日人氣:
  • 累積人氣: