Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
cmake_minimum_required(VERSION 3.23)
project(5062CEM_OpenCV_Demo_CPP)
set(CMAKE_CXX_STANDARD 14)
set(OpenCV_DIR "/opt/opencv/build")
find_package(OpenCV REQUIRED)
include_directories(${OpenCV_INCLUDE_DIRS})
add_executable(5062CEM_OpenCV_Demo_CPP main_object_detection.cpp header_files/object_detector.h header_files/image_handler.h)
set(OpenCV_LIBS opencv_core opencv_imgproc opencv_highgui opencv_imgcodecs opencv_xfeatures2d opencv_features2d opencv_calib3d)
target_link_libraries(5062CEM_OpenCV_Demo_CPP ${OpenCV_LIBS})
project(5062CEM_OpenCV_Demo_CPP2)
set(CMAKE_CXX_STANDARD 14)
set(OpenCV_DIR "/opt/opencv/build")
find_package(OpenCV REQUIRED)
include_directories(${OpenCV_INCLUDE_DIRS})
add_executable(5062CEM_OpenCV_Demo_CPP2 main_image_handling.cpp header_files/image_handler.h)
set(OpenCV_LIBS opencv_core opencv_imgproc opencv_highgui opencv_imgcodecs opencv_xfeatures2d opencv_features2d opencv_calib3d)
target_link_libraries(5062CEM_OpenCV_Demo_CPP2 ${OpenCV_LIBS})