diff --git a/algorithm/landing_det/intel/landing_det_intel_impl.cpp b/algorithm/landing_det/intel/landing_det_intel_impl.cpp index 324ad5445e269bf309b68e5a9c5c6cf94929ae6b..02697b6803eb4b2b7f2e82681d1d56e2eeae245c 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 9f54631ce2fbdd4c4d37b7ddfc23585ddf529d93..4e95980613599108d459a6b9206325e9bb9fbb02 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