11#ifndef OpenCV_Manager_hpp
12#define OpenCV_Manager_hpp
14#include "../Skeleton.hpp"
52 void getVideoFramesCV (
unsigned int user_nFrame, rs2::pipeline & pipelineStream,
float scale,
const unsigned short int framesToSkip);
60 void showSkeletonsCV (
unsigned int user_nFrame,
const float skeletonThreshold);
OpenCV_Manager class is used for general-purpose tasks on the captured frames.
void getVideoFramesCV(unsigned int user_nFrame, rs2::pipeline &pipelineStream, float scale, const unsigned short int framesToSkip)
Get user_nFrame video frames from the pipeline by applying a specific scaling factor.
cv::Mat realsenseFrameToMat(const rs2::frame &singleFrame)
This method converts a frame of type rs2::frame to cv::Mat.
void showSkeletonsCV(unsigned int user_nFrame, const float skeletonThreshold)
Retrieve OpenPose's output, convert it to RealSense coordinate's space, show results and save them.
virtual ~OpenCV_Manager()=default
Destroy the OpenCV_Manager object.