Skip to content

Commit

Permalink
fix includes
Browse files Browse the repository at this point in the history
  • Loading branch information
ivikhrev committed Apr 1, 2022
1 parent b04405f commit c8b030c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 11 deletions.
2 changes: 2 additions & 0 deletions demos/gaze_estimation_demo/cpp/src/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
#define _USE_MATH_DEFINES
#include <cmath>

#include <opencv2/core.hpp>

namespace gaze_estimation {
void gazeVectorToGazeAngles(const cv::Point3f& gazeVector, cv::Point2f& gazeAngles) {
auto r = cv::norm(gazeVector);
Expand Down
24 changes: 13 additions & 11 deletions demos/mask_rcnn_demo/cpp/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,15 @@
// SPDX-License-Identifier: Apache-2.0
//

#include <stddef.h>

#include <gflags/gflags.h>
#include <opencv2/core.hpp>
#include <opencv2/imgcodecs.hpp>
#include <opencv2/imgproc.hpp>
#include <openvino/openvino.hpp>

#include <utils/common.hpp>
#include <utils/performance_metrics.hpp>
#include <utils/slog.hpp>
/**
* @brief The entry point for Mask RCNN demo application
* @file mask_rcnn_demo/main.cpp
* @example mask_rcnn_demo/main.cpp
*/


#include <stddef.h>

#include <algorithm>
#include <chrono>
#include <exception>
Expand All @@ -29,7 +22,16 @@
#include <utility>
#include <vector>

#include <gflags/gflags.h>
#include <opencv2/core.hpp>
#include <opencv2/imgcodecs.hpp>
#include <opencv2/imgproc.hpp>
#include <openvino/openvino.hpp>

#include <utils/args_helper.hpp>
#include <utils/common.hpp>
#include <utils/performance_metrics.hpp>
#include <utils/slog.hpp>

#include "mask_rcnn_demo.h"

Expand Down

0 comments on commit c8b030c

Please sign in to comment.