JeVoisBase
1.20
JeVois Smart Embedded Machine Vision Toolkit Base Modules
|
Share this page: |
|
|
|
|
|
|
Go to the documentation of this file.
55 public jevois::Parameter<num>
61 using StdModule::StdModule;
79 pipe->
process(inimg,
this, outimg, helper, idle);
106 std::string
const & fpscpu = timer.stop();
110 unsigned short winw, winh;
114 int x = 0, y = 0;
unsigned short w = 0,
h = 0;
121 helper.
iinfo(inframe, fpscpu, winw, winh);
130 void onParamChange(num
const & JEVOIS_UNUSED_PARAM(param),
unsigned int const & newval)
override
139 std::vector<std::shared_ptr<jevois::dnn::Pipeline>>
itsPipes;
bool startFrame(unsigned short &w, unsigned short &h)
std::vector< std::shared_ptr< jevois::dnn::Pipeline > > itsPipes
Run multiple neural networks in parallel with an overlapping display.
void removeSubComponent(std::shared_ptr< Comp > &component)
void onParamChange(num const &JEVOIS_UNUSED_PARAM(param), unsigned int const &newval) override
Processing function, no video output.
virtual ~MultiDNN2()
Virtual destructor for safe inheritance.
void drawInputFrame(char const *name, InputFrame const &frame, int &x, int &y, unsigned short &w, unsigned short &h, bool noalias=false, bool casync=false)
void iinfo(jevois::InputFrame const &inframe, std::string const &fpscpu, unsigned short winw=0, unsigned short winh=0)
std::string to_string(T const &val)
void process(jevois::RawImage const &inimg, jevois::StdModule *mod, jevois::RawImage *outimg, jevois::OptGUIhelper *helper, bool idle=false)
JEVOIS_REGISTER_MODULE(MultiDNN2)
void doprocess(std::shared_ptr< jevois::dnn::Pipeline > pipe, jevois::InputFrame const &inframe, jevois::RawImage *outimg, jevois::OptGUIhelper *helper, bool idle)
Processing function implementation.
JEVOIS_DECLARE_PARAMETER_WITH_CALLBACK(dataroot, std::string, "Root path for data, config, and weight files. " "If empty, use the module's path.", JEVOIS_SHARE_PATH "/darknet/single", ParamCateg)
Parameter.
virtual void process(InputFrame &&inframe, OutputFrame &&outframe)