"Name of the library will be built for barcode generating module (without extension).")
set(MV_SURVEILLANCE_LIB_NAME "mv_surveillance" CACHE STRING
"Name of the library will be built for surveillance module (without extension).")
-set(MV_INFERENCE_LIB_NAME "mv_inference" CACHE STRING
+set(MV_MACHINE_LEARNING_LIB_NAME "mv_machine_learning" CACHE STRING
"Name of the library will be built for inference module (without extension).")
if(MEDIA_VISION_INFERENCE_LICENSE_PORT)
add_definitions(-DMEDIA_VISION_INFERENCE_LICENSE_PORT)
- SET(INC_INFERENCE "${PROJECT_SOURCE_DIR}/mv_inference/inference_lic/include")
+ SET(INC_INFERENCE "${PROJECT_SOURCE_DIR}/mv_machine_learning/mv_inference/inference_lic/include")
else()
- SET(INC_INFERENCE "${PROJECT_SOURCE_DIR}/mv_inference/inference/include")
+ SET(INC_INFERENCE "${PROJECT_SOURCE_DIR}/mv_machine_learning/mv_inference/inference/include")
endif()
INCLUDE_DIRECTORIES(${INC_DIR}
ADD_SUBDIRECTORY(mv_image)
ADD_SUBDIRECTORY(mv_face)
ADD_SUBDIRECTORY(mv_surveillance)
-ADD_SUBDIRECTORY(mv_inference)
+ADD_SUBDIRECTORY(mv_machine_learning)
INSTALL(
DIRECTORY ${INC_DIR}/ DESTINATION include/media
SET(PC_NAME ${fw_name})
SET(PC_REQUIRED "${fw_name}-barcode ${fw_name}-face ${fw_name}-image ${fw_name}-surveillance ${fw_name}-inference")
SET(PC_LDFLAGS "-l${MV_COMMON_LIB_NAME} -l${MV_BARCODE_DETECTOR_LIB_NAME} -l${MV_BARCODE_GENERATOR_LIB_NAME} \
--l${MV_IMAGE_LIB_NAME} -l${MV_FACE_LIB_NAME} -l${MV_SURVEILLANCE_LIB_NAME} -l${MV_INFERENCE_LIB_NAME}")
+-l${MV_IMAGE_LIB_NAME} -l${MV_FACE_LIB_NAME} -l${MV_SURVEILLANCE_LIB_NAME} -l${MV_MACHINE_LEARNING_LIB_NAME}")
SET(PC_CFLAGS -I\${includedir}/media)
CONFIGURE_FILE(
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${fw_name}-surveillance.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig)
SET(PC_NAME ${fw_name}-inference)
-SET(PC_LDFLAGS "-l${MV_INFERENCE_LIB_NAME} -l${MV_COMMON_LIB_NAME}")
+SET(PC_LDFLAGS "-l${MV_MACHINE_LEARNING_LIB_NAME} -l${MV_COMMON_LIB_NAME}")
CONFIGURE_FILE(
${fw_name}.pc.in
${CMAKE_CURRENT_SOURCE_DIR}/${fw_name}-inference.pc