Skip to content

πŸ“„ Awesome OCR multiple programing languages toolkits based on ONNX Runtime, OpenVINO, MNN, PaddlePaddle, TensorRT and PyTorch.

Update CMakeLists.txt

Danielad279943b915
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a7b5e6a..7cb3126 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -51,6 +51,7 @@ endif()
link_libraries(onnxruntime)
FIND_PACKAGE(OpenCV REQUIRED)
+set( OpenCV_FOUND 1 ) #force being compatible with current opencv
if(OPENCV_FOUND)
message("OpenCV FOUND")
include_directories(${OpenCV_INCLUDE_DIRS})