OpenPose  1.7.0
The first real-time multi-person system to jointly detect human body, hand, facial, and foot keypoints
op::SpinnakerWrapper Class Reference

#include <spinnakerWrapper.hpp>

Public Member Functions

 SpinnakerWrapper (const std::string &cameraParameterPath, const Point< int > &cameraResolution, const bool undistortImage, const int cameraIndex=-1)
 
virtual ~SpinnakerWrapper ()
 
std::vector< MatrixgetRawFrames ()
 
std::vector< MatrixgetCameraMatrices () const
 
std::vector< MatrixgetCameraExtrinsics () const
 
std::vector< MatrixgetCameraIntrinsics () const
 
Point< int > getResolution () const
 
bool isOpened () const
 
void release ()
 

Detailed Description

SpinnakerWrapper is a subclass of SpinnakerWrapper. It decouples the final interface (meant to imitates cv::VideoCapture) from the Spinnaker SDK wrapper.

Definition at line 12 of file spinnakerWrapper.hpp.

Constructor & Destructor Documentation

◆ SpinnakerWrapper()

op::SpinnakerWrapper::SpinnakerWrapper ( const std::string &  cameraParameterPath,
const Point< int > &  cameraResolution,
const bool  undistortImage,
const int  cameraIndex = -1 
)
explicit

Constructor of SpinnakerWrapper. It opens all the available FLIR cameras cameraIndex = -1 means that all cameras are taken

◆ ~SpinnakerWrapper()

virtual op::SpinnakerWrapper::~SpinnakerWrapper ( )
virtual

Member Function Documentation

◆ getCameraExtrinsics()

std::vector<Matrix> op::SpinnakerWrapper::getCameraExtrinsics ( ) const

◆ getCameraIntrinsics()

std::vector<Matrix> op::SpinnakerWrapper::getCameraIntrinsics ( ) const

◆ getCameraMatrices()

std::vector<Matrix> op::SpinnakerWrapper::getCameraMatrices ( ) const

Note: The camera parameters are only read if undistortImage is true. This should be changed to add a new bool flag in the constructor, e.g., readCameraParameters

◆ getRawFrames()

std::vector<Matrix> op::SpinnakerWrapper::getRawFrames ( )

◆ getResolution()

Point<int> op::SpinnakerWrapper::getResolution ( ) const

◆ isOpened()

bool op::SpinnakerWrapper::isOpened ( ) const

◆ release()

void op::SpinnakerWrapper::release ( )

The documentation for this class was generated from the following file: