class dlstreamer::BaseSource#
Overview#
#include <source.h> class BaseSource: public dlstreamer::BaseElement { public: // construction BaseSource(const ContextPtr& app_context); // methods virtual void set_output_info(const FrameInfo& info); virtual FrameInfo get_output_info(); };
Inherited Members#
public: // methods bool init(); ContextPtr get_context(MemoryType);
Detailed Documentation#
Methods#
virtual void set_output_info(const FrameInfo& info)
Enables post-processing (ex, resize, color-conversion) to specified format and tensor shape.
Parameters:
info |
Output frames information |
virtual FrameInfo get_output_info()
Returns output information of the source.