File size: 375 Bytes
1999a98
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
cmake_minimum_required(VERSION 3.12)
project(yolov8_openvino_example)

set(CMAKE_CXX_STANDARD 14)

find_package(OpenCV REQUIRED)

include_directories(
	${OpenCV_INCLUDE_DIRS}
	/path/to/intel/openvino/runtime/include
)

add_executable(detect 
	main.cc
	inference.cc
)

target_link_libraries(detect
	${OpenCV_LIBS}
	/path/to/intel/openvino/runtime/lib/intel64/libopenvino.so
)