X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;f=include%2FEngine.h;h=8443e197871e407a6989cd4d42bd6ee66e934bb5;hb=97b147e9106cb549dd7dd62829b9d29b326738c7;hp=93d6c9c85340b2f2faa28665a1456d2fb7029f2b;hpb=b8f65122758fbbecdb5574acfbca01fe8303c179;p=trackerpp.git diff --git a/include/Engine.h b/include/Engine.h index 93d6c9c..8443e19 100644 --- a/include/Engine.h +++ b/include/Engine.h @@ -32,10 +32,11 @@ public: // virtual void capture(bool bb = false); void addObserver(EngineObserver* o); void setVideoSrc(VideoSrcType type, const std::string& url); + // stream the video source as http, return the url + std::string setPreview(bool isPreview, bool showBB = false){return "";} protected: friend class MultiTracker; - void onStatusChanged(); void onPersonsIn(const std::vector& p); void onPersonsOut(const std::vector& p); @@ -43,6 +44,7 @@ private: Engine(); void run(); WorkerThread eventThread {"EventThread"}; + WorkerThread writeImgThread {"WriteImgThread"}; DetectorPtr detector; MultiTrackerPtr multiTracker; std::set observer_list;