Skip to content

Example of onnxruntime use in browser #wasm #webassembly #onnx #onnxruntime

License

Notifications You must be signed in to change notification settings

DmitriyValetov/onnx_wasm_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

An example of onnxruntime & opencv use in browser via WEBASSEMBLY (WASM).

To run this:

1) build a docker image: 

    docker build -f ./docker/Dockerfile  -t onnx_wasm_example .

2) run docker:

    docker run --rm -it -p 8080:8080 -v $(pwd):/develop onnx_wasm_example bash

    or 

    docker run --rm -it -p 8080:8080 -v %cd%:/develop onnx_wasm_example bash

3) run make:

    make

4) open browser at http://127.0.0.1:8080 and choose a demo or a speed test

About

Example of onnxruntime use in browser #wasm #webassembly #onnx #onnxruntime

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages