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/機器視覺)

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

  • 相簿
  • 部落格
  • 留言
  • 名片
  • 4月 23 週四 202011:55
  • How to register OpenCV Mat data type in the communication between Qt signal and slot

image
First, set up OpenCV building environments
INCLUDEPATH += C:\OpenCV\OpenCV4.2.0DNN\include
LIBS += -LC:\OpenCV\OpenCV4.2.0DNN\lib \
-lopencv_world420
(繼續閱讀...)
文章標籤

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

  • 個人分類:
▲top
  • 4月 22 週三 202016:40
  • How to hide and remove the boarder of a QTabWidget


You can get all tabBars contained in a tabWidget by using findChild, which is a method of QTabWidget.After that, you can hide them at once.
 
QTabBar *tabBar = ui->tabWidget->findChild<QTabBar *>();
tabBar->hide();
(繼續閱讀...)
文章標籤

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

  • 個人分類:Qt
▲top
  • 4月 22 週三 202015:48
  • How to run a function in a separate thread in Qt Window App

image

mainwindow.h
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
 
#include <QMainWindow>
#include <QtConcurrent/QtConcurrentRun>
QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE
 
class MainWindow : public QMainWindow
{
 Q_OBJECT
 
public:
 MainWindow(QWidget *parent = nullptr);
 ~MainWindow();
 
private slots:
 void on_pushButton_start_clicked();
 
 void on_pushButton_stop_clicked();
 
private:
 Ui::MainWindow *ui;
 int counter;
 bool running;
 
private:
 void addCounter();
};
#endif // MAINWINDOW_H
(繼續閱讀...)
文章標籤

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

  • 個人分類:Qt
▲top
  • 4月 22 週三 202014:50
  • How to Load a image in a Qt Window Application

image

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

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

  • 個人分類:Qt
▲top
  • 4月 21 週二 202021:44
  • How to add QTabWidget dynamically

image

Change tabPosition
Change tabShape
(繼續閱讀...)
文章標籤

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

  • 個人分類:Qt
▲top
  • 4月 13 週一 202008:21
  • How to create a thread in Qt Application

image

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

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

  • 個人分類:Qt
▲top
  • 4月 04 週六 202020:48
  • How to load and display an image on Qt GUI with OpenCV 4.2.0 in Jetson nano

image
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.
Mat img = imread("lena.jpg");
cvtColor(img, img, COLOR_BGR2RGB);
auto w = ui->label->width();
auto h = ui->label->height();
ui->label->setPixmap(
 QPixmap::fromImage(
 QImage(img.data, img.cols, img.rows, img.step, QImage::Format_RGB888)
 ).scaled(w, h, Qt::KeepAspectRatio)

);

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

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

  • 個人分類:jetson nano
▲top
  • 4月 04 週六 202020:20
  • Creating a Qt Console Application with OpenCV4.2.0 in Jetson Nano

image

INCLUDEPATH += /usr/local/include/opencv4/
LIBS+= -L/usr/local/lib/ \
`pkg-config --cflags --libs opencv4`
(繼續閱讀...)
文章標籤

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

  • 個人分類:jetson nano
▲top
  • 4月 04 週六 202007:42
  • QMessageBox Example

image

#include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QMessageBox>
#include <QTime>
#include <QDebug>
MainWindow::MainWindow(QWidget *parent)
 : QMainWindow(parent)
 , ui(new Ui::MainWindow)
{
 ui->setupUi(this);
}
 
MainWindow::~MainWindow()
{
 delete ui;
}
 
 
void MainWindow::on_pushButton_clicked()
{
 QMessageBox::about(this, "About", "This is an about dialog");
}
 
void MainWindow::on_pushButton_2_clicked()
{
 QMessageBox::aboutQt(this, "Something about QT");
}
 
void MainWindow::on_pushButton_3_clicked()
{
 QMessageBox::critical(this,"Error occured","You should check out what happened!");
}
 
void MainWindow::on_pushButton_4_clicked()
{
 QTime dt_now = QTime::currentTime();
 QMessageBox::information(this, "Current Time: ", dt_now.toString());
}
 
void MainWindow::on_pushButton_5_clicked()
{
 QMessageBox::StandardButton reply = QMessageBox::question(this, "Login","Are you ready to go?",
 QMessageBox::Yes | QMessageBox::No);
 if(reply == QMessageBox::Yes)
 {
 QMessageBox::information(this, "Yes", "You've selected 'Yes' button");
 qDebug() << "Yes is clicked" << endl;
 }else if(reply == QMessageBox::No)
 {
 QMessageBox::information(this, "No", "You've selected 'No' button");
 qDebug() << "No is clicked" << endl;
 }
}
 
void MainWindow::on_pushButton_6_clicked()
{
 QMessageBox::warning(this, "Warning","Some warning messages have occured!");
}
(繼續閱讀...)
文章標籤

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

  • 個人分類:Qt
▲top
  • 4月 04 週六 202007:34
  • Installing Git for Windows v2.26.0

image
Downloading Git for Windows
(繼續閱讀...)
文章標籤

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

  • 個人分類:其他語言
▲top
«1...22232489»

個人資訊

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,385)安裝PLC學習軟體 FX-TRN-BEG-T
  • (7,366)建立和使用 C# 的 DLL
  • (3,658)安裝Open eVision 1.2.5.8549
  • (12,906)EmguCV : 圈選感興趣區域
  • (25,024)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

動態訂閱

文章精選

文章搜尋

誰來我家

參觀人氣

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