确定项目框架

This commit is contained in:
zjc-zjc-123 2024-11-12 13:57:12 +08:00
parent c67fcee848
commit 019f3cbdc6
7 changed files with 43 additions and 0 deletions

View File

@ -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
View File

@ -0,0 +1,3 @@
//
// Created by zjc on 24-11-12.
//

8
Matrox/color_range.h Normal file
View 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
View File

@ -0,0 +1,5 @@
//
// Created by zjc on 24-11-12.
//
#include "onnx_running.h"

8
Matrox/onnx_running.h Normal file
View File

@ -0,0 +1,8 @@
//
// Created by zjc on 24-11-12.
//
#ifndef ONNX_RUNNING_H
#define ONNX_RUNNING_H
#endif //ONNX_RUNNING_H

View File

@ -0,0 +1,3 @@
//
// Created by zjc on 24-11-12.
//

View File

@ -0,0 +1,8 @@
//
// Created by zjc on 24-11-12.
//
#ifndef TEMPLATE_MATCHING_H
#define TEMPLATE_MATCHING_H
#endif //TEMPLATE_MATCHING_H