Skip to content

Beyond Reality Face SDK - BRFv5 - Platform: Windows/macOS via Electron

Notifications You must be signed in to change notification settings

Tastenkunst/brfv5-electron

Repository files navigation

Beyond Reality Face SDK - v5.0.0 (BRFv5) - Platform: Windows/macOS via Electron

This is an Electron wrapper for the brfv5-browser repository demo. It's a basic show case on how to distribute BRFv5 as JavaScript application on Windows and macOS.

See the other repo for more information:

Visit us online.

Things to note:

Camera access:

package.json would usually include a "script": "start": "electron .". On macOS, while developing, start has to look like this to get camera access:

"start": "open node_modules/electron/dist/Electron.app --args $PWD"

Starting like this will ask to allow Camera access.

ES6 modules:

See main.js and allow_es6_imports.js.

Once the app is ready, create a protocol:

createProtocol('app');

and set the base tag in the html file:

This will allow the use of ES6 modules and import { ... } from 'path/to/script.js'.

About

Beyond Reality Face SDK - BRFv5 - Platform: Windows/macOS via Electron

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published