- Sep 01 Tue 2020 12:24
OpenVino with Intel Neural Compute Stick 2
- Aug 31 Mon 2020 09:56
[Design Pattern] 代理模式 (Proxy Pattern)
- Jun 12 Fri 2020 11:29
A collection of QGraphicsView tutorials and applications
- May 28 Thu 2020 17:08
Multiple Object Tracking Benchmark
- May 26 Tue 2020 00:07
QThread tutorial part 2
This time we are going to create a new Object intead of using subclass of QThread,
- May 19 Tue 2020 14:12
QThread tutorial
A good example for writing QThread with a GUI.
- May 15 Fri 2020 11:46
Qt Mouse Event on QLabel
A good example that help you learn how to handle mouse events
- May 15 Fri 2020 10:36
How to find out if the rectangle inside another rectangle?
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();
- May 12 Tue 2020 11:03
Building a computer vision software with Qt and OpenCV
A good example that shows image processing by using OpenCV with Qt IDE.
- Apr 24 Fri 2020 10:22
How to register OpenCV Mat data type in the communication between Qt signal and slot
First, set up OpenCV building environments
- Apr 23 Thu 2020 11:55
How to register OpenCV Mat data type in the communication between Qt signal and slot
First, set up OpenCV building environments
- Apr 22 Wed 2020 16:40
How to hide and remove the boarder of a QTabWidget
- Apr 22 Wed 2020 15:48
How to run a function in a separate thread in Qt Window App
- Apr 22 Wed 2020 14:50
How to Load a image in a Qt Window Application
- Apr 21 Tue 2020 21:44
How to add QTabWidget dynamically
- Apr 13 Mon 2020 08:21
How to create a thread in Qt Application
- Apr 04 Sat 2020 20:48
How to load and display an image on Qt GUI with OpenCV 4.2.0 in Jetson nano
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.
- Apr 04 Sat 2020 20:20
Creating a Qt Console Application with OpenCV4.2.0 in Jetson Nano
- Apr 04 Sat 2020 07:42
QMessageBox Example
- Apr 04 Sat 2020 07:34
Installing Git for Windows v2.26.0
- Apr 02 Thu 2020 11:58
How to Show Another Window From MainWindow in QT
- Mar 31 Tue 2020 18:49
How to load and display an image on Qt GUI with OpenCV 4.2.0
Platform: Windows 10
- Mar 31 Tue 2020 16:55
Creating a Qt Console Application with OpenCV4.2.0
- Mar 30 Mon 2020 11:41
Installing Qt 5.14.1
- Mar 24 Tue 2020 16:16
Installing OpenCV 4.2.0 with Contrib + CUDA 10 + cuDNN 7.6.5 on Windows 10
If you are trying to run DNN in OpenCV and unfortunately get such an error message:
- Mar 17 Tue 2020 16:09
Accelerating OpenCV 4 – build with CUDA 10.0 on Windows
- Feb 17 Mon 2020 14:51
Object Tracking using OpenCV with GPU
- Dec 06 Fri 2019 10:06
偏好隱含型別的區域變數
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: }
- Oct 19 Sat 2019 07:00
OpenCL Error: Unknown error waiting for idle on GeForce GTX 1080 Ti (Device
- Oct 14 Mon 2019 23:49
Windows上的Docker安裝
- Oct 14 Mon 2019 17:06
清楚又最實用的PPT教學(整理)
- Oct 07 Mon 2019 11:48
Face Recognition Database
- Sep 19 Thu 2019 10:07
C# Create a Bitmap from a IntPtr
C# call a c++ method, which is called GetSourceImage(…)
- Sep 08 Sun 2019 21:13
多執行緒與非同步執行
- Aug 18 Sun 2019 10:34
MacBook Pro notes
- Aug 15 Thu 2019 11:03
WPF Dispatcher非同步應用(防止介面無反應)
- Aug 06 Tue 2019 11:21
WPF 如何修改Combox背景顏色
如果你想要直接修改ComboBox背景顏色為自訂義漸層顏色,
- Aug 05 Mon 2019 12:11
使用Grid與GridSplitter排版布局
- Aug 05 Mon 2019 11:14
WPF Markup Extension
- Jul 31 Wed 2019 10:52
WPF 簡易桌面時鐘
- Jul 31 Wed 2019 10:24
使用EntityFramework連接資料庫
- Jul 18 Thu 2019 23:29
4 Steps of the Deep Learning Workflow
- Jun 20 Thu 2019 22:23
OpenTK Tutorial 1
新增主控台應用程式
- Apr 23 Tue 2019 11:28
Tesseract相關
- Mar 25 Mon 2019 09:55
WPF- MVVM
- Mar 21 Thu 2019 10:41
列舉(枚舉)值看作位標記
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: }
- Mar 21 Thu 2019 09:50
[C#.NET] 定義常數時用 readonly 好? 還是 const 好?
- Mar 21 Thu 2019 09:40
Windows Forms 中裝載 WPF 控制項
(1) 在 Windows Forms 中裝載 WPF 控制項
- Mar 19 Tue 2019 14:25
Binding ICommand (命令繫結)
- Feb 27 Wed 2019 15:38
C# Serialization & Deserialization
- Feb 27 Wed 2019 14:57
SQLite 資料庫 C# 程式範例
- Feb 23 Sat 2019 11:32
C#中Json的序列化和反序列化
- Feb 03 Sun 2019 11:28
安裝DB Browser for SQLite
- Feb 02 Sat 2019 09:21
C# AES 加解密CryptographicException 填補無效,而且無法移除 問題
在做AES 加解密 發生 CryptographicException 填補無效,而且無法移除錯誤,
- Feb 01 Fri 2019 14:48
軟體加密+硬體鎖保護
取得電腦資訊
- Jan 31 Thu 2019 15:29
SQL資料庫查詢/刪除
挑選一段時間範圍內的資料
- Jan 27 Sun 2019 22:13
SVM model fails to load
- Jan 24 Thu 2019 11:27
Load x64 or a x86 DLL depending upon the platform? [duplicate]