@@ -4,6 +4,7 @@
#include "nodes/base/base.hpp"
#include <opencv2/opencv.hpp>
#include "infer/infer.hpp"
+
namespace Node
{
@@ -16,7 +17,7 @@ public:
void set_model_instance(std::shared_ptr<Infer> model)
- model_ = infer;
+ model_ = model;
}
void work() override;