feat: 特殊车牌生成管线 + C++/多进程/色温校正

This commit is contained in:
kirl committed 2026-06-21 10:32:37 +08:00
1 parent 3808b9f035
commit 3101992f51
29 files changed
+2336 -80

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
cmake_minimum_required(VERSION 3.16)
project(ice_plate_swap LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
# OpenCV
find_package(OpenCV REQUIRED)
# 源文件
add_executable(plate_swap
main.cpp
plate_swap.cpp
plate_swap.hpp
)
target_link_libraries(plate_swap ${OpenCV_LIBS})
# 优化选项
if(MSVC)
target_compile_options(plate_swap PRIVATE /O2 /arch:AVX2 /utf-8)
else()
target_compile_options(plate_swap PRIVATE -O3 -march=native -fopenmp)
endif()