-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: depth image does not have to be same type than raw image
- Loading branch information
Showing
10 changed files
with
7,460 additions
and
3,862 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
common/* | ||
!common/.gitkeep |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>@openhps/video - Basic Example</title> | ||
</head> | ||
<body> | ||
<script type="module"> | ||
import { ModelBuilder, DataSerializer, DataObject } from '../common/openhps-core.es.js'; | ||
import { CameraObject } from '../common/openhps-video.es.js'; | ||
|
||
ModelBuilder.create() | ||
.from() | ||
.to() | ||
.build().then(model => { | ||
console.log(model); | ||
const abc = new DataObject("test"); | ||
console.log(abc); | ||
const object = new CameraObject("test"); | ||
console.log(DataSerializer.serialize(object)); | ||
}).catch(console.error); | ||
</script> | ||
</body> | ||
</html> |
Oops, something went wrong.