diff --git a/algorithm/landing_det/intel/landing_det_intel_impl.cpp b/algorithm/landing_det/intel/landing_det_intel_impl.cpp index 324ad54..02697b6 100644 --- a/algorithm/landing_det/intel/landing_det_intel_impl.cpp +++ b/algorithm/landing_det/intel/landing_det_intel_impl.cpp @@ -1,6 +1,7 @@ #include "landing_det_intel_impl.h" #include #include +#include "sv_util.h" #define SV_MODEL_DIR "/SpireCV/models/" #define SV_ROOT_DIR "/SpireCV/" @@ -27,7 +28,7 @@ namespace sv #ifdef WITH_INTEL std::string onnx_model_fn = get_home() + SV_MODEL_DIR + "LandingMarker.onnx"; std::vector files; - _list_dir(get_home() + SV_MODEL_DIR, files, "-online.onnx", "Int-LandingMarker-resnet34"); + list_dir(get_home() + SV_MODEL_DIR, files, "-online.onnx", "Int-LandingMarker-resnet34"); if (files.size() > 0) { std::sort(files.rbegin(), files.rend(), _comp_str_lesser); diff --git a/scripts/x86-intel/ffmpeg-install.sh b/scripts/x86-intel/ffmpeg-install.sh index 9f54631..4e95980 100755 --- a/scripts/x86-intel/ffmpeg-install.sh +++ b/scripts/x86-intel/ffmpeg-install.sh @@ -1,6 +1,6 @@ #!/bin/sh -sudo apt install -y v4l-utils +sudo apt install -y v4l-utils build-essential yasm cmake libtool libc6 libc6-dev unzip wget libeigen3-dev libfmt-dev libnuma1 libnuma-dev libx264-dev libx265-dev libfaac-dev libssl-dev v4l-utils wget https://ffmpeg.org/releases/ffmpeg-4.2.5.tar.bz2 tar -xjf ffmpeg-4.2.5.tar.bz2 cd ffmpeg-4.2.5