You are currently viewing KotlinJS, ONNX and Deep Learning in the browser!

KotlinJS, ONNX and Deep Learning in the browser!

A while ago I had the crazy idea to combine two new technologies in a small personal project.

KotlinJS and ONNX-webruntime. That is:
Run Deep Learning directly inside the browser (on the edge) using Kotlin! 🥳

This weekend I completed the project and created a small webapp that runs a State-of-the-Art Deep Learning model to Enhance Low Light Images using KotlinJS & ONNX-webruntime. No servers included, all on device 🤓

The KotlinJS is using `fritz2` as web framework, which is really superb!

Read the blog here: https://blog.londogard.com/blog/kotlinjs-onnx-deep-learning-browser
Find demo here and code on github.com/londogard/photo-fritz2, but be careful – it’s not that beautiful right now 😰 Code will be shaped up during the week and improved, especially as the WASM/ONNX integration can’t handle large images I need to add custom rescaling.

submitted by /u/lundez
[link] [comments]