mirror of
https://github.com/Karllzy/cotton_color.git
synced 2025-11-08 18:53:53 +00:00
确定项目框架
This commit is contained in:
parent
c67fcee848
commit
019f3cbdc6
@ -35,7 +35,15 @@ add_executable(cotton_color cotton_color.cpp)
|
||||
# 链接 OpenCV 和 Qt 库
|
||||
target_link_libraries(cotton_color Qt6::Widgets ${OpenCV_LIBS})
|
||||
|
||||
# 添加可执行文件 cotton_color
|
||||
add_executable(cotton_range Matrox/color_range.cpp)
|
||||
# 链接 OpenCV 和 Qt 库
|
||||
target_link_libraries(cotton_range Qt6::Widgets ${OpenCV_LIBS})
|
||||
|
||||
# 添加可执行文件 cotton_color2
|
||||
add_executable(cotton_color2 cotton_color2.cpp)
|
||||
# 链接 OpenCV 和 Qt 库
|
||||
target_link_libraries(cotton_color2 Qt6::Widgets ${OpenCV_LIBS})
|
||||
add_executable(color_matching Matrox/template_matching.cpp
|
||||
Matrox/onnx_running.cpp
|
||||
Matrox/onnx_running.h)
|
||||
|
||||
3
Matrox/color_range.cpp
Normal file
3
Matrox/color_range.cpp
Normal file
@ -0,0 +1,3 @@
|
||||
//
|
||||
// Created by zjc on 24-11-12.
|
||||
//
|
||||
8
Matrox/color_range.h
Normal file
8
Matrox/color_range.h
Normal file
@ -0,0 +1,8 @@
|
||||
//
|
||||
// Created by zjc on 24-11-12.
|
||||
//
|
||||
|
||||
#ifndef COLOR_RANGE_H
|
||||
#define COLOR_RANGE_H
|
||||
|
||||
#endif //COLOR_RANGE_H
|
||||
5
Matrox/onnx_running.cpp
Normal file
5
Matrox/onnx_running.cpp
Normal file
@ -0,0 +1,5 @@
|
||||
//
|
||||
// Created by zjc on 24-11-12.
|
||||
//
|
||||
|
||||
#include "onnx_running.h"
|
||||
8
Matrox/onnx_running.h
Normal file
8
Matrox/onnx_running.h
Normal file
@ -0,0 +1,8 @@
|
||||
//
|
||||
// Created by zjc on 24-11-12.
|
||||
//
|
||||
|
||||
#ifndef ONNX_RUNNING_H
|
||||
#define ONNX_RUNNING_H
|
||||
|
||||
#endif //ONNX_RUNNING_H
|
||||
3
Matrox/template_matching.cpp
Normal file
3
Matrox/template_matching.cpp
Normal file
@ -0,0 +1,3 @@
|
||||
//
|
||||
// Created by zjc on 24-11-12.
|
||||
//
|
||||
8
Matrox/template_matching.h
Normal file
8
Matrox/template_matching.h
Normal file
@ -0,0 +1,8 @@
|
||||
//
|
||||
// Created by zjc on 24-11-12.
|
||||
//
|
||||
|
||||
#ifndef TEMPLATE_MATCHING_H
|
||||
#define TEMPLATE_MATCHING_H
|
||||
|
||||
#endif //TEMPLATE_MATCHING_H
|
||||
Loading…
Reference in New Issue
Block a user