Go to the documentation of this file.
27 #include <VisionX/interface/components/Calibration.h>
28 #include <opencv2/highgui/highgui.hpp>
38 defineRequiredProperty<std::string>(
"VideoFilePath",
"Path to the video file that should be streamed");
39 defineOptionalProperty<bool>(
"LoopVideo",
true,
"If true, the video file will be played in a loop");
61 bool capture(
void** ppImageBuffers)
override;
void onExitCapturingImageProvider() override
This is called when the Component::onExitComponent() setup is called.
void onInitCapturingImageProvider() override
This is called when the Component::onInitComponent() is called.
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
std::string prefix
Prefix of the properties such as namespace, domain, component name, etc.
MonocularCalibration getCalibration(const Ice::Current &)
cv::VideoCapture capturer
VideoFileImageProviderPropertyDefinitions(std::string prefix)
void onStartCapture(float framesPerSecond) override
This is called when the image provider capturing has been started.
The CapturingImageProvider provides a callback function to trigger the capturing of images with diffe...
std::string getDefaultName() const override
Retrieve default name of component.
Default component property definition container.
ComponentPropertyDefinitions(std::string prefix, bool hasObjectNameParameter=true)
MonocularCalibration calibration
void onStopCapture() override
This is called when the image provider capturing has been stopped.