diff --git a/perception/autoware_tensorrt_yolox/include/autoware/tensorrt_yolox/utils.hpp b/perception/autoware_tensorrt_yolox/include/autoware/tensorrt_yolox/utils.hpp index 249c4952c84ec..28c6f1a8dbc85 100644 --- a/perception/autoware_tensorrt_yolox/include/autoware/tensorrt_yolox/utils.hpp +++ b/perception/autoware_tensorrt_yolox/include/autoware/tensorrt_yolox/utils.hpp @@ -12,15 +12,14 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef AUTOWARE_TENSORRT_YOLOX__UTILS_HPP_ -#define AUTOWARE_TENSORRT_YOLOX__UTILS_HPP_ +#ifndef AUTOWARE__TENSORRT_YOLOX__UTILS_HPP_ +#define AUTOWARE__TENSORRT_YOLOX__UTILS_HPP_ #include - namespace autoware::tensorrt_yolox { - std::vector> runLengthEncoder(const cv::Mat & mask); - cv::Mat runLengthDecoder(const std::vector & rle_data, const int rows, const int cols); -} // namespace autoware::tensorrt_yolox +std::vector> runLengthEncoder(const cv::Mat & mask); +cv::Mat runLengthDecoder(const std::vector & rle_data, const int rows, const int cols); +} // namespace autoware::tensorrt_yolox -#endif //AUTOWARE_TENSORRT_YOLOX__UTILS_HPP_ \ No newline at end of file +#endif // AUTOWARE__TENSORRT_YOLOX__UTILS_HPP_ diff --git a/perception/autoware_tensorrt_yolox/src/tensorrt_yolox_node.cpp b/perception/autoware_tensorrt_yolox/src/tensorrt_yolox_node.cpp index 094bcbe9f7984..366d4e099f650 100644 --- a/perception/autoware_tensorrt_yolox/src/tensorrt_yolox_node.cpp +++ b/perception/autoware_tensorrt_yolox/src/tensorrt_yolox_node.cpp @@ -14,8 +14,8 @@ #include "autoware/tensorrt_yolox/tensorrt_yolox_node.hpp" -#include "object_recognition_utils/object_classification.hpp" #include "autoware/tensorrt_yolox/utils.hpp" +#include "object_recognition_utils/object_classification.hpp" #include diff --git a/perception/autoware_tensorrt_yolox/src/utils.cpp b/perception/autoware_tensorrt_yolox/src/utils.cpp index dbf03140fd7af..e93729f5a0c28 100644 --- a/perception/autoware_tensorrt_yolox/src/utils.cpp +++ b/perception/autoware_tensorrt_yolox/src/utils.cpp @@ -36,9 +36,7 @@ std::vector> runLengthEncoder(const cv::Mat & image) return compressed_data; } - -cv::Mat runLengthDecoder( - const std::vector & rle_data, const int rows, const int cols) +cv::Mat runLengthDecoder(const std::vector & rle_data, const int rows, const int cols) { cv::Mat mask(rows, cols, CV_8UC1, cv::Scalar(0)); int idx = 0; @@ -63,4 +61,4 @@ cv::Mat runLengthDecoder( return mask; } -} // namespace tensorrt_yolox \ No newline at end of file +} // namespace autoware::tensorrt_yolox