36 public jevois::Parameter<network::dataroot, network::model, network::dequant, network::turbo>
46 void freeze(
bool doit)
override;
49 virtual std::vector<vsi_nn_tensor_attr_t>
inputShapes()
override;
52 std::vector<hailo_vstream_info_t>
inputInfos()
const;
55 virtual std::vector<vsi_nn_tensor_attr_t>
outputShapes()
override;
58 std::vector<hailo_vstream_info_t>
outputInfos()
const;
65 std::vector<cv::Mat>
doprocess(std::vector<cv::Mat>
const & blobs,
66 std::vector<std::string> & info)
override;
68 void onParamChange(network::turbo
const & par,
bool const & newval)
override;
71 std::unique_ptr<hailort::Device> itsDevice;
72 std::shared_ptr<hailort::ConfiguredNetworkGroup> itsNetGroup;
73 std::vector<hailort::InputVStream> itsInStreams;
74 std::vector<hailort::OutputVStream> itsOutStreams;
75 std::unique_ptr<hailort::ActivatedNetworkGroup> itsActiveNetGroup;
76 std::vector<vsi_nn_tensor_attr_t> itsInAttrs, itsOutAttrs;
77 std::vector<cv::Mat> itsRawOutMats, itsOutMats;