Skip to content

BrianJFeldman/WebSight

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 

Repository files navigation

WebSight demonstrates a comparison of performance between JavaScript, asm.js, and WebAssembly. A user uploaded static image or live video is displayed for each target. Performance is measured by the length of time it takes to detect face(s) or eyes in the image or video.

Each target is run in its own web worker. The popular open source computer vision library, OpenCV, was compiled using Emscripten to asm.js and wasm (WebAssembly module) to utilize the Viola-Jones algorithm for object detection. HAAR.js was modified to remove the DOM manipulation, so it could be used in the JavaScript web worker.

The demo is accessible from http://websightjs.com.

Thanks to WebDSP for the inspiration, and to uscisysarch, njor, and foo123 for giving us a starting point.

Contributors to this project are BrianJFeldman, DebraD, MarkGeeRomano and YervantB.

About

OpenCV wasm and asm.js port

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 97.8%
  • HTML 1.6%
  • CSS 0.6%