Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Commit

Permalink
Merge pull request #102 from caohuiyan/dev-ov2020.3
Browse files Browse the repository at this point in the history
BugFix: base_output.h
  • Loading branch information
LewisLiuPub authored Feb 26, 2021
2 parents 4ce2ff3 + a11dda3 commit bf4f696
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
12 changes: 10 additions & 2 deletions dynamic_vino_lib/include/dynamic_vino_lib/outputs/base_output.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,14 @@
#include "dynamic_vino_lib/services/frame_processing_server.h"
#include "opencv2/opencv.hpp"

#include <object_msgs/DetectObjectResponse.h>
#include <people_msgs/AgeGenderSrvResponse.h>
#include <people_msgs/EmotionSrvResponse.h>
#include <people_msgs/HeadPoseSrvResponse.h>
#include <people_msgs/PeopleSrvResponse.h>
#include <people_msgs/ReidentificationSrvResponse.h>
#include <people_msgs/ObjectsInMasksSrvResponse.h>

class Pipeline;
namespace Outputs
{
Expand Down Expand Up @@ -144,10 +152,10 @@ class BaseOutput
virtual void handleOutput() = 0;

void setPipeline(Pipeline* const pipeline);
virtual void setServiceResponse(boost::shared_ptr<object_msgs::DetectObjectRequest> response)
virtual void setServiceResponse(boost::shared_ptr<object_msgs::DetectObjectResponse> response)
{
}
virtual void setServiceResponseForFace(boost::shared_ptr<object_msgs::DetectObjectRequest> response)
virtual void setServiceResponseForFace(boost::shared_ptr<object_msgs::DetectObjectResponse> response)
{
}
virtual void setServiceResponse(boost::shared_ptr<people_msgs::AgeGenderSrvResponse> response)
Expand Down
2 changes: 1 addition & 1 deletion dynamic_vino_lib/src/services/frame_processing_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ FrameProcessingServer<T>::FrameProcessingServer(const std::string& service_name,
initService();
}

template <typename T>
template <typename T>
void FrameProcessingServer<T>::initService()
{
std::cout << "!!!!" << config_path_ << std::endl;
Expand Down

0 comments on commit bf4f696

Please sign in to comment.