Class AksDetectStream¶
Defined in File aks_detect_stream.cpp
Inheritance Relationships¶
Base Type¶
public amdinfer::workers::Worker
(Class Worker)
Class Documentation¶
-
class AksDetectStream : public amdinfer::workers::Worker¶
The AksDetectStream worker is a simple worker that accepts an path to a video and sends the inverted frames back to the client over a websocket.
Public Functions
-
virtual std::thread spawn(BatchPtrQueue *input_queue) override¶
Starts the worker’s run() method as a separate thread and returns it.
- Parameters
input_queue – queue used to send requests to the started worker thread
- Returns
std::thread
-
inline Worker(const std::string &name, const std::string &platform)¶
The constructor only initializes the private class members.
-
virtual std::thread spawn(BatchPtrQueue *input_queue) override¶