References:

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

[Design Pattern] 代理模式 (Proxy Pattern)

 

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

C++ Qt 82 - Custom QGraphicsItem

image

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

In this web site, it provides a lot of benchmark for multiple object tracking.

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

This time we are going to create a new Object intead of using subclass of QThread,

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

A good example for writing QThread with a GUI.

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

A good example that help you learn how to handle mouse events

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

cv::Mat img(cv::Size(800, 800), CV_8UC3);
 
   // big region of interest (ROI)
   Rect roi(100, 100, 400, 400);
   rectangle(img, roi, Scalar(255, 0, 0), 1);
 
   // some rectangles
   vector<Rect> lpROIs;
   lpROIs.push_back(Rect(30, 50, 100, 100));
   lpROIs.push_back(Rect(420, 250, 100, 100));
   lpROIs.push_back(Rect(150, 140, 100, 100));
   lpROIs.push_back(Rect(300, 100, 100, 100));
   lpROIs.push_back(Rect(250, 250, 100, 100));
   lpROIs.push_back(Rect(300, 450, 100, 100));
 
   // check out if the rectangle inside the ROI
   for(int i=0; i<lpROIs.size(); i++)
   {
       // inside the ROI
       if( (roi&lpROIs[i])==lpROIs[i] )
           rectangle(img, lpROIs[i], Scalar(0,0,255), -1);
       else
           rectangle(img, lpROIs[i], Scalar(0,255,0), 1);
   }
 
   imshow("img", img);
   waitKey();

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

A good example that shows image processing by using OpenCV with Qt IDE.

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

First, set up OpenCV building environments

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

First, set up OpenCV building environments

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


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

image

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

image

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

image

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

image

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

Unfortunately Qt creator in linux does not support BGR888 format, so we have to convert the image to RGB format by using cvtColor funtion before displaying it.

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

image

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

image

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

Downloading Git for Windows

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


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

Platform: Windows 10

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

 

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

download Qt 5.14.1

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

If you are trying to run DNN in OpenCV and unfortunately get such an error message:

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

image

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


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

   1: static void Main(string[] args)
   2:  {
   3:      var v1 = f1();
   4:      var avg1 = v1 / 3;
   5:      Console.WriteLine($"{avg1.GetType().Name}, avg: {avg1}");
   6:  
   7:      var v2 = f2();
   8:      var avg2 = v2 / 3;
   9:      Console.WriteLine($"{avg2.GetType().Name}, avg: {avg2}");
  10:  
  11:      var v3 = f3();
  12:      var avg3 = v3 / 3;
  13:      Console.WriteLine($"{avg3.GetType().Name}, avg: {avg3}");
  14:  
  15:      var v4 = f4();
  16:      var avg4 = v4 / 3;
  17:      Console.WriteLine($"{avg4.GetType().Name}, avg: {avg4}");
  18:  
  19:      var v5 = f5();
  20:      var avg5 = v5 / 3;
  21:      Console.WriteLine($"{avg5.GetType().Name}, avg: {avg5}");
  22:      Console.ReadKey();
  23:  }
  24:  static double f1()
  25:  {
  26:      double x = 100;
  27:      return x;
  28:  }
  29:  static float f2()
  30:  {
  31:      float x = 100;
  32:      return x;
  33:  }
  34:  static decimal f3()
  35:  {
  36:      decimal x = 100;
  37:      return x;
  38:  }
  39:  static long f4()
  40:  {
  41:      long x = 100;
  42:      return x;
  43:  }
  44:  static Int32 f5()
  45:  {
  46:      Int32 x = 100;
  47:      return x;
  48:  }

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

OpenCL Error: Unknown error waiting for idle on GeForce GTX 1080 Ti (Device

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


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

以下為PAPAYA電腦教室的投影片教學,有興趣的人可以去訂閱學習。

目前列出幾個還蠻厲害的特效功能,剩下等之後有機會再去研究,學完幾個招式就感覺功力大增。

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

Labeled Faces in the Wild

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

C# call a c++ method, which is called GetSourceImage(…)

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

以下根據 DKTD-WinFormThreading 文章節錄重點


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

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

image

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

如果你想要直接修改ComboBox背景顏色為自訂義漸層顏色,

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

image

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

Markup Extensions and WPF XAML


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

image

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

image

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

https://www.facebook.com/MATLAB/videos/372170376698253/

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

新增主控台應用程式

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

37 38image

39 40 image

41 42 image

31 32 image

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

1. WPF – MVVM (一)

2. WPF – MVVM (二)

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

   1:  
   2:   enum Animal
   3:   {
   4:       Dog = 0x0001,
   5:       Cat = 0x0002,
   6:       Duck = 0x0004,
   7:       Chicken = 0x0008
   8:   }
   9:   static void Main(string[] args)
  10:   {
  11:       Animal animals = Animal.Dog | Animal.Cat;
  12:       Console.WriteLine(animals.ToString());
  13:       Console.ReadKey();
  14:   }

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

先說結論:  readonly比較不會出錯,一般狀況新版的dll蓋過去就好,
但如果是const狀況,須將整個專案重新編譯,才不會出錯!


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

(1) 在 Windows Forms 中裝載 WPF 控制項

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

image

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

WIN鍵: WINDOWS菜單

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

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

參考資料

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


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

TortoiseGit->Add

image

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

Downloads

Windows

Our latest release (3.10.1) for Windows:

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

在做AES 加解密 發生 CryptographicException 填補無效,而且無法移除錯誤,

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

取得電腦資訊

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

挑選一段時間範圍內的資料

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

參考資料:

SVM model fails to load

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

參考資料:

1. Load x64 or a x86 DLL depending upon the platform? [duplicate]


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

Close

您尚未登入,將以訪客身份留言。亦可以上方服務帳號登入留言

請輸入暱稱 ( 最多顯示 6 個中文字元 )

請輸入標題 ( 最多顯示 9 個中文字元 )

請輸入內容 ( 最多 140 個中文字元 )

reload

請輸入左方認證碼:

看不懂,換張圖

請輸入驗證碼