OnnxStream (WASM) inferencing YOLOv8n in the browser

This is a demo of the WASM build of OnnxStream. The JavaScript API is very similar to the C++ API: you can specify a model as a series of operations in text format, you can add input tensors, read output tensors etc. The YOLOv8n model is converted to the text format compatible with OnnxStream using onnx2txt. Feel free to view the source of this page: it is about 400 lines of JS code that demonstrate how to use the API (specifically the "initModel" and "runModel" functions).