Khuta Al-Salah - posture-match prototype Copyright 2026 the Khuta Al-Salah authors (copyright holder to be confirmed). Licence for our own code: not chosen yet. Until a LICENSE file is published with this project, all rights in our own code are reserved. The lesson text and religious wording are NOT covered by that licence. This page and repository are not endorsed by Google, Cloudflare, the Islamic AI Challenge organisers or any author named below. Product names are used only to say where the material comes from. ====================================================================== THIRD-PARTY MATERIAL DISTRIBUTED WITH THE WEB PAGE (folder site/vendor/) Full Apache License 2.0 text: LICENSES/Apache-2.0.txt Nothing below was modified by us; files are byte-identical to the originals. ====================================================================== 1. MediaPipe Tasks Vision 1.0.1 (site/vendor/tasks-vision/) Copyright The MediaPipe Authors. Apache License, Version 2.0. Source: https://github.com/google-ai-edge/mediapipe Package: https://www.npmjs.com/package/@mediapipe/tasks-vision The WebAssembly files in this package were built by Google and contain open-source libraries. From strings in the binary and Google's build files these include (exact list not published by Google): TensorFlow Lite, Abseil, OpenCV, FlatBuffers, ruy, gemmlowp - Apache License, Version 2.0 XNNPACK - BSD License (text below, item 6) Protocol Buffers - BSD license (text below, item 6) Emscripten runtime - MIT license (text below, item 7) Eigen - Mozilla Public License 2.0, with some files under BSD. Eigen source code: https://gitlab.com/libeigen/eigen ; MediaPipe's build pins commit ea13a98decd497a8c5588fb5de71b57bcf10d864; the exact version compiled into the wasm is not confirmed. Licence: https://www.mozilla.org/MPL/2.0/ MediaPipe Tasks tries to send performance and usage metrics to Google (host odml.pa.googleapis.com; see "MediaPipe Tasks Privacy Notice", https://developers.google.com/edge/mediapipe/solutions/tasks). This page blocks that request with a Content-Security-Policy (connect-src 'self'), so no metrics leave the device. Camera frames are processed on the device and are not sent. 2. MediaPipe Pose Landmarker models "BlazePose GHUM 3D", Full and Lite, float16 (site/vendor/models/pose_landmarker_full.task, pose_landmarker_lite.task) By Valentin Bazarevsky, Ivan Grishchenko, Eduard Gabriel Bazavan (Google). Apache License, Version 2.0, as stated in the model card: https://storage.googleapis.com/mediapipe-assets/Model%20Card%20BlazePose%20GHUM%203D.pdf Cite: BlazePose: On-device Real-time Body Pose tracking (CVPR Workshop 2020); GHUM & GHUML (CVPR 2020). 3. TensorFlow.js 4.22.0 (site/vendor/tfjs/tf.min.js) Copyright 2024 Google LLC. Apache License, Version 2.0. https://github.com/tensorflow/tfjs Includes: long 4.0.0 (Apache License, Version 2.0); TensorFlow.js Layers, licensed under both MIT and Apache 2.0: Copyright (c) 2015 - 2018, François Chollet. Copyright (c) 2015 - 2018, Google LLC. Copyright (c) 2017 - 2018, Microsoft, LLC Copyright (c) 2015 - 2018, the respective contributors. core-js 3.29.1 - (c) 2014-2023 Denis Pushkarev (zloirock.ru), MIT license seedrandom - Copyright 2019 David Bau, MIT license regenerator-runtime - Copyright (c) 2014-present, Facebook, Inc., MIT license (MIT text: item 7.) One WebGL shader function is "based on the work of Dave Hoskins", https://www.shadertoy.com/view/4djSRW (licence not confirmed). 4. MoveNet SinglePose Thunder v4 and Lightning v4, TF.js format (site/vendor/movenet/) By Francois Beletti, Yu-Hui Chen, Ard Oerlemans, Ronny Votel (Google). Apache License, Version 2.0 (Kaggle model page "Apache 2.0" and model card): https://www.kaggle.com/models/google/movenet/tfJs/singlepose-thunder/4 https://www.kaggle.com/models/google/movenet/tfJs/singlepose-lightning/4 https://storage.googleapis.com/movenet/MoveNet.SinglePose%20Model%20Card.pdf 5. Reference data Every entry in site/references.json that cites the paper below uses it in part only: the PUBLISHED, CONVERTED knee values, the DEFINITION entries (standing is the zero point of the hip and knee scale), and the notes under some PROVISIONAL entries that quote the published hip means 74.1, 118.1 and 77.3 degrees. Source: Ariff MS, Arshad AA, Johari MH, Rahimin Affandi MAS, Fadzli AS, Mai Ashikin NT, Che Anuar CM, Rosazra R, Norhafiza AR. The study on range of motion of hip and knee in prayer by adult Muslim males: a preliminary report. IIUM Medical Journal Malaysia 2015;14(1). https://doi.org/10.31436/imjm.v14i1.456 . Reuse terms: https://journals.iium.edu.my/kom/index.php/imjm/copyright Values marked CONVERTED were changed by us (180 minus the published flexion angle) and are not the paper's own numbers. The target values of PROVISIONAL entries have no published source; only their notes quote the paper. 6. BSD licences (for the XNNPACK and Protocol Buffers code inside item 1) XNNPACK - BSD License Copyright (c) Facebook, Inc. and its affiliates. All rights reserved. Copyright 2019 Google LLC Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name Facebook nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Protocol Buffers Copyright 2008 Google Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Google Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 7. MIT licence (Emscripten runtime; core-js; seedrandom; regenerator-runtime; TensorFlow.js Layers) - each under the copyright line given for it above (Emscripten: Copyright (c) 2010-2014 Emscripten authors, see AUTHORS file). Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.