You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: Update the CMakeLists.txt with the correct paths for TensorRT and OpenCV.
55
+
56
+
Note: Update the CMakeLists.txt with the correct paths for Onnxruntime and OpenCV and Onnx Models (since for TechUnited we keep them on separate repositories).
57
+
58
+
You can use main.cpp to run the application
59
+
60
+
## ROS option
61
+
You can also run the code as a catkin package.
65
62
66
63
## 📦 Dependencies
67
64
CUDA: NVIDIA's parallel computing platform
68
-
TensorRT: High-performance deep learning inference
65
+
Onnx: High-performance deep learning inference
69
66
OpenCV: Image processing library
70
67
C++17: Required standard for compilation
71
-
72
-
# 🔍 Code Overview
73
-
## Main Components
74
-
SpeedSam Class (speedSam.h): Manages image encoding and mask decoding.
75
-
EngineTRT Class (engineTRT.h): TensorRT engine creation and inference.
76
-
CUDA Utilities (cuda_utils.h): Macros for CUDA error handling.
77
-
Config (config.h): Defines model parameters and precision settings.
78
-
## Key Functions
79
-
EngineTRT::build: Builds the TensorRT engine from an ONNX model.
80
-
EngineTRT::infer: Runs inference on the provided input data.
81
-
SpeedSam::predict: Segments an image using input points or bounding boxes.
82
-
## 📞 Contact
83
-
84
-
For advanced inquiries, feel free to contact me on LinkedIn: <ahref="https://www.linkedin.com/in/hamdi-boukamcha/"target="_blank"> <imgsrc="assets/blue-linkedin-logo.png"alt="LinkedIn"width="32"height="32"></a>
85
-
86
-
## 📜 Citation
87
-
88
-
If you use this code in your research, please cite the repository as follows:
0 commit comments