DylanLukes / renkon

BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

MS2: Web Display Panel for Single Frame (User Triggered) #43

Open DylanLukes opened 4 months ago

DylanLukes commented 4 months ago

Summary

A system in which a web browser window is used to display the output of inference for a single frame in a Jupyter notebook in a different web browser window.

Details

This will be achieved by adding an embedded webserver (run with renkon web) with the following high level groupings of HTTPS/websocket endpoints:

  1. A user facing app/site which displays results for a single submitted frame ("display").
  2. A notebook facing server which accepts data frames sent from within a running notebook kernel ("intake").

A user working in a notebook uses a utility function (e.g. rk) to submit a dataframe to an expected endpoint of (e.g.) http://localhost:<known renkon port>/intake. Upon reception, this server runs inference and then pushes the results to the user's display browser window over an existing connection set up when they opened that page, which is also running on (e.g.) http://localhost:<known renkon port>/display.

Task Groups