| #ifndef OPENPOSE_PRODUCER_SPINNAKER_WRAPPER_HPP |
| #define OPENPOSE_PRODUCER_SPINNAKER_WRAPPER_HPP |
|
|
| #include <openpose/core/common.hpp> |
|
|
| namespace op |
| { |
| |
| |
| |
| |
| class OP_API SpinnakerWrapper |
| { |
| public: |
| |
| |
| |
| |
| explicit SpinnakerWrapper(const std::string& cameraParameterPath, const Point<int>& cameraResolution, |
| const bool undistortImage, const int cameraIndex = -1); |
|
|
| virtual ~SpinnakerWrapper(); |
|
|
| std::vector<Matrix> getRawFrames(); |
|
|
| |
| |
| |
| |
| std::vector<Matrix> getCameraMatrices() const; |
|
|
| std::vector<Matrix> getCameraExtrinsics() const; |
|
|
| std::vector<Matrix> getCameraIntrinsics() const; |
|
|
| Point<int> getResolution() const; |
|
|
| bool isOpened() const; |
|
|
| void release(); |
|
|
| private: |
| |
| |
| struct ImplSpinnakerWrapper; |
| std::shared_ptr<ImplSpinnakerWrapper> upImpl; |
|
|
| DELETE_COPY(SpinnakerWrapper); |
| }; |
| } |
|
|
| #endif |
|
|