https://github.com/scikit-surgery/browser_ar
An example VTK app using webpack
https://github.com/scikit-surgery/browser_ar
scikit-surgery ucl vtk-js
Last synced: 2 months ago
JSON representation
An example VTK app using webpack
- Host: GitHub
- URL: https://github.com/scikit-surgery/browser_ar
- Owner: SciKit-Surgery
- License: bsd-3-clause
- Created: 2021-10-28T13:59:34.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-02-09T16:06:33.000Z (over 3 years ago)
- Last Synced: 2025-01-28T10:35:56.261Z (4 months ago)
- Topics: scikit-surgery, ucl, vtk-js
- Language: JavaScript
- Homepage: https://scikit-surgery.github.io/browser_ar/
- Size: 658 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
SciKit-Surgery In-Browser Augmented Reality
===========================================This is an attempt to see if we can run augmented reality in your browser, combining model visualisation with vtk.js with a live camera feed.
Try it here `here`_.
based on https://kitware.github.io/vtk-js/docs/vtk_vanilla.html
::
npm init
npm install @kitware/vtk.js
npm install -D webpack-cli webpack webpack-dev-server
export NODE_OPTIONS=--openssl-legacy-provider
npm run build
npm run startTo run with your webcam locally, you'll need to add a security exception. On google-chrome you can start with.
::
google-chrome --unsafely-treat-insecure-origin-as-secure="http://localhost:8080/" http://localhost:8080/.. _`here`: https://scikit-surgery.github.io/browser_ar/