#include <thread>
#include "Engine.h"
#include "Logger.h"
+#include "PredictorWrapper.h"
using namespace suanzi;
void Engine::setVideoSrc(VideoSrcType type, const std::string& url)
{
+ PredictorWrapperPtr pp = PredictorWrapper::create("./python/model.pkl");
+
+ pp->dump();
+
// videoSrc = url;
- reader = VideoReaderFactory::createVideoReader(type, url);
+ //reader = VideoReaderFactory::createVideoReader(type, url);
+
}
void Engine::run()