JeVoisBase
1.19
JeVois Smart Embedded Machine Vision Toolkit Base Modules
|
Share this page: |
|
|
|
 |
 |
|
Go to the documentation of this file.
105 itsPipeline = addSubComponent<jevois::dnn::Pipeline>(
"pipeline");
124 itsPipeline->process(inimg,
this, outimg, helper, idle);
132 doprocess(inframe,
nullptr,
nullptr,
false);
154 doprocess(inframe, &outimg,
nullptr,
false);
168 std::string
const & fpscpu = timer.stop();
172 unsigned short winw, winh;
177 int x = 0, y = 0;
unsigned short w = 0,
h = 0;
181 doprocess(inframe,
nullptr, &helper, idle);
184 helper.
iinfo(inframe, fpscpu, winw, winh);
bool startFrame(unsigned short &w, unsigned short &h)
virtual ~DNN()
Virtual destructor for safe inheritance.
std::shared_ptr< jevois::dnn::Pipeline > itsPipeline
void require(char const *info, unsigned int w, unsigned int h, unsigned int f) const
JEVOIS_REGISTER_MODULE(DNN)
StdModule(std::string const &instance)
virtual void process(jevois::InputFrame &&inframe) override
Processing function, no video output.
DNN(std::string const &instance)
Constructor.
void doprocess(jevois::InputFrame const &inframe, jevois::RawImage *outimg, jevois::OptGUIhelper *helper, bool idle)
Processing function implementation.
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)
void paste(RawImage const &src, RawImage &dest, int dx, int dy)
virtual void process(jevois::InputFrame &&inframe, jevois::OutputFrame &&outframe) override
Processing function with video output to USB on JeVois-A33.
Detect and recognize multiple objects in scenes using OpenCV, NPU, TPU, or VPU Deep Neural Nets.