mirror of
https://github.com/ubuntu/face-detection-web.git
synced 2025-10-26 12:00:37 +01:00
No description
We can now select available cameras, see and choose the active one via a dropdown menu. Note that cameras are offsetted by 1 compared to internal opencv view of the world, and so, 0 means "no change". |
||
|---|---|---|
| 3rdparty-scripts | ||
| css | ||
| images | ||
| src | ||
| .gitignore | ||
| bower.json | ||
| favicon.ico | ||
| index.html | ||
| LICENSE | ||
| manifest.json | ||
| README.md | ||
face-detection-web
Single page website for face detection (using face-detection-demo backend) with Polymer
Required backend
This web page is used to be the frontend part served by face-detection-demo backend (in the same user group repository). It has a snapcraft.yaml to embed this project.
Install the Polymer-CLI
First, make sure you have the Polymer CLI installed. Then run polymer serve to serve your application locally.
Viewing Your Application
$ polymer serve
Building Your Application
$ polymer build
This will create a build/ folder with bundled/ and unbundled/ sub-folders
containing a bundled (Vulcanized) and unbundled builds, both run through HTML,
CSS, and JS optimizers.
You can serve the built versions by giving polymer serve a folder to serve
from:
$ polymer serve build/bundled