GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - webarkit/webarkit-cv: WebARKit thanks to OpenCV and Emscripten

BranchesTags
Open more actions menu

Latest commit

 

History

129 Commits
129 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
__mocks__
__mocks__
 
 
build
build
 
 
dist
dist
 
 
examples
examples
 
 
opencv @ 49486f6
opencv @ 49486f6
 
 
src
src
 
 
tests-esm
tests-esm
 
 
tests
tests
 
 
types
types
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
.prettierc.json
.prettierc.json
 
 
.prettierignore
.prettierignore
 
 
README.md
README.md
 
 
build.bat
build.bat
 
 
build.sh
build.sh
 
 
build_w_docker.bat
build_w_docker.bat
 
 
build_w_docker.sh
build_w_docker.sh
 
 
jest.config.js
jest.config.js
 
 
jest.esm.config.cjs
jest.esm.config.cjs
 
 
opencv.webarkit_config.py
opencv.webarkit_config.py
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
tsconfig.jest.esm.json
tsconfig.jest.esm.json
 
 
tsconfig.json
tsconfig.json
 
 
webpack.config.js
webpack.config.js
 
 

Repository files navigation

github releases github stars github forks code style: prettier CI WebARKitCV Build WebARKitCV

webarkit-cv

WebARKitCV is an opinionated toolchain for producing lightweight OpenCV builds tailored to WebAR workloads. It bundles the scripts, configuration, and TypeScript helpers we use to compile our fork of OpenCV into a single-file ES module (opencv_js.js) that runs in modern browsers and Web Workers.

The project currently targets OpenCV 4.12.0 (forked under webarkit/opencv) and emsdk 3.1.69. Expect breaking changes while we continue to tune the build for smaller payloads and a smoother developer experience; treat the artifacts as experimental until we cut a stable release.

Getting started is as simple as cloning the repo, running one of the build scripts (build.sh on Unix, build_w_docker.bat on Windows), and loading the generated example pages under examples/ to validate your environment. Feedback and contributions are welcome—see the Issues section for discussion topics and the roadmap.

Typescript

WebARKitCV is developed in the Typescript language; Type definitions are in the types folder.

OpenCV and Emscripten emsdk

We are using OpenCV version 4.12.0 (our modified fork) and emsdk 3.1.69

Tools

See the build scripts below; each one compiles the OpenCV ES module and copies it into the build folder. We are trying to build a lighter opencv_js.js, so we use a custom config to trim features we do not currently need. The module is based on our forked OpenCV tree, which adds ES module support—details live in issue #1.

Build scripts

  • build.sh: native Linux workflow that assumes emsdk/Emscripten is installed and on your PATH.
  • build_w_docker.sh: Linux/macOS workflow that wraps the build in the official Emscripten Docker image—no local emsdk install required.
  • build_w_docker.bat: Windows PowerShell/Command Prompt variant that uses the same Docker-based flow.

Future development

  • npm package
  • documentation
  • first WebAR example

About

WebARKit thanks to OpenCV and Emscripten

Topics

computer-visionemscriptenopencvwebarwebarkitwebassembly

Resources

Readme
Activity
Custom properties

Stars

5 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.