#pragma once #include #include #include #include #include // #include "cnstream_core.hpp" #include "cnstream_frame.hpp" #include "cnstream_module.hpp" #include "easyinfer/model_loader.h" #include "easytrack/easy_track.h" #include "video.hpp" namespace cnstream{ // Pointer for frame info using CNFrameInfoPtr = std::shared_ptr; /// Pointer for infer object using CNInferObjectPtr = std::shared_ptr; class Recorder : public cnstream::Module, public cnstream::ModuleCreator { using super = cnstream::Module; private: Recorder(const Recorder &) = delete; Recorder &operator=(Recorder const &) = delete; std::shared_ptr