Modify model name bug
This commit is contained in:
@@ -3,7 +3,14 @@ project(HyperLPR3-LinuxDemo)
|
|||||||
|
|
||||||
set(CMAKE_CXX_STANDARD 11)
|
set(CMAKE_CXX_STANDARD 11)
|
||||||
|
|
||||||
|
if (APPLE)
|
||||||
|
set(PLAT darwin)
|
||||||
|
else()
|
||||||
|
set(PLAT linux)
|
||||||
|
endif ()
|
||||||
|
|
||||||
# use opencv
|
# use opencv
|
||||||
|
set(OpenCV_DIR ${CMAKE_CURRENT_SOURCE_DIR}/3rdparty_hyper_inspire_op/opencv-4.5.1/${PLAT}/lib/cmake/opencv4)
|
||||||
find_package(OpenCV REQUIRED)
|
find_package(OpenCV REQUIRED)
|
||||||
include_directories(${OpenCV_INCLUDE_DIRS})
|
include_directories(${OpenCV_INCLUDE_DIRS})
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ const std::string DETECT_LOW_HEAD_FILENAME = "b320_header_h.mnn";
|
|||||||
const std::string DETECT_HIGH_BACKBONE_FILENAME = "b640x_backbone_h.mnn";
|
const std::string DETECT_HIGH_BACKBONE_FILENAME = "b640x_backbone_h.mnn";
|
||||||
const std::string DETECT_HIGH_HEAD_FILENAME = "b640x_head_h.mnn";
|
const std::string DETECT_HIGH_HEAD_FILENAME = "b640x_head_h.mnn";
|
||||||
const std::string CLS_MODEL_FILENAME = "litemodel_cls_96xh.mnn";
|
const std::string CLS_MODEL_FILENAME = "litemodel_cls_96xh.mnn";
|
||||||
const std::string REC_MODEL_FILENAME = "rpv3_mdict_160_r3.mnn";
|
const std::string REC_MODEL_FILENAME = "rpv3_mdict_160h.mnn";
|
||||||
|
|
||||||
const InputSize REC_INPUT_SIZE = {160, 48};
|
const InputSize REC_INPUT_SIZE = {160, 48};
|
||||||
const InputSize CLS_INPUT_SIZE = {96, 96};
|
const InputSize CLS_INPUT_SIZE = {96, 96};
|
||||||
|
|||||||
Reference in New Issue
Block a user