Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build/webarkit_ES6_wasm.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/webarkit_ES6_wasm.simd.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/WebARKit.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions examples/threejs_teblid_static_image_ES6_example.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
The same img element is also sampled by context_process.drawImage() in
threejs_static_image_worker_ES6.js as the tracker's input frame.
-->
<img id="static-image" src="data/pinball-demo-big.jpg"
<img id="static-image" src="data/pinball-demo.jpg"
Comment thread
kalwalt marked this conversation as resolved.
Comment thread
qodo-code-review[bot] marked this conversation as resolved.
style="position:absolute; top:0; left:0; width:100%; height:100%; object-fit:cover;">
<canvas id="canvas"></canvas>
</div>
Expand All @@ -45,7 +45,7 @@

<script>
function setTrackerType() {
return 'teblid';
return 'akaze';
}
</script>

Expand Down
6 changes: 4 additions & 2 deletions tools/makem.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ if (WITH_FILTERING) DEFINES += ' -D WITH_FILTERING ';
var FLAGS = '' + OPTIMIZE_FLAGS;
FLAGS += ' -Wno-warn-absolute-paths ';
FLAGS += ' -s TOTAL_MEMORY=' + MEM + ' ';
FLAGS += ' -s USE_ZLIB=1';
FLAGS += ' -s USE_LIBJPEG';
//FLAGS += ' -s USE_ZLIB=1';
//FLAGS += ' -s USE_LIBJPEG';
FLAGS += ' --memory-init-file 0 '; // for memless file
FLAGS += ' -s "EXPORTED_RUNTIME_METHODS=[\'FS\']"';
FLAGS += ' -s ALLOW_MEMORY_GROWTH=1';
Expand Down Expand Up @@ -220,6 +220,8 @@ var OPENCV_LIBS = [
path.resolve(__dirname, '../opencv_js/lib/libopencv_imgproc.a'),
path.resolve(__dirname, '../opencv_js/lib/libopencv_video.a'),
path.resolve(__dirname, '../opencv_js/lib/libopencv_xfeatures2d.a'),
path.resolve(__dirname, '../opencv_js/3rdparty/lib/libzlib.a'),

].map(function (s) { return ' ' + s }).join(' ');

function format(str) {
Expand Down