Giter Club home page Giter Club logo

era-5g-client's People

Contributors

artable-dev avatar idobes avatar kapim avatar klepo avatar zdenekm avatar

Watchers

 avatar

era-5g-client's Issues

Enable multiple callbacks for network applications

Currently, only one results callback is specified for the client library, and the integrator must handle multiple results from the network application. We should alter the interface to enable multiple callbacks, one per each type of result.

GStreamer from Network Application to Client

For transferring image-based results (especially in the case of higher resolution), the client should be able to request a GStreamer connection from Network Application to the client.

Publisher / subscriber model

Not all clients want to send data; some only care about results obtained from data from another client. The client should specify during the handshake phase that it wants to act as a publisher or subscriber, or both at the same time. To correctly map multiple clients, a common id must be specified by all clients who want to receive the results.

API for managing the stateful services

  • GetState() -> state - return the current state (model) of the service
  • SetState(state) - replace the current state of the service
  • SaveState(id) - save the current state of the service to persistent storage
  • LoadState(id) - retrieve the state of the service from persistent storage

Make the websocket transport default

HTTP transport is the default option for transferring data to the network application. A special parameter has to be set for WebSocket transport usage. However, the WebSocket transfer is faster than HTTP transport, especially for extensive data, such as images. We should change that and use the WebSocket by default.

Metadata for images

The client should allow adding metadata to HTTP and WebSocket /image streams to optionally allow multiple image streams at a time.

Current signature of the method: send_image_http(self, frame: np.ndarray, timestamp: Optional[str] = None, batch_size: int = 1)
New signature: send_image_http(self, frame: np.ndarray, topic_id: Optional[str] = None, timestamp: Optional[str] = None, batch_size: int = 1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.