From 40355bae1232106427c61876402163608cce2516 Mon Sep 17 00:00:00 2001 From: jzq <1391797124@qq.com> Date: Tue, 11 Jun 2024 13:16:33 +0000 Subject: [PATCH 1/5] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=96=87=E4=BB=B6=20yolo?= =?UTF-8?q?.h?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yolo.h | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 yolo.h diff --git a/yolo.h b/yolo.h deleted file mode 100644 index 1793fc3..0000000 --- a/yolo.h +++ /dev/null @@ -1,21 +0,0 @@ -#pragma once - -#include - -class Yolo -{ -private: - cv::Mat image; - cv::Mat boxes; -public: - Yolo(std::string modelPath); // initialize detector here, may need more args - // void gpuInit(/* args */); // initialize the GPU, may called by the constructor - void detect(cv::Mat image); // detect objects in the image, return the 2d mat - // which every row represents for an object - cv::Mat getBoxes(); // return infomation about the detected objects - // may called by the detect function - // void preProcess(/* args */); - // void postProcess(/* args */); -}; - - From 7030405a974ce30581d1cda7dfb6a743954a4abb Mon Sep 17 00:00:00 2001 From: jzq <1391797124@qq.com> Date: Tue, 11 Jun 2024 13:16:38 +0000 Subject: [PATCH 2/5] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=96=87=E4=BB=B6=20yolo?= =?UTF-8?q?.cc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yolo.cc | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 yolo.cc diff --git a/yolo.cc b/yolo.cc deleted file mode 100644 index c8519f4..0000000 --- a/yolo.cc +++ /dev/null @@ -1,15 +0,0 @@ -#include"yolo.h" - - - -Yolo::Yolo(std::string modelPath) { - -} - -void Yolo::detect(cv::Mat image) { - -} - -cv::Mat Yolo::getBoxes() { - -} \ No newline at end of file From f13bbe7a2f849eba6e3a88b2e6f94339df4818ee Mon Sep 17 00:00:00 2001 From: jzq <1391797124@qq.com> Date: Tue, 11 Jun 2024 13:16:43 +0000 Subject: [PATCH 3/5] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=96=87=E4=BB=B6=20main?= =?UTF-8?q?.cc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.cc | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 main.cc diff --git a/main.cc b/main.cc deleted file mode 100644 index ede66a6..0000000 --- a/main.cc +++ /dev/null @@ -1,16 +0,0 @@ -#include "yolo.h" -#include "depthProcess.h" - - -int main(int argc, char** argv) { - - // initialize yolo - Yolo detector = Yolo(modelPath); - // initialize depthProcessor - DepthProcess depthProcessor = DepthProcess(mk); - // read image - // read depth - // do object detection (new thread) - // do depth process - // get boxes and do obstacleRecognize -} \ No newline at end of file From e70f84d3316965adea49a967b60aff55db332df8 Mon Sep 17 00:00:00 2001 From: jzq <1391797124@qq.com> Date: Tue, 11 Jun 2024 13:16:50 +0000 Subject: [PATCH 4/5] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=96=87=E4=BB=B6=20dept?= =?UTF-8?q?hProcess.h?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- depthProcess.h | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 depthProcess.h diff --git a/depthProcess.h b/depthProcess.h deleted file mode 100644 index de0cecb..0000000 --- a/depthProcess.h +++ /dev/null @@ -1,18 +0,0 @@ -#pragma once - -#include "opencv2/core/core.hpp" - - -class DepthProcess -{ -private: - cv::Mat imgRGB; - cv::Mat imgDepth; // or pointCloud detect by lidar - cv::Mat mK; // camera intrinsic or external parameters between camera and lidar - cv::Mat obstacle; // [dis, cls, maby size] -public: - DepthProcess(cv::Mat mk); - void obstacleDetect(cv::Mat imgDepth); - void obstacleRecognize(cv::Mat boxes); - cv::Mat getObstacle(); -}; From 81fec36a38f6646aef951090ceda4554c72d4a12 Mon Sep 17 00:00:00 2001 From: jzq <1391797124@qq.com> Date: Tue, 11 Jun 2024 13:17:06 +0000 Subject: [PATCH 5/5] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=96=87=E4=BB=B6=20dept?= =?UTF-8?q?hProcess.cc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- depthProcess.cc | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 depthProcess.cc diff --git a/depthProcess.cc b/depthProcess.cc deleted file mode 100644 index cc87445..0000000 --- a/depthProcess.cc +++ /dev/null @@ -1,18 +0,0 @@ -#include"depthProcess.h" - - -DepthProcess::DepthProcess(cv::Mat mk) { - -} - -void DepthProcess::obstacleDetect(cv::Mat imgDepth) { - -} - -void DepthProcess::obstacleDetect(cv::Mat boxes) { - -} - -void DepthProcess::getObstacle() { - -}