cognitivexr / CogStream

CogStream: a platform for distributed real-time AI-based video analytics 🧠 🤖
Apache License 2.0
7 stars 1 forks source link

Implement automatic engine channel configuration for EngineResult #29

Open thrau opened 3 years ago

thrau commented 3 years ago

Currently engine results are never returned to the client, because we first implemented the Recorder engine, and there's no result to return. To implement #15, we need to return EngineResult instances to the client. The client also needs to accept them. In the current situation there are channels that return results and some that don't. That needs to be dynamically configured at runtime when channels are created.

In the go implementation this will manifest in properly implementing and instantiating an EngineResultWriter. In python we will have to add new abstractions.