12#ifndef TENSORFLOW_OBJECT_DETECTION_HPP
13#define TENSORFLOW_OBJECT_DETECTION_HPP
15#include "../../AutonomyConstants.h"
16#include "../../AutonomyLogging.h"
17#include "../../util/GeospatialOperations.hpp"
20#include <opencv2/opencv.hpp>
51 std::vector<cv::Point2f*> vCorners = {&CornerTL, &CornerTR, &CornerBL, &CornerBR};
55 double dStraightLineDistance;
77 cvCenter.
x += cvCorner->x;
78 cvCenter.
y += cvCorner->y;
103 return std::vector<TensorflowObject>();
Namespace containing functions related to tensorflow object detection operations on images.
Definition TensorflowObjectDetection.hpp:34
std::vector< TensorflowObject > Detect(const cv::Mat &cvFrame)
Detect objects in the given image using a tensorflow model.
Definition TensorflowObjectDetection.hpp:99
cv::Point2f FindObjectCenter(const TensorflowObject &stObject)
Given an TensorflowObject struct find the center point of the corners.
Definition TensorflowObjectDetection.hpp:68
This struct stores/contains information about a UTM coordinate.
Definition GeospatialOperations.hpp:244
Represents a single depth object detection from a tensorflow model. Stores all information about a sp...
Definition TensorflowObjectDetection.hpp:44