最近在撰寫IP Camera程式讀取時,
發生一些以前沒注意的細節。
(1) 跨執行緒問題
下面是一個常見的onFrameGrabbed事件的寫法,

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


 
透過特徵點得到homography matrix
 

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



 

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



開啟新的空白方案,輸入關鍵字: 空白
建ˋ不含專案的空白方案

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



官方Github下載
點選頁 面tags連結

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

  在Azure上通过asp.net使用EmguCV Tutorial how to use EmguCV in Asp.Net MVC application Turn your OpenCV Code into a Web API in under 10 minutes — Part 1

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

image
The following is an example[1] of image blending, which seamlessly combines two different images by using the mask of itself. About half a year ago, I studied something about how to mange multiple ROIs(region of interest) as shown below. Today I am planing to combine both of them in order to meet my new requirements.

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

image
Source Image: img1 Target Image: img2 Mask Image

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

image

C:\Emgu\emgutf-windesktop_x64 1.3.0.50

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

image
目前功能 1. 可以新增多個ROI(region of interest) 2. 每個ROI可以編輯大小, 八個控制點, 可以任意拖拉 3. ROI左上角開始編號, 逆時針方向0~7號, 經過拖拉控制點改變相對位置後,所有控制點編號會保持一致, 自動更新正確的相對編號 4. 圖層關係, 最新繪製的ROI會在最上層

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

 1: public Mat ConvertBitmapToMat(Bitmap bmp)
 2: {
 3: // Lock the bitmap's bits. 
 4: Rectangle rect = new Rectangle(0, 0, bmp.Width, bmp.Height);
 5:  
 6: System.Drawing.Imaging.BitmapData bmpData =
 7: bmp.LockBits(rect, System.Drawing.Imaging.ImageLockMode.ReadWrite,
 8: bmp.PixelFormat);
 9:  
 10: // data = scan0 is a pointer to our memory block.
 11: IntPtr data = bmpData.Scan0;
 12:  
 13: // step = stride = amount of bytes for a single line of the image
 14: int step = bmpData.Stride;
 15:  
 16: // So you can try to get you Mat instance like this:
 17: Mat mat = new Mat(bmp.Height, bmp.Width, Emgu.CV.CvEnum.DepthType.Cv32F, 4, data, step);
 18:  
 19: // Unlock the bits.
 20: bmp.UnlockBits(bmpData);
 21:  
 22: return mat;
 23: }

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

image
安裝3.1.0.2504版本C:\Emgu\emgucv-windesktop 3.1.0.2504---------------------------(2) 安裝 emgucv-windesktop-tbb-ipp-icc 3.1.0.2504加速版本C:\Emgu\emgucv-windesktop-tbb-ipp-icc 3.1.0.2504兩個版本差異 x64資料夾 兩個版本在bin資料夾下是一樣的!!很可惜,下面幾張圖是加速的版本跑出來的結果,似乎跟原本跑出來的速度差不多,有些甚至跑不贏原本未加速前,IPP-TBB-ICC版本真是出乎我意料之外@@

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

1 2 3 4
Blog Stats
⚠️

成人內容提醒

本部落格內容僅限年滿十八歲者瀏覽。
若您未滿十八歲,請立即離開。

已滿十八歲者,亦請勿將內容提供給未成年人士。