代码拉取完成,页面将自动刷新
cmake_minimum_required(VERSION 3.0)
project(mobile-lpr CXX)
option(MLPR_INSTALL_SDK "install mobile-opr library and headers" ON)
option(MLPR_EXAMPLE "build examples for mobile-pr" ON)
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
set(CMAKE_INSTALL_PREFIX "${CMAKE_BINARY_DIR}/install" CACHE PATH "Installation Directory")
endif()
message(STATUS "CMAKE_INSTALL_PREFIX = ${CMAKE_INSTALL_PREFIX}")
if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE release CACHE STRING "Choose the type of build" FORCE)
endif()
include_directories(deps/ncnn/include/ncnn include src)
link_directories(deps/ncnn/lib)
add_subdirectory(src)
if(MLPR_EXAMPLE)
add_subdirectory(example)
endif()
if(MLPR_INSTALL_SDK)
install(FILES
include/plate_info.h
include/plate_petector.h
include/plate_detectors.h
include/detector_creator.h
include/lpc_recognizer.h
include/lpc_recognizer.h
DESTINATION include/mpr
)
endif()
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。