{"id":24941512,"url":"https://github.com/ryanking13/style-transfer-pyodide","last_synced_at":"2026-01-07T05:39:18.853Z","repository":{"id":96248220,"uuid":"485243908","full_name":"ryanking13/style-transfer-pyodide","owner":"ryanking13","description":"Deep learning inference example with Pyodide + OpenCV","archived":false,"fork":false,"pushed_at":"2022-04-29T02:17:47.000Z","size":2684,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-02T18:27:18.388Z","etag":null,"topics":["pyodide"],"latest_commit_sha":null,"homepage":"https://ryanking13.github.io/style-transfer-pyodide","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ryanking13.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-25T06:08:38.000Z","updated_at":"2024-04-03T21:53:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"aac7e2aa-90a5-40b8-a440-5d722dbff005","html_url":"https://github.com/ryanking13/style-transfer-pyodide","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanking13%2Fstyle-transfer-pyodide","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanking13%2Fstyle-transfer-pyodide/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanking13%2Fstyle-transfer-pyodide/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanking13%2Fstyle-transfer-pyodide/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryanking13","download_url":"https://codeload.github.com/ryanking13/style-transfer-pyodide/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246072282,"owners_count":20719285,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["pyodide"],"created_at":"2025-02-02T18:23:18.168Z","updated_at":"2026-01-07T05:39:13.807Z","avatar_url":"https://github.com/ryanking13.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# style-transfer-pyodide\n\nA simple proof-of-concept of running deep learning model in the browser using Pyodide + OpenCV DNN module.\n\nCodes are based on:\n\n- [fast-neural-style-pytorch](https://github.com/rrmina/fast-neural-style-pytorch)\n- [Nuxt.js web worker example](https://github.com/nuxt/nuxt.js/tree/dev/examples/web-worker)\n\n## Usage\n\n### Running web application\n\n```sh\ncd style-transfer-pyodide\nnpm install\nnpm run dev\n```\n\n### (optional) Converting torch model to onnx model\n\n```sh\ngit submodule init \u0026\u0026 git submodule update\ncd python\npip install -r requirements.txt\n\npython convert.py  # convert torch model to onnx\npython stylize.py  # run inference with OpenCV DNN module (for test)\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanking13%2Fstyle-transfer-pyodide","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryanking13%2Fstyle-transfer-pyodide","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanking13%2Fstyle-transfer-pyodide/lists"}