feat: init OpenCV C++ training course with 8 experiments and detailed tutorial

This commit is contained in:
TuxMonkey
2026-07-27 14:23:06 +08:00
commit 5fdfd9791a
18 changed files with 3843 additions and 0 deletions

11
exp4_canny/CMakeLists.txt Normal file
View File

@@ -0,0 +1,11 @@
# ============================================================
# 实验 4:Canny 边缘检测 - CMake 构建配置文件
# ============================================================
cmake_minimum_required(VERSION 3.10)
project(exp4_canny)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
find_package(OpenCV REQUIRED)
add_executable(exp4 main.cpp)
target_link_libraries(exp4 ${OpenCV_LIBS})
include_directories(${OpenCV_INCLUDE_DIRS})