Skip to content
Permalink
Browse files

ES6 modules

  • Loading branch information
Marcel Klammer
Marcel Klammer committed Jun 20, 2019
1 parent a879206 commit 669fb7380ef6a33d106b677202051fb9b711b297
Showing with 1,057 additions and 795 deletions.
  1. +0 −54 basic__face_detection__camera.html
  2. +0 −78 basic__face_tracking__camera.html
  3. BIN brfv5_landmarks.jpg
  4. +0 −4 css/basic.css
  5. +5 −0 css/examples.css
  6. +25 −0 examples/camera__face_detection.html
  7. +25 −0 examples/camera__face_tracking__blink_detection.html
  8. +25 −0 examples/camera__face_tracking__multi_face.html
  9. +25 −0 examples/camera__face_tracking__single_face.html
  10. +25 −0 examples/camera__face_tracking__single_face__center_roi.html
  11. +25 −0 examples/camera__face_tracking__single_face__minimal.html
  12. +25 −0 examples/minimal__face_tracking__single_face.html
  13. +11 −7 index.html
  14. +2 −3 js/brfv5/{BRFv5_JS_tk170619_v5.0.0a_trial.js → BRFv5_JS_tk190619_v5.0.0a2_trial.js}
  15. +118 −0 js/brfv5/examples/camera__face_detection.mjs
  16. +188 −0 js/brfv5/examples/camera__face_tracking__blink_detection.mjs
  17. +47 −0 js/brfv5/examples/camera__face_tracking__multi_face.mjs
  18. +60 −0 js/brfv5/examples/camera__face_tracking__single_face.mjs
  19. +45 −0 js/brfv5/examples/camera__face_tracking__single_face__center_roi.mjs
  20. +11 −0 js/brfv5/examples/camera__face_tracking__single_face__minimal.mjs
  21. BIN .../{BRFv5_JS_tk170619_v5.0.0a_trial_42l_max.brfv5 → BRFv5_JS_tk190619_v5.0.0a2_trial_42l_max.brfv5}
  22. BIN ...5_JS_tk170619_v5.0.0a_trial_42l_medium.brfv5 → BRFv5_JS_tk190619_v5.0.0a2_trial_42l_medium.brfv5}
  23. BIN .../{BRFv5_JS_tk170619_v5.0.0a_trial_42l_min.brfv5 → BRFv5_JS_tk190619_v5.0.0a2_trial_42l_min.brfv5}
  24. BIN .../{BRFv5_JS_tk170619_v5.0.0a_trial_68l_max.brfv5 → BRFv5_JS_tk190619_v5.0.0a2_trial_68l_max.brfv5}
  25. BIN ...5_JS_tk170619_v5.0.0a_trial_68l_medium.brfv5 → BRFv5_JS_tk190619_v5.0.0a2_trial_68l_medium.brfv5}
  26. BIN .../{BRFv5_JS_tk170619_v5.0.0a_trial_68l_min.brfv5 → BRFv5_JS_tk190619_v5.0.0a2_trial_68l_min.brfv5}
  27. +92 −0 js/brfv5/ui/ui__canvas.mjs
  28. +3 −16 js/{utils/BRFv5SimplePreloader.js → brfv5/ui/ui__preloader.mjs}
  29. +43 −0 js/brfv5/ui/ui__resize.mjs
  30. +5 −18 js/{utils/BRFv5SimpleStats.js → brfv5/ui/ui__stats.mjs}
  31. +14 −31 js/{utils/BRFv5Camera.js → brfv5/utils/utils__camera.mjs}
  32. +228 −0 js/brfv5/utils/utils__init.mjs
  33. +10 −0 js/brfv5/utils/utils__math.mjs
  34. +0 −105 js/examples/basic__face_detection__example.js
  35. +0 −20 js/examples/basic__face_tracking__multiple_faces.js
  36. +0 −24 js/examples/basic__face_tracking__single_face.js
  37. +0 −232 js/utils/BRFv5BasicInit.js
  38. +0 −95 js/utils/BRFv5Canvas.js
  39. +0 −63 js/utils/BRFv5SimpleResize.js
  40. +0 −45 minimal__face_tracking__camera.html

This file was deleted.

This file was deleted.

BIN +179 KB brfv5_landmarks.jpg
Binary file not shown.

This file was deleted.

