AI-selectie in "Contour uit foto" – gebruikte modellen en software ===================================================================== De AI-selectie draait volledig in de browser. De foto wordt nergens heen gestuurd; alleen het model wordt gedownload (eenmalig, daarna bewaard in de browsercache). 1. SAM 2.1 hiera-tiny (Segment Anything Model 2.1) Copyright Meta Platforms, Inc. and affiliates. Licentie: Apache License 2.0 – volledige tekst in sam21t/LICENSE. Bron: https://github.com/facebookresearch/sam2 · https://huggingface.co/facebook/sam2.1-hiera-tiny ONNX-export: https://huggingface.co/onnx-community/sam2.1-hiera-tiny-ONNX (revisie 814a066640debee5a91e70aa401fb8e17e030503). De gewichten (vision_encoder.onnx_data, 134 MB; prompt_encoder_mask_decoder.onnx_data, 21 MB) worden van die revisie geladen. sha256 vision_encoder.onnx_data e83df9866a5afe68ea7f0f721f18f65137fc3acbf0da1c74e946d363e09c69cc sha256 prompt_encoder_mask_decoder.onnx_data e9874d900dd4134ed60eab1e97910327c2419e0b2954485d8fd6e7f1a1470f47 Bestanden in sam21t/: - vision_encoder.onnx: ongewijzigd uit die revisie (alleen de graaf; de gewichten staan in het _data-bestand). - prompt_encoder_mask_decoder_all.onnx: GEWIJZIGD door GEREED3D (2026-09-26): de twee laatste Slice-knopen (iou_scores, pred_masks) beginnen bij 0 in plaats van 1, zodat ook SAM's 'single mask'-uitgang terugkomt (4 maskers in plaats van 3). Gewichten ongewijzigd. Script: bench/ai/patch_decoder.py in de broncode. 1b. SAM 2.1 hiera-base-plus en hiera-large (keuze 'AI-model', sinds 27-09-2026) Copyright Meta Platforms, Inc. and affiliates. Licentie: Apache License 2.0 – volledige tekst in sam21bp/LICENSE en sam21l/LICENSE. Bron: https://github.com/facebookresearch/sam2 · https://huggingface.co/facebook/sam2.1-hiera-base-plus · https://huggingface.co/facebook/sam2.1-hiera-large ONNX-export: https://huggingface.co/onnx-community/sam2.1-hiera-base-plus-ONNX (revisie bab18593f44e652f04cf18b60b3690f60e8996b0) en https://huggingface.co/onnx-community/sam2.1-hiera-large-ONNX (revisie 3c23431f721e69cae82dbfd0c28fd692cc714021). De gewichten worden van die revisies geladen: base+ sha256 vision_encoder.onnx_data (306 MB) f8a5f1b14d02eb7ed3b3576ad6774b8ebcfef6cc20674d5f316d6144c60a08a5 base+ sha256 vision_encoder_fp16.onnx_data (153 MB) 78be422d399181ce3af00130409ebe32eb5b95825e7fe290440fbfaac70b99b4 base+ sha256 prompt_encoder_mask_decoder.onnx_data (21 MB) 445cd3f72a218815db10e336f4f1c46a6eb2713a0160a85af5365134607f32a7 large sha256 vision_encoder.onnx_data (889 MB) 88c501a65b6aaeac99b65a275f3f559727404283930d107d499fda8714ba7e5a large sha256 vision_encoder_fp16.onnx_data (444 MB) 582e72fd400e4012cedeb9109b0e7cbe61100bd7b1fe2dcf35a42ff6381fd472 large sha256 prompt_encoder_mask_decoder.onnx_data (21 MB) bfdcd4f7ee04298a82fe1aaf1bd7b8edf544d36901e1a886f01892fb915bd63c Bestanden in sam21bp/ en sam21l/: - vision_encoder.onnx en vision_encoder_fp16.onnx: ongewijzigd uit die revisie (alleen de graaf). - prompt_encoder_mask_decoder_all.onnx: GEWIJZIGD door GEREED3D (2026-09-27), dezelfde wijziging als bij tiny (4 maskers; bench/ai/patch_decoder.py op de fp32-decoder van die revisie). Gewichten ongewijzigd. 2. ONNX Runtime Web (onnxruntime-web 1.30.0) Copyright (c) Microsoft Corporation. Licentie: MIT. MIT License Copyright (c) Microsoft Corporation 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. Bewust NIET gebruikt (licentie): RMBG-1.4/2.0 (niet-commercieel), @imgly/background-removal (AGPL), FastSAM (AGPL), EdgeSAM (niet-commercieel).