35 public jevois::Parameter<network::dataroot, network::model, network::dequant, network::turbo>
45 void freeze(
bool doit)
override;
48 virtual std::vector<vsi_nn_tensor_attr_t>
inputShapes()
override;
51 virtual std::vector<vsi_nn_tensor_attr_t>
outputShapes()
override;
58 std::vector<cv::Mat>
doprocess(std::vector<cv::Mat>
const & blobs,
59 std::vector<std::string> & info)
override;
61 void onParamChange(network::turbo
const & par,
bool const & newval)
override;
64 std::unique_ptr<hailort::Device> itsDevice;
65 std::shared_ptr<hailort::ConfiguredNetworkGroup> itsNetGroup;
66 std::vector<hailort::InputVStream> itsInStreams;
67 std::vector<hailort::OutputVStream> itsOutStreams;
68 std::unique_ptr<hailort::ActivatedNetworkGroup> itsActiveNetGroup;
69 std::vector<vsi_nn_tensor_attr_t> itsInAttrs, itsOutAttrs;
70 std::vector<cv::Mat> itsRawOutMats, itsOutMats;