@@ -0,0 +1,5 @@
html, body { width: 100%; height: 100%; margin: 0; padding: 0; overflow: hidden; background-color: #ffffff; }
video, canvas { display: block; position: absolute; }
#_exit { width: 128px; height: 128px; position: absolute; bottom: 10px; left: 10px; }
#_exit > img { width: 128px; height: 128px; position: absolute; }
p { margin-left: 12px; }
@@ -0,0 +1,25 @@
<!DOCTYPE html>
<html lang="en">
<head>

<base href="../">

<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="css/examples.css">

<title>Beyond Reality Face SDK - BRFv5 - Browser/JavaScript - basic setup: camera</title>

<script type="module" src="js/brfv5/examples/camera__face_detection.mjs"></script>

</head>

<body>

<a id="_exit" href="https://www.beyond-reality-face.com" target="_blank">
<img src="images/brfv5_logo.png" alt="brfv5 logo">
</a>

</body>

</html>
@@ -0,0 +1,25 @@
<!DOCTYPE html>
<html lang="en">
<head>

<base href="../">

<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="css/examples.css">

<title>Beyond Reality Face SDK - BRFv5 - Browser/JavaScript - basic setup: camera</title>

<script type="module" src="js/brfv5/examples/camera__face_tracking__blink_detection.mjs"></script>

</head>

<body>

<a id="_exit" href="https://www.beyond-reality-face.com" target="_blank">
<img src="images/brfv5_logo.png" alt="brfv5 logo">
</a>

</body>

</html>
@@ -0,0 +1,25 @@
<!DOCTYPE html>
<html lang="en">
<head>

<base href="../">

<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="css/examples.css">

<title>Beyond Reality Face SDK - BRFv5 - Browser/JavaScript - basic setup: camera</title>

<script type="module" src="js/brfv5/examples/camera__face_tracking__multi_face.mjs"></script>

</head>

<body>

<a id="_exit" href="https://www.beyond-reality-face.com" target="_blank">
<img src="images/brfv5_logo.png" alt="brfv5 logo">
</a>

</body>

</html>
@@ -0,0 +1,25 @@
<!DOCTYPE html>
<html lang="en">
<head>

<base href="../">

<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="css/examples.css">

<title>Beyond Reality Face SDK - BRFv5 - Browser/JavaScript - basic setup: camera</title>

<script type="module" src="js/brfv5/examples/camera__face_tracking__single_face.mjs"></script>

</head>

<body>

<a id="_exit" href="https://www.beyond-reality-face.com" target="_blank">
<img src="images/brfv5_logo.png" alt="brfv5 logo">
</a>

</body>

</html>
@@ -0,0 +1,25 @@
<!DOCTYPE html>
<html lang="en">
<head>

<base href="../">

<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="css/examples.css">

<title>Beyond Reality Face SDK - BRFv5 - Browser/JavaScript - basic setup: camera</title>

<script type="module" src="js/brfv5/examples/camera__face_tracking__single_face__center_roi.mjs"></script>

</head>

<body>

<a id="_exit" href="https://www.beyond-reality-face.com" target="_blank">
<img src="images/brfv5_logo.png" alt="brfv5 logo">
</a>

</body>

</html>
@@ -0,0 +1,25 @@
<!DOCTYPE html>
<html lang="en">
<head>

<base href="../">

<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="css/examples.css">

<title>Beyond Reality Face SDK - BRFv5 - Browser/JavaScript - basic setup: camera</title>

<script type="module" src="js/brfv5/examples/camera__face_tracking__single_face__minimal.mjs"></script>

</head>

<body>

<a id="_exit" href="https://www.beyond-reality-face.com" target="_blank">
<img src="images/brfv5_logo.png" alt="brfv5 logo">
</a>

</body>

</html>
@@ -0,0 +1,25 @@
<!DOCTYPE html>
<html lang="en">
<head>

<base href="../">

<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="css/examples.css">

<title>Beyond Reality Face SDK - BRFv5 - Browser/JavaScript - basic setup: camera</title>

<script type="module" src="js/brfv5/examples/minimal__face_tracking__single_face.mjs"></script>

</head>

<body>

<a id="_exit" href="https://www.beyond-reality-face.com" target="_blank">
<img src="images/brfv5_logo.png" alt="brfv5 logo">
</a>

</body>

</html>
@@ -4,21 +4,25 @@

<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="css/basic.css">
<link rel="stylesheet" type="text/css" href="css/examples.css">

<title>Beyond Reality Face SDK - BRFv5 - Browser/Javascript - links</title>
<title>Beyond Reality Face SDK - BRFv5 - Browser/JavaScript - examples list</title>

</head>

<body>

<p>If you are new to BRFv5, we recommend taking a look at basic__face_tracking__camera.html first.
It contains the comments on the basic mechanics of the camera setup. Other html won't include those
setup comments.</p>
<!-- Each of these examples include an example specific tracking function and, if necessary, a custom configuration. -->
<!-- If you are new to BRFv5, please start with camera__face_tracking__single_face and read the included comments. -->

<ul>
<li><a href="basic__face_tracking__camera.html" target="_self">basic__face_tracking__camera.html</a></li>
<li><a href="minimal__face_tracking__camera.html" target="_self">minimal__face_tracking__camera.html</a></li>
<li><a href="examples/camera__face_detection.html" target="_self">camera__face_detection.html</a></li>
<li><a href="examples/camera__face_tracking__blink_detection.html" target="_self">camera__face_tracking__blink_detection.html</a></li>
<li><a href="examples/camera__face_tracking__single_face.html" target="_self">camera__face_tracking__single_face.html</a></li>
<li><a href="examples/camera__face_tracking__single_face__center_roi.html" target="_self">camera__face_tracking__single_face__center_roi.html</a></li>
<li><a href="examples/camera__face_tracking__single_face__minimal.html" target="_self">camera__face_tracking__single_face__minimal.html</a></li>
<li><a href="examples/camera__face_tracking__multi_face.html" target="_self">camera__face_tracking__multi_face.html</a></li>

</ul>

<a id="_exit" href="https://www.beyond-reality-face.com" target="_blank" style="width: 128px; height: 128px">

Some generated files are not rendered by default. Learn more.

0 comments on commit 669fb73

Please sign in to comment.
You can’t perform that action at this time.