v19.6.0 release
This release includes the Crosswalk Project Extensions for Intel ® RealSense TM Technology which implement Depth Enabled Photography API, Scene Perception API and Face API. It also contains a Sample App to demonstrate the usages of these APIs.
Try the Sample
Get a HP Spectre x2 or a Windows 8.1+ PC with Intel R200 RealSense camera.
Download and unzip rs_sample_v19.6.0.zip
of Downloads of this release.
Execute org.crosswalk_project.rs_sample_with_rssdk_runtime_19.6.0.0.exe
on your device.
Launch Crosswalk RealSense Sample App
from Start Menu.
Use the Extensions
Setup the Windows host for Crosswalk app development as https://crosswalk-project.org/documentation/windows/windows_host_setup.html.
Please install crosswalk-app-tools:
npm install -g crosswalk-app-tools
Please make sure the version of crosswalk-app-tools is above 0.10.0:
crosswalk-pkg -v
Build a Crosswalk app by referring to https://crosswalk-project.org/documentation/windows/build_an_application.html
Download and unzip realsense_extensions_v19.6.0.zip
from Downloads of this release.
The content of realsense_extensions
looks like:
realsense_extensions/
├── enhanced_photography
│ ├── enhanced_photography.dll
│ └── XWalkExtensionHooks.js
├── face
│ ├── face.dll
│ └── XWalkExtensionHooks.js
└── scene_perception
├── scene_perception.dll
└── XWalkExtensionHooks.js
Copy realsense_extensions
folder to the root directory of your app.
Modify manifest.json
of your app to include the realsense extensions. And add --use-rs-video-capture
as Crosswalk command line switch xwalk_command_line
.
For example, the final manifest.json
of myapp
looks like:
{
"name": "My App",
"start_url": "index.html",
"xwalk_package_id": "com.example.myapp",
"xwalk_command_line": "--use-rs-video-capture",
"xwalk_extensions": [
"realsense_extensions/enhanced_photography",
"realsense_extensions/face",
"realsense_extensions/scene_perception"]
}
Download Crosswalk Windows 19.48.498.0 from https://download.01.org/crosswalk/releases/crosswalk/windows/canary/19.48.498.0/crosswalk64-19.48.498.0.zip.
Package app with Crosswalk Runtime and RealSense Extensions to installers.
crosswalk-pkg -p windows -c C:\path\to\crosswalk64-19.48.498.0.zip myapp
There are two outputs:
com.example.myapp-0.1.0.0.msi
is the MSI installer without Intel RealSense SDK (RSSDK) runtime installer.com.example.myapp_with_rssdk_runtime_0.1.0.0.exe
is the WiX bootstrapper installer with the RSSDK runtime web installer. It launches the RSSDK runtime web installer to install dependencies during the application installation.
Learn the JavaScript APIs
Download and unzip the Source code
from the Downloads of this release.
The API specifications are under spec
folder. They are Depth Enabled Photography API, Scene Perception API and Face API.
spec/
|── depth-enabled-photography.html
|── scene-perception.html
└── face.html
The Sample App demonstrates how to use these APIs. The source of sample app is under sample
folder.
Changes
(from v18.6.0)
[Spec] Added examples of DEP, SP and Face APIs.
[Spec] Customized ReSpec unofficial draft configuration.
[SP] Added new API getInternalCameraIntrinsics.
[SP] Added new API getVolumePreview.
[Sample][SP] Improved the meshing reconstruction performance by 25 times by using raw WebGL.
[Sample][DEP][Face] Supported the permission control system of Crosswalk 19.
[Sample][DEP][SP] Unified the format of saving file name.
[Sample][Face] Start preview and FaceModule after clicking 'start' button for easy testing propose.
[Hooks] Use passive mode of RSSDK runtime installer for more smooth installation experience.
[Hooks] Integrated RSSDK EULA into app installer UI.