From da4467ce129601599a7becf779e3e21abaa51a4f Mon Sep 17 00:00:00 2001 From: Nuzhny007 Date: Mon, 10 Jun 2024 21:52:20 +0300 Subject: [PATCH] Fixed Linux build --- src/Detector/tensorrt_yolo/YoloONNXv10_bb.hpp | 2 +- src/Detector/tensorrt_yolo/YoloONNXv6_bb.hpp | 2 +- src/Detector/tensorrt_yolo/YoloONNXv7_bb.hpp | 2 +- src/Detector/tensorrt_yolo/YoloONNXv7_instance.hpp | 2 +- src/Detector/tensorrt_yolo/YoloONNXv8_bb.hpp | 2 +- src/Detector/tensorrt_yolo/YoloONNXv8_instance.hpp | 2 +- src/Detector/tensorrt_yolo/YoloONNXv9_bb.hpp | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Detector/tensorrt_yolo/YoloONNXv10_bb.hpp b/src/Detector/tensorrt_yolo/YoloONNXv10_bb.hpp index 1cf4bba5..137dbf8e 100644 --- a/src/Detector/tensorrt_yolo/YoloONNXv10_bb.hpp +++ b/src/Detector/tensorrt_yolo/YoloONNXv10_bb.hpp @@ -13,7 +13,7 @@ class YOLOv10_bb_onnx : public YoloONNX /// \param output /// \return /// - std::vector YoloONNX::GetResult(size_t imgIdx, int /*keep_topk*/, const std::vector& outputs, cv::Size frameSize) + std::vector GetResult(size_t imgIdx, int /*keep_topk*/, const std::vector& outputs, cv::Size frameSize) { std::vector resBoxes; diff --git a/src/Detector/tensorrt_yolo/YoloONNXv6_bb.hpp b/src/Detector/tensorrt_yolo/YoloONNXv6_bb.hpp index ce5ad66d..4d6a6268 100644 --- a/src/Detector/tensorrt_yolo/YoloONNXv6_bb.hpp +++ b/src/Detector/tensorrt_yolo/YoloONNXv6_bb.hpp @@ -13,7 +13,7 @@ class YOLOv6_bb_onnx : public YoloONNX /// \param output /// \return /// - std::vector YoloONNX::GetResult(size_t imgIdx, int /*keep_topk*/, const std::vector& outputs, cv::Size frameSize) + std::vector GetResult(size_t imgIdx, int /*keep_topk*/, const std::vector& outputs, cv::Size frameSize) { std::vector resBoxes; diff --git a/src/Detector/tensorrt_yolo/YoloONNXv7_bb.hpp b/src/Detector/tensorrt_yolo/YoloONNXv7_bb.hpp index f0cf1961..78a383b4 100644 --- a/src/Detector/tensorrt_yolo/YoloONNXv7_bb.hpp +++ b/src/Detector/tensorrt_yolo/YoloONNXv7_bb.hpp @@ -13,7 +13,7 @@ class YOLOv7_bb_onnx : public YoloONNX /// \param output /// \return /// - std::vector YoloONNX::GetResult(size_t imgIdx, int /*keep_topk*/, const std::vector& outputs, cv::Size frameSize) + std::vector GetResult(size_t imgIdx, int /*keep_topk*/, const std::vector& outputs, cv::Size frameSize) { std::vector resBoxes; diff --git a/src/Detector/tensorrt_yolo/YoloONNXv7_instance.hpp b/src/Detector/tensorrt_yolo/YoloONNXv7_instance.hpp index abd57c47..73a5d671 100644 --- a/src/Detector/tensorrt_yolo/YoloONNXv7_instance.hpp +++ b/src/Detector/tensorrt_yolo/YoloONNXv7_instance.hpp @@ -14,7 +14,7 @@ class YOLOv7_instance_onnx : public YoloONNX /// \param output /// \return /// - std::vector YoloONNX::GetResult(size_t imgIdx, int /*keep_topk*/, const std::vector& outputs, cv::Size frameSize) + std::vector GetResult(size_t imgIdx, int /*keep_topk*/, const std::vector& outputs, cv::Size frameSize) { std::vector resBoxes; diff --git a/src/Detector/tensorrt_yolo/YoloONNXv8_bb.hpp b/src/Detector/tensorrt_yolo/YoloONNXv8_bb.hpp index 33e6c2a5..9a21e397 100644 --- a/src/Detector/tensorrt_yolo/YoloONNXv8_bb.hpp +++ b/src/Detector/tensorrt_yolo/YoloONNXv8_bb.hpp @@ -13,7 +13,7 @@ class YOLOv8_bb_onnx : public YoloONNX /// \param output /// \return /// - std::vector YoloONNX::GetResult(size_t imgIdx, int /*keep_topk*/, const std::vector& outputs, cv::Size frameSize) + std::vector GetResult(size_t imgIdx, int /*keep_topk*/, const std::vector& outputs, cv::Size frameSize) { std::vector resBoxes; diff --git a/src/Detector/tensorrt_yolo/YoloONNXv8_instance.hpp b/src/Detector/tensorrt_yolo/YoloONNXv8_instance.hpp index 875c31bb..dbdf20fd 100644 --- a/src/Detector/tensorrt_yolo/YoloONNXv8_instance.hpp +++ b/src/Detector/tensorrt_yolo/YoloONNXv8_instance.hpp @@ -13,7 +13,7 @@ class YOLOv8_instance_onnx : public YoloONNX /// \param output /// \return /// - std::vector YoloONNX::GetResult(size_t imgIdx, int /*keep_topk*/, const std::vector& outputs, cv::Size frameSize) + std::vector GetResult(size_t imgIdx, int /*keep_topk*/, const std::vector& outputs, cv::Size frameSize) { std::vector resBoxes; diff --git a/src/Detector/tensorrt_yolo/YoloONNXv9_bb.hpp b/src/Detector/tensorrt_yolo/YoloONNXv9_bb.hpp index 33023db2..6c821351 100644 --- a/src/Detector/tensorrt_yolo/YoloONNXv9_bb.hpp +++ b/src/Detector/tensorrt_yolo/YoloONNXv9_bb.hpp @@ -13,7 +13,7 @@ class YOLOv9_bb_onnx : public YoloONNX /// \param output /// \return /// - std::vector YoloONNX::GetResult(size_t imgIdx, int /*keep_topk*/, const std::vector& outputs, cv::Size frameSize) + std::vector GetResult(size_t imgIdx, int /*keep_topk*/, const std::vector& outputs, cv::Size frameSize) { std::vector resBoxes;