Skip to content

Post idea: running neural networks in Pyodide with OpenCV #28

@ryanking13

Description

@ryanking13

Recently we added OpenCV to Pyodide. While testing OpenCV, I was able to run Pytorch neural network (converted to ONNX) in Pyodide using OpenCV DNN modules, though it is inference only and of course very slow (no GPU).

I would like to share some ideas about it, which also include some examples of handling images and dealing with the file system.

You can test it here: https://ryanking13.github.io/style-transfer-pyodide/

Demo video

demo.mp4

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions