{
  "id": "task_libraries:computer-vision/javascript",
  "path": "/exapedia/javascript-computer-vision-libraries",
  "template": {
    "id": "task_libraries",
    "version": 4
  },
  "title": "JavaScript computer vision libraries",
  "answer": [
    {
      "t": "text",
      "text": "JavaScript computer vision libraries analyze images and video frames to find faces, objects, poses, and regions. Detection runs a pretrained model in the browser or in Node.js after the library loads its weight files. These libraries add face filters, background removal, document scanning, and camera-based input to web apps."
    }
  ],
  "breadcrumb": [
    {
      "label": "Tools"
    },
    {
      "label": "JavaScript computer vision libraries"
    }
  ],
  "sections": [
    {
      "id": "libraries_popularity",
      "anchor": "popularity",
      "heading": "Popularity",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Monthly downloads",
            "Stars",
            "Last release",
            "License"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#mediapipe-tasks-vision",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F130"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F131"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F137"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F134"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F132"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#huggingface-transformers",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F147"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F148"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F156"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F151"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F149"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#tensorflow-tfjs",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F166"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F167"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F175"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F170"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F168"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#opencv-js-techstark",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F185"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F186"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F192"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F189"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F187"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#faceapi-vladmandic",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F204"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F205"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F211"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F208"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F206"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#vladmandic-human",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F222"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F223"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F231"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F226"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F224"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#tensorflow-models-blazeface",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F241"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F242"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F250"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F245"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F243"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#tensorflow-models-face-detection",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F257"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F258"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F266"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F261"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F259"
                }
              ]
            ]
          ],
          "variant": "pop",
          "caption": [
            {
              "t": "text",
              "text": "Downloads: "
            },
            {
              "t": "text",
              "text": "npm"
            },
            {
              "t": "text",
              "text": ", last thirty days. Stars and releases: GitHub. Amber: no release in over a year."
            }
          ]
        }
      ],
      "note": [
        {
          "t": "link",
          "href": "#mediapipe-tasks-vision",
          "label": [
            {
              "t": "text",
              "text": "MediaPipe Tasks Vision"
            }
          ]
        },
        {
          "t": "text",
          "text": " has the most monthly downloads in this comparison, at "
        },
        {
          "t": "fact",
          "fact": "F131"
        },
        {
          "t": "text",
          "text": "."
        }
      ]
    },
    {
      "id": "libraries_capabilities",
      "anchor": "capabilities",
      "heading": "Capabilities",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Face keypoint task",
            "Image segmentation API",
            "Face descriptor pipeline"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#mediapipe-tasks-vision",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F130"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F138"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F139"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F140"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#huggingface-transformers",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F147"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F157"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F158"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F159"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#tensorflow-tfjs",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F166"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F176"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F177"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F178"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#opencv-js-techstark",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F185"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F193"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F194"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F195"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#faceapi-vladmandic",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F204"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F212"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F213"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F214"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#vladmandic-human",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F222"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F232"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F233"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F234"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#tensorflow-models-blazeface",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F241"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F251"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F252"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F253"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#tensorflow-models-face-detection",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F257"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F267"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F268"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F269"
                }
              ]
            ]
          ],
          "variant": "cap"
        }
      ]
    },
    {
      "id": "libraries_entries",
      "anchor": "libraries",
      "heading": "Libraries",
      "blocks": [
        {
          "b": "entry",
          "anchor": "mediapipe-tasks-vision",
          "name": [
            {
              "t": "fact",
              "fact": "F130"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/google-ai-edge/mediapipe"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@mediapipe/tasks-vision"
            },
            {
              "label": "Docs",
              "href": "https://cdn.jsdelivr.net/npm/@mediapipe/tasks-vision@1.2.3/vision.d.ts"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F11"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F131"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F137"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F133"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F132"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://cdn.jsdelivr.net/npm/@mediapipe/tasks-vision@1.2.3/vision.d.ts",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F130"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F12"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F13"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F14"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F15"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F16"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F17"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F18"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F19"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F145"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F146"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/google-ai-edge/mediapipe-samples-web",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F145"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "typescript",
              "code": "protected async handleCustomMessage(data: any): Promise<void> {\n    if (data.type === 'DETECT_IMAGE' || data.type === 'DETECT_VIDEO') {\n      const { bitmap, timestampMs } = data;\n      const requiredMode = data.type === 'DETECT_IMAGE' ? 'IMAGE' : 'VIDEO';\n\n      if (!this.taskInstance) {\n        console.warn('FaceLandmarker not initialized yet.');\n        bitmap.close();\n        self.postMessage({ type: 'DETECT_ERROR', error: 'Not initialized' });\n        return;\n      }\n\n      if (this.currentOptions.runningMode !== requiredMode) {\n        this.currentOptions.runningMode = requiredMode;\n        await this.updateOptions();\n      }\n\n      const startTimeMs = performance.now();\n      let result: FaceLandmarkerResult;\n\n      try {\n        if (requiredMode === 'VIDEO') {\n          result = this.taskInstance.detectForVideo(bitmap, timestampMs);\n        } else {\n          result = this.taskInstance.detect(bitmap);\n        }\n      } catch (e: any) {\n        console.error('Worker detection error:', e);\n        bitmap.close();\n        self.postMessage({ type: 'DETECT_ERROR', error: e.message || 'Detection failed' });\n        return;\n      }\n\n      const inferenceTime = performance.now() - startTimeMs;\n      bitmap.close();\n\n      self.postMessage({\n        type: 'DETECT_RESULT',\n        mode: requiredMode,\n        result: result,\n        inferenceTime: inferenceTime,\n      });\n    }\n  }",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/google-ai-edge/mediapipe-samples-web/blob/64ecdefb2a0f0d97e175e4d8fdeeff0f73b29ab5/src/workers/face-landmarker.worker.ts#L53-L96",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F144"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=JavaScript%20TypeScript%20application%20%40mediapipe/tasks-vision%20image%20video%20inference%20geometry%20landmarks%20detection%20SDK&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F130"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "typescript",
              "code": "import { FaceLandmarker, FilesetResolver } from '@mediapipe/tasks-vision';\n\nconst vision = await FilesetResolver.forVisionTasks('/mediapipe/wasm');\nconst detector = await FaceLandmarker.createFromOptions(vision, {\n  baseOptions: { modelAssetPath: '/models/face_landmarker.task' },\n  runningMode: 'IMAGE'\n});\nconst image = document.getElementById('image');\nawait image.decode();\nconst result = detector.detect(image);\ndetector.close();\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://cdn.jsdelivr.net/npm/@mediapipe/tasks-vision@1.2.3/vision.d.ts",
                  "label": [
                    {
                      "t": "text",
                      "text": "face-landmarker.worker.ts"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F135"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "huggingface-transformers",
          "name": [
            {
              "t": "fact",
              "fact": "F147"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/huggingface/transformers.js"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@huggingface/transformers"
            },
            {
              "label": "Docs",
              "href": "https://huggingface.co/docs/transformers.js/api/pipelines"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F276"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F148"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F156"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F150"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F149"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://huggingface.co/docs/transformers.js/api/pipelines",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F147"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F277"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F278"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F279"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F280"
                }
              ]
            }
          ],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F164"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F165"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/huggingface/transformers.js-examples",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F164"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "async function predict(url) {\n  imageContainer.innerHTML = \"\";\n  const image = await RawImage.fromURL(url);\n\n  // Set up scene and slider controls\n  const { canvas, setDisplacementMap } = setupScene(\n    url,\n    image.width,\n    image.height,\n  );\n\n  imageContainer.append(canvas);\n\n  status.textContent = \"Analysing...\";\n  const { depth } = await depth_estimator(image);\n\n  setDisplacementMap(depth.toCanvas());\n  status.textContent = \"\";\n\n  // Add slider control\n  const slider = document.createElement(\"input\");\n  slider.type = \"range\";\n  slider.min = 0;\n  slider.max = 1;\n  slider.step = 0.01;\n  slider.addEventListener(\"input\", (e) => {\n    onSliderChange(parseFloat(e.target.value));\n  });\n  slider.defaultValue = DEFAULT_SCALE;\n  imageContainer.append(slider);\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/huggingface/transformers.js-examples/blob/204b0948e88cd2bdc046316e78b754359653caea/depth-anything/main.js#L47-L77",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F163"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=%40huggingface/transformers%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F147"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import { pipeline } from '@huggingface/transformers';\n\nconst estimateDepth = await pipeline(\n  'depth-estimation', 'onnx-community/depth-anything-v2-small'\n);\nconst { depth } = await estimateDepth('/input.jpg');\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://cdn.jsdelivr.net/npm/@huggingface/transformers@4.3.2/types/pipelines/depth-estimation.d.ts",
                  "label": [
                    {
                      "t": "text",
                      "text": "depth-estimation.d.ts"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F152"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "tensorflow-tfjs",
          "name": [
            {
              "t": "fact",
              "fact": "F166"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/tensorflow/tfjs"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@tensorflow/tfjs"
            },
            {
              "label": "Docs",
              "href": "https://github.com/tensorflow/tfjs/blob/master/tfjs-core/src/ops/ops.ts"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F281"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F167"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F175"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F169"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F168"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/tensorflow/tfjs/blob/master/tfjs-core/src/ops/ops.ts",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F166"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F282"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F283"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F284"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F285"
                }
              ]
            }
          ],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F183"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F184"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/googlecreativelab/teachablemachine-community",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F183"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "export async function loadTruncatedMobileNet(modelOptions?: ModelOptions) {\n    const [checkpointUrl, trainingLayer] = parseModelOptions(modelOptions);\n    const mobilenet = await tf.loadLayersModel(checkpointUrl);\n\n    if (modelOptions && modelOptions.version === 1){\n        const layer = mobilenet.getLayer(trainingLayer);\n        const truncatedModel = tf.model({ inputs: mobilenet.inputs, outputs: layer.output });\n        const model = tf.sequential();\n        model.add(truncatedModel);\n        model.add(tf.layers.flatten());\n        return model;\n    }\n    else {\n        const layer = mobilenet.getLayer(trainingLayer);\n        const truncatedModel = tf.model({ inputs: mobilenet.inputs, outputs: layer.output });\n        const model = tf.sequential();\n        model.add(truncatedModel);\n        model.add(tf.layers.globalAveragePooling2d({})); // go from shape [7, 7, 1280] to [1280]\n        return model;\n    }\n}",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/googlecreativelab/teachablemachine-community/blob/55aa0bb84acaa9efcbb9a2068eaefbb72cddae2c/libraries/image/src/custom-mobilenet.ts#L289-L309",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F182"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=%40tensorflow/tfjs%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F166"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import * as tf from '@tensorflow/tfjs';\n\nconst image = tf.zeros([2, 2, 3]);\nconst resized = tf.image.resizeBilinear(image, [4, 4]);\nconsole.log(resized.shape);\nimage.dispose();\nresized.dispose();\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://cdn.jsdelivr.net/npm/@tensorflow/tfjs-core@4.22.0/dist/ops/image/resize_bilinear.d.ts",
                  "label": [
                    {
                      "t": "text",
                      "text": "resize_bilinear.d.ts"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F171"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "opencv-js-techstark",
          "name": [
            {
              "t": "fact",
              "fact": "F185"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/TechStark/opencv-js"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@techstark/opencv-js"
            },
            {
              "label": "Docs",
              "href": "https://github.com/TechStark/opencv-js/blob/main/README.md"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F35"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F186"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F192"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F188"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F187"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/TechStark/opencv-js/blob/main/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F185"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F36"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F37"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F38"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F39"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F40"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F41"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F42"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F43"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F202"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F203"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/aleqsio/screenmap",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F202"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "typescript",
              "code": "async function compute(headUrl, baseUrl) {\n  const [head, base] = await Promise.all([loadImage(headUrl), loadImage(baseUrl)])\n  const w = Math.min(head.naturalWidth, base.naturalWidth)\n  const h = Math.min(head.naturalHeight, base.naturalHeight)\n  const ctxOf = (img) => {\n    const c = document.createElement('canvas')\n    c.width = w\n    c.height = h\n    const ctx = c.getContext('2d', { willReadFrequently: true })\n    ctx.drawImage(img, 0, 0, w, h)\n    return ctx\n  }\n  const headCtx = ctxOf(head)\n  const baseCtx = ctxOf(base)\n  const headData = headCtx.getImageData(0, 0, w, h)\n  const baseData = baseCtx.getImageData(0, 0, w, h)\n\n  const maskData = new ImageData(w, h)\n  pixelmatch(baseData.data, headData.data, maskData.data, w, h, {\n    threshold: 0.12,\n    includeAA: false,\n    diffMask: true, // only diff pixels are drawn → alpha channel IS the mask\n  })\n\n  const cv = await loadCv()\n  const islands = []\n  // cluster the mask into islands\n  const maskMat = cv.matFromImageData(maskData)\n  const gray = new cv.Mat()\n  cv.cvtColor(maskMat, gray, cv.COLOR_RGBA2GRAY)\n  cv.threshold(gray, gray, 1, 255, cv.THRESH_BINARY)\n  const kernel = cv.getStructuringElement(cv.MORPH_RECT, new cv.Size(9, 9))\n  const fused = new cv.Mat()\n  cv.dilate(gray, fused, kernel)\n  const labels = new cv.Mat()\n  const stats = new cv.Mat()\n  const centroids = new cv.Mat()\n  const n = cv.connectedComponentsWithStats(fused, labels, stats, centroids)\n  const changedFraction = cv.countNonZero(gray) / (w * h)\n  const headGray = cv.matFromImageData(headData)\n  const baseGray = cv.matFromImageData(baseData)\n  cv.cvtColor(headGray, headGray, cv.COLOR_RGBA2GRAY)\n  cv.cvtColor(baseGray, baseGray, cv.COLOR_RGBA2GRAY)\n\n  for (let i = 1; i < n; i++) {\n    const s = stats.data32S.subarray(i * 5, i * 5 + 5)\n    const [x, y, bw, bh, area] = s\n    if (area < MIN_ISLAND_AREA) continue\n    const island = { x, y, w: bw, h: bh, kind: 'changed', dx: 0, dy: 0 }\n    // motion analysis is pointless when most of the screen changed, and\n    // template matching on huge islands is slow — treat those as changed\n    const feasible = changedFraction < 0.5 && bw * bh < w * h * 0.35 && bw > 16 && bh > 10\n    if (feasible) {\n      const sx = Math.max(0, x - SEARCH_PAD)\n      const sy = Math.max(0, y - SEARCH_PAD)\n      const sw = Math.min(w, x + bw + SEARCH_PAD) - sx\n      const sh = Math.min(h, y + bh + SEARCH_PAD) - sy\n      const templ = baseGray.roi(new cv.Rect(x, y, bw, bh))\n      const mean = new cv.Mat()\n      const stddev = new cv.Mat()\n      cv.meanStdDev(templ, mean, stddev)\n      const texture = stddev.data64F[0]\n      mean.delete(); stddev.delete()\n      if (texture >= MIN_TEXTURE) {\n        const search = headGray.roi(new cv.Rect(sx, sy, sw, sh))\n        const result = new cv.Mat()\n        cv.matchTemplate(search, templ, result, cv.TM_CCOEFF_NORMED)\n        const mm = cv.minMaxLoc(result)\n        const dx = sx + mm.maxLoc.x - x\n        const dy = sy + mm.maxLoc.y - y\n        // \"moved\" needs a confident match that clearly BEATS staying put —\n        // otherwise textured-but-generic patches (avatar rows) match anywhere\n        const stayScore = result.data32F[(y - sy) * result.cols + (x - sx)] ?? -1\n        if (\n          mm.maxVal >= MATCH_SCORE &&\n          mm.maxVal - stayScore >= MATCH_MARGIN &&\n          Math.abs(dx) + Math.abs(dy) >= MIN_SHIFT\n        ) {\n          island.kind = 'moved'\n          island.dx = dx\n          island.dy = dy\n        }\n        search.delete(); result.delete()\n      }\n      templ.delete()\n    }\n    islands.push(island)\n  }\n  for (const m of [maskMat, gray, kernel, fused, labels, stats, centroids, headGray, baseGray]) m.delete()\n\n  // merge overlapping/touching same-kind boxes so fragmented regions read as one\n  const overlaps = (a, b, pad) =>\n    a.x < b.x + b.w + pad && b.x < a.x + a.w + pad && a.y < b.y + b.h + pad && b.y < a.y + a.h + pad\n  let merged = true\n  while (merged) {\n    merged = false\n    outer: for (let i = 0; i < islands.length; i++) {\n      for (let j = i + 1; j < islands.length; j++) {\n        const a = islands[i]\n        const b = islands[j]\n        if (a.kind !== b.kind || !overlaps(a, b, 8)) continue\n        if (a.kind === 'moved' && (Math.abs(a.dx - b.dx) > 6 || Math.abs(a.dy - b.dy) > 6)) continue\n        const x2 = Math.max(a.x + a.w, b.x + b.w)\n        const y2 = Math.max(a.y + a.h, b.y + b.h)\n        a.x = Math.min(a.x, b.x)\n        a.y = Math.min(a.y, b.y)\n        a.w = x2 - a.x\n        a.h = y2 - a.y\n        islands.splice(j, 1)\n        merged = true\n        break outer\n      }\n    }\n  }\n\n  // a moved island's destination box already marks its landing spot — drop\n  // changed islands whose center sits inside one (they're the same event)\n  const movedDests = islands.filter((r) => r.kind === 'moved').map((r) => ({ x: r.x + r.dx, y: r.y + r.dy, w: r.w, h: r.h }))\n  const covered = (r) => {\n    const cx = r.x + r.w / 2\n    const cy = r.y + r.h / 2\n    return movedDests.some((d) => cx >= d.x && cx <= d.x + d.w && cy >= d.y && cy <= d.y + d.h)\n  }\n  for (let i = islands.length - 1; i >= 0; i--) {\n    if (islands[i].kind === 'changed' && covered(islands[i])) islands.splice(i, 1)\n  }\n\n  // ---- render: dimmed grayscale head + island annotations ----\n  const out = document.createElement('canvas')\n  out.width = w\n  out.height = h\n  const ctx = out.getContext('2d')\n  ctx.filter = 'grayscale(1) brightness(0.5)'\n  ctx.drawImage(head, 0, 0, w, h)\n  ctx.filter = 'none'\n\n  // red tint for genuinely-changed pixels — only inside changed islands, so\n  // the annotation layer stays quiet everywhere else\n  const tint = new ImageData(w, h)\n  const changedRects = islands.filter((r) => r.kind === 'changed')\n  const inChanged = (px, py) =>\n    changedRects.some((r) => px >= r.x && px < r.x + r.w && py >= r.y && py < r.y + r.h)\n  for (let i = 0; i < maskData.data.length; i += 4) {\n    if (maskData.data[i + 3] === 0) continue\n    const px = (i / 4) % w\n    const py = Math.floor(i / 4 / w)\n    if (!inChanged(px, py)) continue\n    tint.data[i] = 248; tint.data[i + 1] = 56; tint.data[i + 2] = 56; tint.data[i + 3] = 230\n  }\n  const tintCanvas = document.createElement('canvas')\n  tintCanvas.width = w\n  tintCanvas.height = h\n  tintCanvas.getContext('2d').putImageData(tint, 0, 0)\n  ctx.drawImage(tintCanvas, 0, 0)\n\n  const L = Math.max(1.5, w / 260) // line weight scales with capture size\n  let moved = 0\n  let changed = 0\n  for (const r of islands) {\n    if (r.kind === 'moved') {\n      moved++\n      // dashed box where it was, solid box where it is now, arrow between\n      const nx = r.x + r.dx\n      const ny = r.y + r.dy\n      ctx.strokeStyle = 'rgba(103,232,249,0.55)'\n      ctx.lineWidth = L\n      ctx.setLineDash([5, 4])\n      ctx.strokeRect(r.x, r.y, r.w, r.h)\n      ctx.setLineDash([])\n      ctx.strokeStyle = '#67e8f9'\n      ctx.strokeRect(nx, ny, r.w, r.h)\n      const cx1 = r.x + r.w / 2\n      const cy1 = r.y + r.h / 2\n      const cx2 = nx + r.w / 2\n      const cy2 = ny + r.h / 2\n      const ang = Math.atan2(cy2 - cy1, cx2 - cx1)\n      const headLen = 5 * L\n      ctx.beginPath()\n      ctx.moveTo(cx1, cy1)\n      ctx.lineTo(cx2, cy2)\n      ctx.stroke()\n      ctx.beginPath()\n      ctx.moveTo(cx2, cy2)\n      ctx.lineTo(cx2 - headLen * Math.cos(ang - 0.4), cy2 - headLen * Math.sin(ang - 0.4))\n      ctx.lineTo(cx2 - headLen * Math.cos(ang + 0.4), cy2 - headLen * Math.sin(ang + 0.4))\n      ctx.closePath()\n      ctx.fillStyle = '#67e8f9'\n      ctx.fill()\n    } else {\n      changed++\n      ctx.strokeStyle = 'rgba(248,113,113,0.9)'\n      ctx.lineWidth = L\n      ctx.strokeRect(r.x, r.y, r.w, r.h)\n    }\n  }\n  return { url: out.toDataURL(), moved, changed }\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/aleqsio/screenmap/blob/7e1004fdd99bd0e15c1d5adc06e593a46981e41f/apps/visualiser/src/lib/visualDiff.js#L57-L253",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F201"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=JavaScript%20TypeScript%20application%20%40techstark/opencv-js%20image%20video%20inference%20geometry%20landmarks%20detection%20SDK&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F185"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "typescript",
              "code": "import cvModule from '@techstark/opencv-js';\n\nlet cv = cvModule;\nif (cvModule instanceof Promise) {\n  cv = await cvModule;\n} else if (!cvModule.Mat) {\n  await new Promise(resolve => { cvModule.onRuntimeInitialized = resolve; });\n}\nconst matrix = cv.imread(document.getElementById('image'));\nconsole.log(matrix.rows, matrix.cols);\nmatrix.delete();\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/TechStark/opencv-js/blob/main/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F190"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "faceapi-vladmandic",
          "name": [
            {
              "t": "fact",
              "fact": "F204"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/vladmandic/face-api"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@vladmandic/face-api"
            },
            {
              "label": "Docs",
              "href": "https://github.com/vladmandic/face-api/blob/master/README.md"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F55"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F205"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F211"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F207"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F206"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/vladmandic/face-api/blob/master/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F204"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F56"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F57"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F58"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F59"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F60"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F61"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F62"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F63"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F64"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F65"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F220"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F221"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/nextcloud/recognize",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F220"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "typescript",
              "code": "async function main() {\n\tconst getStdin = (await import('get-stdin')).default\n\tlet paths\n\tif (process.argv[2] === '-') {\n\t\tpaths = (await getStdin()).split('\\n')\n\t} else {\n\t\tpaths = process.argv.slice(2)\n\t}\n\n\tawait faceapi.nets.ssdMobilenetv1.loadFromDisk(path.resolve(__dirname, '..', 'node_modules/@vladmandic/face-api/model'))\n\tawait faceapi.nets.faceLandmark68Net.loadFromDisk(path.resolve(__dirname, '..', 'node_modules/@vladmandic/face-api/model'))\n\tawait faceapi.nets.faceRecognitionNet.loadFromDisk(path.resolve(__dirname, '..', 'node_modules/@vladmandic/face-api/model'))\n\n\tfor (const path of paths) {\n\t\ttry {\n\t\t\tlet tensor\n\t\t\tif (PUREJS) {\n\t\t\t\ttensor = await createTensor(await Jimp.read(path), 3)\n\t\t\t} else {\n\t\t\t\ttensor = await tf.node.decodeImage(await fs.readFile(path), 3)\n\t\t\t}\n\t\t\tconst results = await faceapi.detectAllFaces(tensor).withFaceLandmarks().withFaceDescriptors()\n\t\t\ttensor.dispose()\n\t\t\tconst vectors = results\n\t\t\t\t.map(result => ({\n\t\t\t\t\tangle: result.angle,\n\t\t\t\t\tvector: result.descriptor,\n\t\t\t\t\tx: result.detection.relativeBox.x,\n\t\t\t\t\ty: result.detection.relativeBox.y,\n\t\t\t\t\theight: result.detection.relativeBox.height,\n\t\t\t\t\twidth: result.detection.relativeBox.width,\n\t\t\t\t\tscore: result.detection.score,\n\t\t\t\t}))\n\n\t\t\tconsole.log(JSON.stringify(vectors))\n\t\t} catch (e) {\n\t\t\tconsole.error(e)\n\t\t\tconsole.log('[]')\n\t\t}\n\t}\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/nextcloud/recognize/blob/71f7e5c4bd24ca3cd9238de5c84f3a7def68fbaf/src/classifier_faces.js#L37-L77",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F219"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=JavaScript%20TypeScript%20application%20%40vladmandic/face-api%20image%20video%20inference%20geometry%20landmarks%20detection%20SDK&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F204"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "typescript",
              "code": "const fs = require('node:fs');\nconst faceapi = require('@vladmandic/face-api');\n\n(async () => {\n  await faceapi.nets.ssdMobilenetv1.loadFromDisk('node_modules/@vladmandic/face-api/model');\n  const image = faceapi.tf.node.decodeImage(fs.readFileSync('input.jpg'), 3);\n  const faces = await faceapi.detectAllFaces(image);\n  image.dispose();\n})();\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/vladmandic/face-api/blob/master/demo/node-simple.js",
                  "label": [
                    {
                      "t": "text",
                      "text": "node-simple.js"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F209"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "vladmandic-human",
          "name": [
            {
              "t": "fact",
              "fact": "F222"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/vladmandic/human"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@vladmandic/human"
            },
            {
              "label": "Docs",
              "href": "https://github.com/vladmandic/human/blob/main/README.md"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F286"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F223"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F231"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F225"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F224"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/vladmandic/human/blob/main/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F222"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F287"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F288"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F289"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F290"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F291"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F292"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F239"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F240"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/jitsi/jitsi-meet",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F239"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "async getDetections(image: ImageBitmap | ImageData): Promise<Array<FaceResult>> {\n    if (!this.human || !this.faceDetectionTypes.length) {\n        return [];\n    }\n\n    this.human.tf.engine().startScope();\n\n    const imageTensor = this.human.tf.browser.fromPixels(image);\n    const { face: detections } = await this.human.detect(imageTensor, this.config);\n\n    this.human.tf.engine().endScope();\n\n    return detections.filter(detection => detection.score > FACE_DETECTION_SCORE_THRESHOLD);\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/jitsi/jitsi-meet/blob/ec8f4416bb16fa9d1ef269f6bb612cd4c040e8a2/react/features/face-landmarks/FaceLandmarksHelper.ts#L183-L196",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F238"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=%40vladmandic/human%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F222"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import { Human } from '@vladmandic/human';\n\nconst human = new Human({ modelBasePath: '/models/' });\nconst image = document.getElementById('image');\nawait image.decode();\nconst result = await human.detect(image);\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/vladmandic/human/blob/main/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F227"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "tensorflow-models-blazeface",
          "name": [
            {
              "t": "fact",
              "fact": "F241"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/tensorflow/tfjs-models"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@tensorflow-models/blazeface"
            },
            {
              "label": "Docs",
              "href": "https://github.com/tensorflow/tfjs-models/blob/master/blazeface/README.md"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F248"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F242"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F250"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F244"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F243"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/tensorflow/tfjs-models/blob/master/blazeface/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F241"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F293"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F294"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import '@tensorflow/tfjs';\nimport * as blazeface from '@tensorflow-models/blazeface';\n\nconst image = document.getElementById('image');\nawait image.decode();\nconst detector = await blazeface.load();\nconst faces = await detector.estimateFaces(image, false);\ndetector.dispose();\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://cdn.jsdelivr.net/npm/@tensorflow-models/blazeface@0.1.0/dist/index.d.ts",
                  "label": [
                    {
                      "t": "text",
                      "text": "index.d.ts"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=%40tensorflow-models/blazeface%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F241"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F246"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "tensorflow-models-face-detection",
          "name": [
            {
              "t": "fact",
              "fact": "F257"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/tensorflow/tfjs-models"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@tensorflow-models/face-detection"
            },
            {
              "label": "Docs",
              "href": "https://github.com/tensorflow/tfjs-models/blob/master/face-detection/README.md"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F295"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F258"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F266"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F260"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F259"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/tensorflow/tfjs-models/blob/master/face-detection/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F257"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F296"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F297"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F298"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F299"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F300"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F301"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F274"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F275"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/aws-amplify/amplify-ui",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F274"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "async detectFaces(videoEl: HTMLVideoElement): Promise<Face[]> {\n  const flipHorizontal = true;\n  const predictions = await this._model.estimateFaces(videoEl, {\n    flipHorizontal,\n  });\n\n  const timestampMs = Date.now();\n\n  const faces: Face[] = predictions.map((prediction) => {\n    const { box, keypoints } = prediction;\n    const { xMin: left, yMin: top, width, height } = box;\n    const rightEye = this._getCoordinate(keypoints, 'rightEye');\n    const leftEye = this._getCoordinate(keypoints, 'leftEye');\n    const nose = this._getCoordinate(keypoints, 'noseTip');\n    const mouth = this._getCoordinate(keypoints, 'mouthCenter');\n    const rightEar = this._getCoordinate(keypoints, 'rightEarTragion');\n    const leftEar = this._getCoordinate(keypoints, 'leftEarTragion');\n    const probability = [90];\n\n    return {\n      top,\n      left,\n      width,\n      height,\n      timestampMs,\n      probability: (probability as unknown as [number])[0], // probability in reality is [number] but is typed as number | Tensor.1d\n      rightEye,\n      leftEye,\n      mouth,\n      nose,\n      rightEar,\n      leftEar,\n    };\n  });\n\n  return faces;\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/aws-amplify/amplify-ui/blob/07a1df5262ce3c2ec79a22244c582ff38fdb8e6f/packages/react-liveness/src/components/FaceLivenessDetector/service/utils/blazefaceFaceDetection.ts#L66-L102",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F273"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=%40tensorflow-models/face-detection%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F257"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import '@tensorflow/tfjs-backend-webgl';\nimport * as faceDetection from '@tensorflow-models/face-detection';\n\nconst detector = await faceDetection.createDetector(\n  faceDetection.SupportedModels.MediaPipeFaceDetector, { runtime: 'tfjs' }\n);\nconst image = document.getElementById('image');\nawait image.decode();\nconst faces = await detector.estimateFaces(image);\ndetector.dispose();\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/tensorflow/tfjs-models/blob/master/face-detection/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F262"
            }
          ]
        }
      ]
    }
  ],
  "questions": [
    {
      "q": "What is TensorFlow.js?",
      "a": [
        {
          "t": "link",
          "href": "#tensorflow-tfjs",
          "label": [
            {
              "t": "text",
              "text": "TensorFlow.js"
            }
          ]
        },
        {
          "t": "text",
          "text": " is a hardware-accelerated JavaScript library for training and deploying machine learning models in the browser and in Node.js. Its model converters run existing TensorFlow models in the browser."
        }
      ]
    },
    {
      "q": "What is Transformers.js?",
      "a": [
        {
          "t": "link",
          "href": "#huggingface-transformers",
          "label": [
            {
              "t": "text",
              "text": "Transformers.js"
            }
          ]
        },
        {
          "t": "text",
          "text": " runs pretrained Hugging Face models in the browser through ONNX Runtime. Its vision pipelines cover image classification, object detection, segmentation, and depth estimation."
        }
      ]
    },
    {
      "q": "What is MediaPipe Face Landmarker?",
      "a": [
        {
          "t": "text",
          "text": "FaceLandmarker is a task in "
        },
        {
          "t": "link",
          "href": "#mediapipe-tasks-vision",
          "label": [
            {
              "t": "text",
              "text": "MediaPipe Tasks Vision"
            }
          ]
        },
        {
          "t": "text",
          "text": " that locates facial keypoints in images and decoded video frames. "
        },
        {
          "t": "fact",
          "fact": "F118"
        }
      ]
    },
    {
      "q": "Is BlazeFace deprecated?",
      "a": [
        {
          "t": "text",
          "text": "Yes. "
        },
        {
          "t": "link",
          "href": "#tensorflow-models-blazeface",
          "label": [
            {
              "t": "text",
              "text": "BlazeFace"
            }
          ]
        },
        {
          "t": "text",
          "text": " is deprecated in favor of the "
        },
        {
          "t": "link",
          "href": "#tensorflow-models-face-detection",
          "label": [
            {
              "t": "text",
              "text": "face-detection"
            }
          ]
        },
        {
          "t": "text",
          "text": " package from the same TensorFlow.js models repository."
        }
      ]
    },
    {
      "q": "MediaPipe vs OpenCV: which should I use?",
      "a": [
        {
          "t": "link",
          "href": "#mediapipe-tasks-vision",
          "label": [
            {
              "t": "text",
              "text": "MediaPipe Tasks Vision"
            }
          ]
        },
        {
          "t": "text",
          "text": " runs task-specific models for face landmarks, detection, and segmentation. "
        },
        {
          "t": "link",
          "href": "#opencv-js-techstark",
          "label": [
            {
              "t": "text",
              "text": "OpenCV.js"
            }
          ]
        },
        {
          "t": "text",
          "text": " exposes OpenCV's matrix and image-processing operations through WebAssembly."
        }
      ]
    },
    {
      "q": "How should OpenCV matrix memory be released?",
      "a": [
        {
          "t": "fact",
          "fact": "F117"
        }
      ]
    }
  ],
  "facts": {
    "F1": {
      "label": "Library name, @mediapipe/tasks-vision",
      "display": "MediaPipe Tasks Vision",
      "asOf": "2026-11-17"
    },
    "F2": {
      "label": "Monthly downloads, @mediapipe/tasks-vision",
      "display": "30.8M",
      "asOf": "2026-11-15"
    },
    "F3": {
      "label": "License, @mediapipe/tasks-vision",
      "display": "Apache-2.0",
      "asOf": "2026-11-17"
    },
    "F4": {
      "label": "Package release, @mediapipe/tasks-vision",
      "display": "1.2.3",
      "asOf": "2026-11-17"
    },
    "F5": {
      "label": "Undated package release, @mediapipe/tasks-vision",
      "display": "v1.2.3",
      "asOf": "2026-11-17"
    },
    "F6": {
      "label": "Repository stars, @mediapipe/tasks-vision",
      "display": "37.7K",
      "asOf": "2026-11-17"
    },
    "F7": {
      "label": "Detection boxes, @mediapipe/tasks-vision",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F8": {
      "label": "Face landmarks, @mediapipe/tasks-vision",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F9": {
      "label": "Video frames, @mediapipe/tasks-vision",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F10": {
      "label": "Install, @mediapipe/tasks-vision",
      "display": "npm install @mediapipe/tasks-vision",
      "asOf": "2026-11-17"
    },
    "F11": {
      "label": "What it does, @mediapipe/tasks-vision",
      "display": "Provides JavaScript vision tasks for MediaPipe.",
      "asOf": "2026-11-17"
    },
    "F12": {
      "label": "strengths lead, @mediapipe/tasks-vision",
      "display": "Locates facial keypoints",
      "asOf": "2026-11-17"
    },
    "F13": {
      "label": "strengths, @mediapipe/tasks-vision",
      "display": "Use FaceLandmarker on images or decoded video frames.",
      "asOf": "2026-11-17"
    },
    "F14": {
      "label": "strengths lead, @mediapipe/tasks-vision",
      "display": "Returns segmentation masks",
      "asOf": "2026-11-17"
    },
    "F15": {
      "label": "strengths, @mediapipe/tasks-vision",
      "display": "Choose ImageSegmenter for labeled regions instead of detection boxes.",
      "asOf": "2026-11-17"
    },
    "F16": {
      "label": "limitations lead, @mediapipe/tasks-vision",
      "display": "Inference can block the interface",
      "asOf": "2026-11-17"
    },
    "F17": {
      "label": "limitations, @mediapipe/tasks-vision",
      "display": "Move detection into a Web Worker to keep the interface responsive.",
      "asOf": "2026-11-17"
    },
    "F18": {
      "label": "limitations lead, @mediapipe/tasks-vision",
      "display": "Face smoothing requires one face",
      "asOf": "2026-11-17"
    },
    "F19": {
      "label": "limitations, @mediapipe/tasks-vision",
      "display": "Set FaceLandmarker's numFaces to one to enable smoothing.",
      "asOf": "2026-11-17"
    },
    "F20": {
      "label": "Quickstart, @mediapipe/tasks-vision",
      "display": "/**\n * Copyright 2026 The MediaPipe Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { FaceLandmarker, FaceLandmarkerResult } from '@mediapipe/tasks-vision';\n\nimport { BaseWorker } from './base-worker';\n\nclass FaceLandmarkerWorker extends BaseWorker<FaceLandmarker> {\n  protected async initializeTask(): Promise<void> {\n    const vision = await this.getVisionFileset();\n    const modelBuffer = await this.loadModelAsset();\n\n    this.taskInstance = await FaceLandmarker.createFromOptions(vision, {\n      baseOptions: {\n        modelAssetBuffer: new Uint8Array(modelBuffer),\n        delegate: this.currentOptions.delegate === 'GPU' ? 'GPU' : 'CPU',\n      },\n      numFaces: this.currentOptions.numFaces || 1,\n      minFaceDetectionConfidence: this.currentOptions.minFaceDetectionConfidence || 0.5,\n      minFacePresenceConfidence: this.currentOptions.minFacePresenceConfidence || 0.5,\n      minTrackingConfidence: this.currentOptions.minTrackingConfidence || 0.5,\n      outputFaceBlendshapes: this.currentOptions.outputFaceBlendshapes || false,\n      outputFacialTransformationMatrixes: this.currentOptions.outputFacialTransformationMatrixes || false,\n      runningMode: this.currentOptions.runningMode,\n    });\n  }\n\n  protected async updateOptions(): Promise<void> {\n    if (this.taskInstance) {\n      await this.taskInstance.setOptions({\n        numFaces: this.currentOptions.numFaces || 1,\n        minFaceDetectionConfidence: this.currentOptions.minFaceDetectionConfidence || 0.5,\n        minFacePresenceConfidence: this.currentOptions.minFacePresenceConfidence || 0.5,\n        minTrackingConfidence: this.currentOptions.minTrackingConfidence || 0.5,\n        runningMode: this.currentOptions.runningMode,\n      });\n    }\n  }\n\n  protected async handleCustomMessage(data: any): Promise<void> {\n    if (data.type === 'DETECT_IMAGE' || data.type === 'DETECT_VIDEO') {\n      const { bitmap, timestampMs } = data;\n      const requiredMode = data.type === 'DETECT_IMAGE' ? 'IMAGE' : 'VIDEO';\n\n      if (!this.taskInstance) {\n        console.warn('FaceLandmarker not initialized yet.');\n        bitmap.close();\n        self.postMessage({ type: 'DETECT_ERROR', error: 'Not initialized' });\n        return;\n      }\n\n      if (this.currentOptions.runningMode !== requiredMode) {\n        this.currentOptions.runningMode = requiredMode;\n        await this.updateOptions();\n      }\n\n      const startTimeMs = performance.now();\n      let result: FaceLandmarkerResult;\n\n      try {\n        if (requiredMode === 'VIDEO') {\n          result = this.taskInstance.detectForVideo(bitmap, timestampMs);\n        } else {\n          result = this.taskInstance.detect(bitmap);\n        }\n      } catch (e: any) {\n        console.error('Worker detection error:', e);\n        bitmap.close();\n        self.postMessage({ type: 'DETECT_ERROR', error: e.message || 'Detection failed' });\n        return;\n      }\n\n      const inferenceTime = performance.now() - startTimeMs;\n      bitmap.close();\n\n      self.postMessage({\n        type: 'DETECT_RESULT',\n        mode: requiredMode,\n        result: result,\n        inferenceTime: inferenceTime,\n      });\n    }\n  }\n}\n\nnew FaceLandmarkerWorker();\n",
      "asOf": "2026-11-17"
    },
    "F21": {
      "label": "Project function, @mediapipe/tasks-vision",
      "display": "export const FaceLandmarker = forwardRef<FaceLandmarkerImpl, FaceLandmarkerProps>(\n  ({ basePath = FaceLandmarkerDefaults.basePath, options = FaceLandmarkerDefaults.options, children }, fref) => {\n    const opts = JSON.stringify(options)\n\n    const faceLandmarker = suspend(async () => {\n      const { FilesetResolver, FaceLandmarker } = await import('@mediapipe/tasks-vision')\n      const vision = await FilesetResolver.forVisionTasks(basePath)\n      return FaceLandmarker.createFromOptions(vision, options)\n    }, [basePath, opts])\n\n    useEffect(() => {\n      return () => {\n        faceLandmarker?.close()\n        clear([basePath, opts])\n      }\n    }, [faceLandmarker, basePath, opts])\n\n    useImperativeHandle(fref, () => faceLandmarker, [faceLandmarker]) // expose faceLandmarker through ref\n\n    return <FaceLandmarkerContext.Provider value={faceLandmarker}>{children}</FaceLandmarkerContext.Provider>\n  }\n)\n",
      "asOf": "2026-11-17"
    },
    "F22": {
      "label": "Project function reference, @mediapipe/tasks-vision",
      "display": "FaceLandmarker.tsx · FaceLandmarker()",
      "asOf": "2026-11-17"
    },
    "F23": {
      "label": "Project repository, @mediapipe/tasks-vision",
      "display": "pmndrs/drei",
      "asOf": "2026-11-17"
    },
    "F24": {
      "label": "Project stars, pmndrs/drei",
      "display": "10.2K",
      "asOf": "2026-11-17"
    },
    "F25": {
      "label": "Project push date, pmndrs/drei",
      "display": "Oct 2026",
      "asOf": "2026-10-21"
    },
    "F26": {
      "label": "Library name, @techstark/opencv-js",
      "display": "OpenCV.js (TechStark)",
      "asOf": "2026-11-17"
    },
    "F27": {
      "label": "Monthly downloads, @techstark/opencv-js",
      "display": "1.5M",
      "asOf": "2026-11-15"
    },
    "F28": {
      "label": "License, @techstark/opencv-js",
      "display": "Apache-2.0",
      "asOf": "2026-11-17"
    },
    "F29": {
      "label": "Package release, @techstark/opencv-js",
      "display": "5.0.0-release.1",
      "asOf": "2026-11-17"
    },
    "F30": {
      "label": "Undated package release, @techstark/opencv-js",
      "display": "v5.0.0-release.1",
      "asOf": "2026-11-17"
    },
    "F31": {
      "label": "Repository stars, @techstark/opencv-js",
      "display": "790",
      "asOf": "2026-11-17"
    },
    "F32": {
      "label": "Detection boxes, @techstark/opencv-js",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F33": {
      "label": "Face landmarks, @techstark/opencv-js",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F34": {
      "label": "Install, @techstark/opencv-js",
      "display": "npm install @techstark/opencv-js",
      "asOf": "2026-11-17"
    },
    "F35": {
      "label": "What it does, @techstark/opencv-js",
      "display": "Packages OpenCV.js for Node.js and browser applications.",
      "asOf": "2026-11-17"
    },
    "F36": {
      "label": "strengths lead, @techstark/opencv-js",
      "display": "Directly converts image colors",
      "asOf": "2026-11-17"
    },
    "F37": {
      "label": "strengths, @techstark/opencv-js",
      "display": "Use cvtColor before a later detection or measurement step.",
      "asOf": "2026-11-17"
    },
    "F38": {
      "label": "strengths lead, @techstark/opencv-js",
      "display": "Supports Node and browser hosts",
      "asOf": "2026-11-17"
    },
    "F39": {
      "label": "strengths, @techstark/opencv-js",
      "display": "Load the packaged runtime in Node or a browser.",
      "asOf": "2026-11-17"
    },
    "F40": {
      "label": "limitations lead, @techstark/opencv-js",
      "display": "Native matrices need cleanup",
      "asOf": "2026-11-17"
    },
    "F41": {
      "label": "limitations, @techstark/opencv-js",
      "display": "Delete Mat objects after processing to release their native memory.",
      "asOf": "2026-11-17"
    },
    "F42": {
      "label": "limitations lead, @techstark/opencv-js",
      "display": "Types can differ from runtime",
      "asOf": "2026-11-17"
    },
    "F43": {
      "label": "limitations, @techstark/opencv-js",
      "display": "Check cvKeys.json before relying on a declared method.",
      "asOf": "2026-11-17"
    },
    "F44": {
      "label": "Quickstart, @techstark/opencv-js",
      "display": "<!DOCTYPE html>\n<html>\n<head>\n<meta charset=\"utf-8\">\n<title>Image Canny Example</title>\n<link href=\"js_example_style.css\" rel=\"stylesheet\" type=\"text/css\" />\n</head>\n<body>\n<h2>Image Canny Example</h2>\n<p>\n    &lt;canvas&gt; elements named <b>canvasInput</b> and <b>canvasOutput</b> have been prepared.<br>\n    Click <b>Try it</b> button to see the result. You can choose another image.<br>\n    You can change the code in the &lt;textarea&gt; to investigate more.\n</p>\n<div>\n<div class=\"control\"><button id=\"tryIt\" disabled>Try it</button></div>\n<textarea class=\"code\" rows=\"9\" cols=\"100\" id=\"codeEditor\" spellcheck=\"false\">\n</textarea>\n<p class=\"err\" id=\"errorMessage\"></p>\n</div>\n<div>\n    <table cellpadding=\"0\" cellspacing=\"0\" width=\"0\" border=\"0\">\n    <tr>\n        <td>\n            <canvas id=\"canvasInput\"></canvas>\n        </td>\n        <td>\n            <canvas id=\"canvasOutput\"></canvas>\n        </td>\n    </tr>\n    <tr>\n        <td>\n            <div class=\"caption\">canvasInput <input type=\"file\" id=\"fileInput\" name=\"file\" accept=\"image/*\" /></div>\n        </td>\n        <td>\n            <div class=\"caption\">canvasOutput</div>\n        </td>\n    </tr>\n    </table>\n</div>\n<script src=\"utils.js\" type=\"text/javascript\"></script>\n<script id=\"codeSnippet\" type=\"text/code-snippet\">\nlet src = cv.imread('canvasInput');\nlet dst = new cv.Mat();\ncv.cvtColor(src, src, cv.COLOR_RGB2GRAY, 0);\n// You can try more different parameters\ncv.Canny(src, dst, 50, 100, 3, false);\ncv.imshow('canvasOutput', dst);\nsrc.delete(); dst.delete();\n</script>\n<script type=\"text/javascript\">\nlet utils = new Utils('errorMessage');\n\nutils.loadCode('codeSnippet', 'codeEditor');\nutils.loadImageToCanvas('lena.jpg', 'canvasInput');\nutils.addFileInputHandler('fileInput', 'canvasInput');\n\nlet tryIt = document.getElementById('tryIt');\ntryIt.addEventListener('click', () => {\n    utils.executeCode('codeEditor');\n});\n\nutils.loadOpenCv(() => {\n    tryIt.removeAttribute('disabled');\n});\n</script>\n</body>\n</html>\n",
      "asOf": "2026-11-17"
    },
    "F45": {
      "label": "Library name, @vladmandic/face-api",
      "display": "FaceAPI (Vladmandic)",
      "asOf": "2026-11-17"
    },
    "F46": {
      "label": "Monthly downloads, @vladmandic/face-api",
      "display": "657.7K",
      "asOf": "2026-11-15"
    },
    "F47": {
      "label": "License, @vladmandic/face-api",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F48": {
      "label": "Package release, @vladmandic/face-api",
      "display": "1.7.15",
      "asOf": "2026-11-17"
    },
    "F49": {
      "label": "Undated package release, @vladmandic/face-api",
      "display": "v1.7.15",
      "asOf": "2026-11-17"
    },
    "F50": {
      "label": "Repository stars, @vladmandic/face-api",
      "display": "1.1K",
      "asOf": "2026-11-17"
    },
    "F51": {
      "label": "Detection boxes, @vladmandic/face-api",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F52": {
      "label": "Face landmarks, @vladmandic/face-api",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F53": {
      "label": "Video frames, @vladmandic/face-api",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F54": {
      "label": "Install, @vladmandic/face-api",
      "display": "npm install @vladmandic/face-api @tensorflow/tfjs-node",
      "asOf": "2026-11-17"
    },
    "F55": {
      "label": "What it does, @vladmandic/face-api",
      "display": "Provides face detection, landmark, and face-description APIs using TensorFlow.js.",
      "asOf": "2026-11-17"
    },
    "F56": {
      "label": "strengths lead, @vladmandic/face-api",
      "display": "Extracts face landmarks and descriptors",
      "asOf": "2026-11-17"
    },
    "F57": {
      "label": "strengths, @vladmandic/face-api",
      "display": "Chain landmark and descriptor methods after detecting faces.",
      "asOf": "2026-11-17"
    },
    "F58": {
      "label": "strengths lead, @vladmandic/face-api",
      "display": "Chooses between face detectors",
      "asOf": "2026-11-17"
    },
    "F59": {
      "label": "strengths, @vladmandic/face-api",
      "display": "Select TinyFaceDetector or SSD Mobilenet through the detector options.",
      "asOf": "2026-11-17"
    },
    "F60": {
      "label": "limitations lead, @vladmandic/face-api",
      "display": "Upstream repository is archived",
      "asOf": "2026-11-17"
    },
    "F61": {
      "label": "limitations, @vladmandic/face-api",
      "display": "The original repository is now read-only.",
      "asOf": "2026-11-17"
    },
    "F62": {
      "label": "limitations lead, @vladmandic/face-api",
      "display": "Recent Node releases are unsupported",
      "asOf": "2026-11-17"
    },
    "F63": {
      "label": "limitations, @vladmandic/face-api",
      "display": "Use Node 22 or an earlier supported release for server inference.",
      "asOf": "2026-11-17"
    },
    "F64": {
      "label": "limitations lead, @vladmandic/face-api",
      "display": "Models need manifest and weights",
      "asOf": "2026-11-17"
    },
    "F65": {
      "label": "limitations, @vladmandic/face-api",
      "display": "Serve each model manifest beside its weight shard files.",
      "asOf": "2026-11-17"
    },
    "F66": {
      "label": "Quickstart, @vladmandic/face-api",
      "display": "/**\n * FaceAPI Demo for NodeJS\n * - Loads image\n * - Outputs results to console\n */\n\nconst fs = require('fs');\n\nconst faceapi = require('../dist/face-api.node.js'); // use this when using face-api in dev mode\n// const faceapi = require('@vladmandic/face-api'); // use this when face-api is installed as module (majority of use cases)\n\nasync function main() {\n  await faceapi.nets.ssdMobilenetv1.loadFromDisk('model'); // load models from a specific patch\n  await faceapi.nets.faceLandmark68Net.loadFromDisk('model');\n  await faceapi.nets.ageGenderNet.loadFromDisk('model');\n  await faceapi.nets.faceRecognitionNet.loadFromDisk('model');\n  await faceapi.nets.faceExpressionNet.loadFromDisk('model');\n  const options = new faceapi.SsdMobilenetv1Options({ minConfidence: 0.1, maxResults: 10 }); // set model options\n  const buffer = fs.readFileSync('demo/sample1.jpg'); // load jpg image as binary\n  const decodeT = faceapi.tf.node.decodeImage(buffer, 3); // decode binary buffer to rgb tensor\n  const expandT = faceapi.tf.expandDims(decodeT, 0); // add batch dimension to tensor\n  const result = await faceapi.detectAllFaces(expandT, options) // run detection\n    .withFaceLandmarks()\n    .withFaceExpressions()\n    .withFaceDescriptors()\n    .withAgeAndGender();\n  faceapi.tf.dispose([decodeT, expandT]); // dispose tensors to avoid memory leaks\n  console.log({ result }); // eslint-disable-line no-console\n}\n\nmain();\n",
      "asOf": "2026-11-17"
    },
    "F67": {
      "label": "Project function, @vladmandic/face-api",
      "display": "async function main() {\n\tconst getStdin = (await import('get-stdin')).default\n\tlet paths\n\tif (process.argv[2] === '-') {\n\t\tpaths = (await getStdin()).split('\\n')\n\t} else {\n\t\tpaths = process.argv.slice(2)\n\t}\n\n\tawait faceapi.nets.ssdMobilenetv1.loadFromDisk(path.resolve(__dirname, '..', 'node_modules/@vladmandic/face-api/model'))\n\tawait faceapi.nets.faceLandmark68Net.loadFromDisk(path.resolve(__dirname, '..', 'node_modules/@vladmandic/face-api/model'))\n\tawait faceapi.nets.faceRecognitionNet.loadFromDisk(path.resolve(__dirname, '..', 'node_modules/@vladmandic/face-api/model'))\n\n\tfor (const path of paths) {\n\t\ttry {\n\t\t\tlet tensor\n\t\t\tif (PUREJS) {\n\t\t\t\ttensor = await createTensor(await Jimp.read(path), 3)\n\t\t\t} else {\n\t\t\t\ttensor = await tf.node.decodeImage(await fs.readFile(path), 3)\n\t\t\t}\n\t\t\tconst results = await faceapi.detectAllFaces(tensor).withFaceLandmarks().withFaceDescriptors()\n\t\t\ttensor.dispose()\n\t\t\tconst vectors = results\n\t\t\t\t.map(result => ({\n\t\t\t\t\tangle: result.angle,\n\t\t\t\t\tvector: result.descriptor,\n\t\t\t\t\tx: result.detection.relativeBox.x,\n\t\t\t\t\ty: result.detection.relativeBox.y,\n\t\t\t\t\theight: result.detection.relativeBox.height,\n\t\t\t\t\twidth: result.detection.relativeBox.width,\n\t\t\t\t\tscore: result.detection.score,\n\t\t\t\t}))\n\n\t\t\tconsole.log(JSON.stringify(vectors))\n\t\t} catch (e) {\n\t\t\tconsole.error(e)\n\t\t\tconsole.log('[]')\n\t\t}\n\t}\n}\n",
      "asOf": "2026-11-17"
    },
    "F68": {
      "label": "Project function reference, @vladmandic/face-api",
      "display": "classifier_faces.js · main()",
      "asOf": "2026-11-17"
    },
    "F69": {
      "label": "Project repository, @vladmandic/face-api",
      "display": "nextcloud/recognize",
      "asOf": "2026-11-17"
    },
    "F70": {
      "label": "Project stars, nextcloud/recognize",
      "display": "701",
      "asOf": "2026-11-17"
    },
    "F71": {
      "label": "Project push date, nextcloud/recognize",
      "display": "Nov 2026",
      "asOf": "2026-11-17"
    },
    "F72": {
      "label": "Library name, @tensorflow-models/coco-ssd",
      "display": "COCO-SSD",
      "asOf": "2026-11-17"
    },
    "F73": {
      "label": "Monthly downloads, @tensorflow-models/coco-ssd",
      "display": "279.3K",
      "asOf": "2026-11-15"
    },
    "F74": {
      "label": "License, @tensorflow-models/coco-ssd",
      "display": "Apache-2.0",
      "asOf": "2026-11-17"
    },
    "F75": {
      "label": "Package release, @tensorflow-models/coco-ssd",
      "display": "2.2.3",
      "asOf": "2026-11-17"
    },
    "F76": {
      "label": "Undated package release, @tensorflow-models/coco-ssd",
      "display": "v2.2.3",
      "asOf": "2026-11-17"
    },
    "F77": {
      "label": "Repository stars, @tensorflow-models/coco-ssd",
      "display": "14.8K",
      "asOf": "2026-11-17"
    },
    "F78": {
      "label": "Detection boxes, @tensorflow-models/coco-ssd",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F79": {
      "label": "Video frames, @tensorflow-models/coco-ssd",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F80": {
      "label": "Install, @tensorflow-models/coco-ssd",
      "display": "npm install @tensorflow-models/coco-ssd",
      "asOf": "2026-11-17"
    },
    "F81": {
      "label": "What it does, @tensorflow-models/coco-ssd",
      "display": "Localizes and labels multiple objects in one image.",
      "asOf": "2026-11-17"
    },
    "F82": {
      "label": "strengths lead, @tensorflow-models/coco-ssd",
      "display": "Returns boxes, classes, and confidence",
      "asOf": "2026-11-17"
    },
    "F83": {
      "label": "strengths, @tensorflow-models/coco-ssd",
      "display": "Locate recognized objects without designing a custom detection model.",
      "asOf": "2026-11-17"
    },
    "F84": {
      "label": "strengths lead, @tensorflow-models/coco-ssd",
      "display": "Accepts several image input types",
      "asOf": "2026-11-17"
    },
    "F85": {
      "label": "strengths, @tensorflow-models/coco-ssd",
      "display": "Pass an image, canvas, video element, or decoded tensor to detect.",
      "asOf": "2026-11-17"
    },
    "F86": {
      "label": "limitations lead, @tensorflow-models/coco-ssd",
      "display": "Stock model has fixed classes",
      "asOf": "2026-11-17"
    },
    "F87": {
      "label": "limitations, @tensorflow-models/coco-ssd",
      "display": "Choose another detector for categories outside its supplied label set.",
      "asOf": "2026-11-17"
    },
    "F88": {
      "label": "limitations lead, @tensorflow-models/coco-ssd",
      "display": "Needs a TensorFlow.js runtime",
      "asOf": "2026-11-17"
    },
    "F89": {
      "label": "limitations, @tensorflow-models/coco-ssd",
      "display": "Load TensorFlow.js before the detector's model assets.",
      "asOf": "2026-11-17"
    },
    "F90": {
      "label": "Quickstart, @tensorflow-models/coco-ssd",
      "display": "<!-- Load TensorFlow.js. This is required to use coco-ssd model. -->\n<script src=\"https://cdn.jsdelivr.net/npm/@tensorflow/tfjs\"> </script>\n<!-- Load the coco-ssd model. -->\n<script src=\"https://cdn.jsdelivr.net/npm/@tensorflow-models/coco-ssd\"> </script>\n\n<!-- Replace this with your image. Make sure CORS settings allow reading the image! -->\n<img id=\"img\" src=\"cat.jpg\"/>\n\n<!-- Place your code in the script tag below. You can also use an external .js file -->\n<script>\n  // Notice there is no 'import' statement. 'cocoSsd' and 'tf' is\n  // available on the index-page because of the script tag above.\n\n  const img = document.getElementById('img');\n\n  // Load the model.\n  cocoSsd.load().then(model => {\n    // detect objects in the image.\n    model.detect(img).then(predictions => {\n      console.log('Predictions: ', predictions);\n    });\n  });\n</script>\n",
      "asOf": "2026-11-17"
    },
    "F91": {
      "label": "Project function, @tensorflow-models/coco-ssd",
      "display": "const detect = async (net) => {\n    if (\n      typeof webcamRef.current !== 'undefined' &&\n      webcamRef.current !== null &&\n      webcamRef.current.video.readyState === 4\n    ) {\n      const video = webcamRef.current.video;\n      const videoWidth = webcamRef.current.video.videoWidth;\n      const videoHeight = webcamRef.current.video.videoHeight;\n\n      webcamRef.current.video.width = videoWidth;\n      webcamRef.current.video.height = videoHeight;\n\n      canvasRef.current.width = videoWidth;\n      canvasRef.current.height = videoHeight;\n\n      const obj = await net.detect(video);\n\n      const ctx = canvasRef.current.getContext('2d');\n      drawRect(obj, ctx);\n    }\n  };\n",
      "asOf": "2026-11-17"
    },
    "F92": {
      "label": "Project function reference, @tensorflow-models/coco-ssd",
      "display": "ObjectDetector.jsx · detect()",
      "asOf": "2026-11-17"
    },
    "F93": {
      "label": "Project repository, @tensorflow-models/coco-ssd",
      "display": "reactplay/react-play",
      "asOf": "2026-11-17"
    },
    "F94": {
      "label": "Project stars, reactplay/react-play",
      "display": "1.6K",
      "asOf": "2026-11-17"
    },
    "F95": {
      "label": "Project push date, reactplay/react-play",
      "display": "Jun 2026",
      "asOf": "2026-06-04"
    },
    "F96": {
      "label": "Developer need",
      "display": "Pixel preprocessing and image operations",
      "asOf": "2026-11-17"
    },
    "F97": {
      "label": "Why choose @techstark/opencv-js",
      "display": "explicit image color conversion and matrix processing",
      "asOf": "2026-11-17"
    },
    "F98": {
      "label": "Developer need in introduction",
      "display": "pixel preprocessing and image operations",
      "asOf": "2026-11-17"
    },
    "F99": {
      "label": "Developer need",
      "display": "Face landmarks or segmentation tasks",
      "asOf": "2026-11-17"
    },
    "F100": {
      "label": "Why choose @mediapipe/tasks-vision",
      "display": "task-specific APIs for visual inputs",
      "asOf": "2026-11-17"
    },
    "F101": {
      "label": "Developer need in introduction",
      "display": "face landmarks or segmentation tasks",
      "asOf": "2026-11-17"
    },
    "F102": {
      "label": "When to consider @tensorflow-models/coco-ssd",
      "display": "stock category boxes are the required output",
      "asOf": "2026-11-17"
    },
    "F103": {
      "label": "Developer need",
      "display": "Pretrained object boxes and labels",
      "asOf": "2026-11-17"
    },
    "F104": {
      "label": "Why choose @tensorflow-models/coco-ssd",
      "display": "stock object-category predictions with confidence",
      "asOf": "2026-11-17"
    },
    "F105": {
      "label": "Developer need in introduction",
      "display": "pretrained object boxes and labels",
      "asOf": "2026-11-17"
    },
    "F106": {
      "label": "Developer need",
      "display": "Face landmarks and descriptors",
      "asOf": "2026-11-17"
    },
    "F107": {
      "label": "Why choose @vladmandic/face-api",
      "display": "a chainable face-processing pipeline",
      "asOf": "2026-11-17"
    },
    "F108": {
      "label": "Developer need in introduction",
      "display": "face landmarks and descriptors",
      "asOf": "2026-11-17"
    },
    "F109": {
      "label": "Page introduction",
      "display": "JavaScript computer vision libraries let developers analyze visual information in images.",
      "asOf": "2026-11-17"
    },
    "F110": {
      "label": "FAQ: How are these different from general JavaScript machine-learning engines?",
      "display": "COCO-SSD exposes a pretrained object detector that returns boxes, classes, and confidence values.",
      "asOf": "2026-11-17"
    },
    "F111": {
      "label": "FAQ: How are these different from general JavaScript machine-learning engines?",
      "display": "MediaPipe FaceLandmarker exposes a task-specific image/video landmark interface.",
      "asOf": "2026-11-17"
    },
    "F112": {
      "label": "FAQ: How are these different from general JavaScript machine-learning engines?",
      "display": "The OpenCV package exposes explicit image operations; the source example uses cvtColor for pixel conversion.",
      "asOf": "2026-11-17"
    },
    "F113": {
      "label": "FAQ: Is the TechStark package the entire upstream OpenCV project?",
      "display": "It packages an OpenCV.js build for Node/browser use; its README identifies the upstream build source.",
      "asOf": "2026-11-17"
    },
    "F114": {
      "label": "FAQ: Is the TechStark package the entire upstream OpenCV project?",
      "display": "Its TypeScript declarations can differ from available runtime methods, so check the recorded runtime-key artifact.",
      "asOf": "2026-11-17"
    },
    "F115": {
      "label": "FAQ: Why can an older OpenCV face example fail with this distribution?",
      "display": "The current own face example uses FaceDetectorYN/YuNet and explicitly replaces the removed CascadeClassifier in OpenCV5.",
      "asOf": "2026-11-17"
    },
    "F116": {
      "label": "FAQ: Why can an older OpenCV face example fail with this distribution?",
      "display": "The package publishes a runtime-key record for checking API availability.",
      "asOf": "2026-11-17"
    },
    "F117": {
      "label": "FAQ: How should OpenCV matrix memory be released?",
      "display": "OpenCV's own image-processing example deletes each allocated matrix after use.",
      "asOf": "2026-11-17"
    },
    "F118": {
      "label": "FAQ: Can MediaPipe detection block an interactive application?",
      "display": "The face-landmarker detect and detectForVideo methods run synchronously and block the interface thread; a worker can move that work away from it.",
      "asOf": "2026-11-17"
    },
    "F119": {
      "label": "FAQ: Does MediaPipe apply face smoothing to every detected face?",
      "display": "The FaceLandmarker option description enables smoothing only when numFaces is one.",
      "asOf": "2026-11-17"
    },
    "F120": {
      "label": "FAQ: Does a video frame use the same MediaPipe running mode as an image?",
      "display": "Select IMAGE for single images or VIDEO for decoded video frames before passing the corresponding input.",
      "asOf": "2026-11-17"
    },
    "F121": {
      "label": "FAQ: Does COCO-SSD provide segmentation masks because COCO is a segmentation dataset?",
      "display": "The selected COCO-SSD API returns bounding-box predictions with classes and confidence; the dataset description does not establish mask output.",
      "asOf": "2026-11-17"
    },
    "F122": {
      "label": "FAQ: Does COCO-SSD provide segmentation masks because COCO is a segmentation dataset?",
      "display": "MediaPipe ImageSegmenter is the task for dividing an image into labeled regions.",
      "asOf": "2026-11-17"
    },
    "F123": {
      "label": "FAQ: Can the stock COCO-SSD model recognize every object category?",
      "display": "Its supplied model detects the classes defined in its COCO label set; choose a suitable model for the required category.",
      "asOf": "2026-11-17"
    },
    "F124": {
      "label": "FAQ: What assets must FaceAPI load before inference?",
      "display": "Each model requires its manifest and weight shards, located together at the configured model path.",
      "asOf": "2026-11-17"
    },
    "F125": {
      "label": "FAQ: Does FaceAPI support recent Node runtimes?",
      "display": "Its own Node guidance supports releases through Node22 and explicitly excludes Node23 and higher due to TensorFlow.js incompatibility.",
      "asOf": "2026-11-17"
    },
    "F126": {
      "label": "FAQ: Does FaceAPI support recent Node runtimes?",
      "display": "The captured repository status is archived.",
      "asOf": "2026-11-17"
    },
    "F127": {
      "label": "FAQ: Are every library’s face landmarks interchangeable?",
      "display": "The OpenCV YuNet example extracts a fixed set of facial points from the detector result.",
      "asOf": "2026-11-17"
    },
    "F128": {
      "label": "FAQ: Are every library’s face landmarks interchangeable?",
      "display": "MediaPipe and FaceAPI expose their own landmark-task results; align coordinate conventions and topology in the application.",
      "asOf": "2026-11-17"
    },
    "F129": {
      "label": "FAQ: Are every library’s face landmarks interchangeable?",
      "display": "FaceAPI can chain dedicated landmark and descriptor stages after face detection.",
      "asOf": "2026-11-17"
    },
    "F130": {
      "label": "Library name, @mediapipe/tasks-vision",
      "display": "@mediapipe/tasks-vision",
      "asOf": "2026-11-20"
    },
    "F131": {
      "label": "Monthly downloads, @mediapipe/tasks-vision",
      "display": "31.4M",
      "asOf": "2026-11-20"
    },
    "F132": {
      "label": "License, @mediapipe/tasks-vision",
      "display": "Apache-2.0",
      "asOf": "2026-11-20"
    },
    "F133": {
      "label": "Package release, @mediapipe/tasks-vision",
      "display": "1.2.3",
      "asOf": "2026-11-20"
    },
    "F134": {
      "label": "Package release date, @mediapipe/tasks-vision",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F135": {
      "label": "Install, @mediapipe/tasks-vision",
      "display": "npm install @mediapipe/tasks-vision",
      "asOf": "2026-11-20"
    },
    "F136": {
      "label": "Quickstart, @mediapipe/tasks-vision",
      "display": "import { FaceLandmarker, FilesetResolver } from '@mediapipe/tasks-vision';\n\nconst vision = await FilesetResolver.forVisionTasks('/mediapipe/wasm');\nconst detector = await FaceLandmarker.createFromOptions(vision, {\n  baseOptions: { modelAssetPath: '/models/face_landmarker.task' },\n  runningMode: 'IMAGE'\n});\nconst image = document.getElementById('image');\nawait image.decode();\nconst result = detector.detect(image);\ndetector.close();\n",
      "asOf": "2026-11-20"
    },
    "F137": {
      "label": "Repository stars, @mediapipe/tasks-vision",
      "display": "37.7K",
      "asOf": "2026-11-20"
    },
    "F138": {
      "label": "Face keypoint task, @mediapipe/tasks-vision",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F139": {
      "label": "Image segmentation API, @mediapipe/tasks-vision",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F140": {
      "label": "Face descriptor pipeline, @mediapipe/tasks-vision",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F141": {
      "label": "Native vision role, @mediapipe/tasks-vision",
      "display": "Task-specific image/video model APIs including face/hand/pose landmarks, detection, and segmentation; model/WASM assets required.",
      "asOf": "2026-11-20"
    },
    "F142": {
      "label": "First-call prerequisites, @mediapipe/tasks-vision",
      "display": "Browser/bundler and loaded image#image; copy the selected package WASM files into /mediapipe/wasm and a compatible FaceLandmarker task model to /models/face_landmarker.task. IMAGE mode matches detect(); VIDEO mode instead requires timestamped detectForVideo. Assets/CORS/accelerator support remain host prerequisites.",
      "asOf": "2026-11-20"
    },
    "F143": {
      "label": "Project function, @mediapipe/tasks-vision",
      "display": "protected async handleCustomMessage(data: any): Promise<void> {\n    if (data.type === 'DETECT_IMAGE' || data.type === 'DETECT_VIDEO') {\n      const { bitmap, timestampMs } = data;\n      const requiredMode = data.type === 'DETECT_IMAGE' ? 'IMAGE' : 'VIDEO';\n\n      if (!this.taskInstance) {\n        console.warn('FaceLandmarker not initialized yet.');\n        bitmap.close();\n        self.postMessage({ type: 'DETECT_ERROR', error: 'Not initialized' });\n        return;\n      }\n\n      if (this.currentOptions.runningMode !== requiredMode) {\n        this.currentOptions.runningMode = requiredMode;\n        await this.updateOptions();\n      }\n\n      const startTimeMs = performance.now();\n      let result: FaceLandmarkerResult;\n\n      try {\n        if (requiredMode === 'VIDEO') {\n          result = this.taskInstance.detectForVideo(bitmap, timestampMs);\n        } else {\n          result = this.taskInstance.detect(bitmap);\n        }\n      } catch (e: any) {\n        console.error('Worker detection error:', e);\n        bitmap.close();\n        self.postMessage({ type: 'DETECT_ERROR', error: e.message || 'Detection failed' });\n        return;\n      }\n\n      const inferenceTime = performance.now() - startTimeMs;\n      bitmap.close();\n\n      self.postMessage({\n        type: 'DETECT_RESULT',\n        mode: requiredMode,\n        result: result,\n        inferenceTime: inferenceTime,\n      });\n    }\n  }",
      "asOf": "2026-11-20"
    },
    "F144": {
      "label": "Project source file, @mediapipe/tasks-vision",
      "display": "src/workers/face-landmarker.worker.ts",
      "asOf": "2026-11-20"
    },
    "F145": {
      "label": "Project full_name, @mediapipe/tasks-vision",
      "display": "google-ai-edge/mediapipe-samples-web",
      "asOf": "2026-11-20"
    },
    "F146": {
      "label": "Project stargazers_count, @mediapipe/tasks-vision",
      "display": "113",
      "asOf": "2026-11-20"
    },
    "F147": {
      "label": "Library name, @huggingface/transformers",
      "display": "@huggingface/transformers",
      "asOf": "2026-11-20"
    },
    "F148": {
      "label": "Monthly downloads, @huggingface/transformers",
      "display": "19.1M",
      "asOf": "2026-11-20"
    },
    "F149": {
      "label": "License, @huggingface/transformers",
      "display": "Apache-2.0",
      "asOf": "2026-11-20"
    },
    "F150": {
      "label": "Package release, @huggingface/transformers",
      "display": "4.3.2",
      "asOf": "2026-11-20"
    },
    "F151": {
      "label": "Package release date, @huggingface/transformers",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F152": {
      "label": "Install, @huggingface/transformers",
      "display": "npm install @huggingface/transformers",
      "asOf": "2026-11-20"
    },
    "F153": {
      "label": "Quickstart, @huggingface/transformers",
      "display": "import { pipeline } from '@huggingface/transformers';\n\nconst estimateDepth = await pipeline(\n  'depth-estimation', 'onnx-community/depth-anything-v2-small'\n);\nconst { depth } = await estimateDepth('/input.jpg');\n",
      "asOf": "2026-11-20"
    },
    "F154": {
      "label": "Official description, @huggingface/transformers",
      "display": "State-of-the-art Machine Learning for the web. Run 🤗 Transformers directly in your browser, with no need for a server!",
      "asOf": "2026-11-20"
    },
    "F155": {
      "label": "Quickstart source file, @huggingface/transformers",
      "display": "types/pipelines/depth-estimation.d.ts",
      "asOf": "2026-11-20"
    },
    "F156": {
      "label": "Repository stars, @huggingface/transformers",
      "display": "16.4K",
      "asOf": "2026-11-20"
    },
    "F157": {
      "label": "Face keypoint task, @huggingface/transformers",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F158": {
      "label": "Image segmentation API, @huggingface/transformers",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F159": {
      "label": "Face descriptor pipeline, @huggingface/transformers",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F160": {
      "label": "Native vision role, @huggingface/transformers",
      "display": "Model-based image/vision pipelines including depth estimation, classification, detection, and segmentation alongside unrelated text/audio tasks.",
      "asOf": "2026-11-20"
    },
    "F161": {
      "label": "First-call prerequisites, @huggingface/transformers",
      "display": "ES modules with supported Transformers.js runtime and access to the named compatible model weights. /input.jpg must be a readable image URL/path for the chosen browser/Node host; depth is a RawImage, not a scalar distance measurement. Model download and inference were not run.",
      "asOf": "2026-11-20"
    },
    "F162": {
      "label": "Project function, @huggingface/transformers",
      "display": "async function predict(url) {\n  imageContainer.innerHTML = \"\";\n  const image = await RawImage.fromURL(url);\n\n  // Set up scene and slider controls\n  const { canvas, setDisplacementMap } = setupScene(\n    url,\n    image.width,\n    image.height,\n  );\n\n  imageContainer.append(canvas);\n\n  status.textContent = \"Analysing...\";\n  const { depth } = await depth_estimator(image);\n\n  setDisplacementMap(depth.toCanvas());\n  status.textContent = \"\";\n\n  // Add slider control\n  const slider = document.createElement(\"input\");\n  slider.type = \"range\";\n  slider.min = 0;\n  slider.max = 1;\n  slider.step = 0.01;\n  slider.addEventListener(\"input\", (e) => {\n    onSliderChange(parseFloat(e.target.value));\n  });\n  slider.defaultValue = DEFAULT_SCALE;\n  imageContainer.append(slider);\n}\n",
      "asOf": "2026-11-20"
    },
    "F163": {
      "label": "Project source file, @huggingface/transformers",
      "display": "depth-anything/main.js",
      "asOf": "2026-11-20"
    },
    "F164": {
      "label": "Project full_name, @huggingface/transformers",
      "display": "huggingface/transformers.js-examples",
      "asOf": "2026-11-20"
    },
    "F165": {
      "label": "Project stargazers_count, @huggingface/transformers",
      "display": "2.1K",
      "asOf": "2026-11-20"
    },
    "F166": {
      "label": "Library name, @tensorflow/tfjs",
      "display": "@tensorflow/tfjs",
      "asOf": "2026-11-20"
    },
    "F167": {
      "label": "Monthly downloads, @tensorflow/tfjs",
      "display": "2.4M",
      "asOf": "2026-11-20"
    },
    "F168": {
      "label": "License, @tensorflow/tfjs",
      "display": "Apache-2.0",
      "asOf": "2026-11-20"
    },
    "F169": {
      "label": "Package release, @tensorflow/tfjs",
      "display": "4.22.0",
      "asOf": "2026-11-20"
    },
    "F170": {
      "label": "Package release date, @tensorflow/tfjs",
      "display": "Oct 2024",
      "asOf": "2026-11-20"
    },
    "F171": {
      "label": "Install, @tensorflow/tfjs",
      "display": "npm install @tensorflow/tfjs",
      "asOf": "2026-11-20"
    },
    "F172": {
      "label": "Quickstart, @tensorflow/tfjs",
      "display": "import * as tf from '@tensorflow/tfjs';\n\nconst image = tf.zeros([2, 2, 3]);\nconst resized = tf.image.resizeBilinear(image, [4, 4]);\nconsole.log(resized.shape);\nimage.dispose();\nresized.dispose();\n",
      "asOf": "2026-11-20"
    },
    "F173": {
      "label": "Official description, @tensorflow/tfjs",
      "display": "An open-source machine learning framework.",
      "asOf": "2026-11-20"
    },
    "F174": {
      "label": "Quickstart source file, @tensorflow/tfjs",
      "display": "dist/ops/image/resize_bilinear.d.ts",
      "asOf": "2026-11-20"
    },
    "F175": {
      "label": "Repository stars, @tensorflow/tfjs",
      "display": "19.2K",
      "asOf": "2026-11-20"
    },
    "F176": {
      "label": "Face keypoint task, @tensorflow/tfjs",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F177": {
      "label": "Image segmentation API, @tensorflow/tfjs",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F178": {
      "label": "Face descriptor pipeline, @tensorflow/tfjs",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F179": {
      "label": "Native vision role, @tensorflow/tfjs",
      "display": "Tensor/image operations and trainable model foundation; pretrained face/segmentation model packages are separate.",
      "asOf": "2026-11-20"
    },
    "F180": {
      "label": "First-call prerequisites, @tensorflow/tfjs",
      "display": "JavaScript ES module with the full TFJS package and supported registered backend. This first call resizes a synthetic rank3 RGB image tensor; no image decoder or DOM is required. Dispose both allocated tensors.",
      "asOf": "2026-11-20"
    },
    "F181": {
      "label": "Project function, @tensorflow/tfjs",
      "display": "export async function loadTruncatedMobileNet(modelOptions?: ModelOptions) {\n    const [checkpointUrl, trainingLayer] = parseModelOptions(modelOptions);\n    const mobilenet = await tf.loadLayersModel(checkpointUrl);\n\n    if (modelOptions && modelOptions.version === 1){\n        const layer = mobilenet.getLayer(trainingLayer);\n        const truncatedModel = tf.model({ inputs: mobilenet.inputs, outputs: layer.output });\n        const model = tf.sequential();\n        model.add(truncatedModel);\n        model.add(tf.layers.flatten());\n        return model;\n    }\n    else {\n        const layer = mobilenet.getLayer(trainingLayer);\n        const truncatedModel = tf.model({ inputs: mobilenet.inputs, outputs: layer.output });\n        const model = tf.sequential();\n        model.add(truncatedModel);\n        model.add(tf.layers.globalAveragePooling2d({})); // go from shape [7, 7, 1280] to [1280]\n        return model;\n    }\n}",
      "asOf": "2026-11-20"
    },
    "F182": {
      "label": "Project source file, @tensorflow/tfjs",
      "display": "libraries/image/src/custom-mobilenet.ts",
      "asOf": "2026-11-20"
    },
    "F183": {
      "label": "Project full_name, @tensorflow/tfjs",
      "display": "googlecreativelab/teachablemachine-community",
      "asOf": "2026-11-20"
    },
    "F184": {
      "label": "Project stargazers_count, @tensorflow/tfjs",
      "display": "1.8K",
      "asOf": "2026-11-20"
    },
    "F185": {
      "label": "Library name, @techstark/opencv-js",
      "display": "@techstark/opencv-js",
      "asOf": "2026-11-20"
    },
    "F186": {
      "label": "Monthly downloads, @techstark/opencv-js",
      "display": "1.5M",
      "asOf": "2026-11-20"
    },
    "F187": {
      "label": "License, @techstark/opencv-js",
      "display": "Apache-2.0",
      "asOf": "2026-11-20"
    },
    "F188": {
      "label": "Package release, @techstark/opencv-js",
      "display": "5.0.0-release.1",
      "asOf": "2026-11-20"
    },
    "F189": {
      "label": "Package release date, @techstark/opencv-js",
      "display": "Jun 2026",
      "asOf": "2026-11-20"
    },
    "F190": {
      "label": "Install, @techstark/opencv-js",
      "display": "npm install @techstark/opencv-js",
      "asOf": "2026-11-20"
    },
    "F191": {
      "label": "Quickstart, @techstark/opencv-js",
      "display": "import cvModule from '@techstark/opencv-js';\n\nlet cv = cvModule;\nif (cvModule instanceof Promise) {\n  cv = await cvModule;\n} else if (!cvModule.Mat) {\n  await new Promise(resolve => { cvModule.onRuntimeInitialized = resolve; });\n}\nconst matrix = cv.imread(document.getElementById('image'));\nconsole.log(matrix.rows, matrix.cols);\nmatrix.delete();\n",
      "asOf": "2026-11-20"
    },
    "F192": {
      "label": "Repository stars, @techstark/opencv-js",
      "display": "790",
      "asOf": "2026-11-20"
    },
    "F193": {
      "label": "Face keypoint task, @techstark/opencv-js",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F194": {
      "label": "Image segmentation API, @techstark/opencv-js",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F195": {
      "label": "Face descriptor pipeline, @techstark/opencv-js",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F196": {
      "label": "Native vision role, @techstark/opencv-js",
      "display": "OpenCV pixel/matrix/geometry and classical image-processing algorithms through WASM; general DNN execution does not imply a preconfigured human identity pipeline.",
      "asOf": "2026-11-20"
    },
    "F197": {
      "label": "First-call prerequisites, @techstark/opencv-js",
      "display": "Browser/bundler with actual image#image loaded before imread. The published module may resolve asynchronously or expose onRuntimeInitialized; setup handles both without importing an unverified OpenCv type alias. Matrix rows/cols/data live in native WASM memory and must be deleted. No DOM shim or Canny demo assets are invented.",
      "asOf": "2026-11-20"
    },
    "F198": {
      "label": "Segmentation approach, @techstark/opencv-js",
      "display": "Classical watershed labels/markers and matrix operations; no generic trained semantic segmentation result inferred.",
      "asOf": "2026-11-20"
    },
    "F199": {
      "label": "Native face interface, @techstark/opencv-js",
      "display": "FaceDetectorYN:boxes and five facial keypoints",
      "asOf": "2026-11-20"
    },
    "F200": {
      "label": "Project function, @techstark/opencv-js",
      "display": "async function compute(headUrl, baseUrl) {\n  const [head, base] = await Promise.all([loadImage(headUrl), loadImage(baseUrl)])\n  const w = Math.min(head.naturalWidth, base.naturalWidth)\n  const h = Math.min(head.naturalHeight, base.naturalHeight)\n  const ctxOf = (img) => {\n    const c = document.createElement('canvas')\n    c.width = w\n    c.height = h\n    const ctx = c.getContext('2d', { willReadFrequently: true })\n    ctx.drawImage(img, 0, 0, w, h)\n    return ctx\n  }\n  const headCtx = ctxOf(head)\n  const baseCtx = ctxOf(base)\n  const headData = headCtx.getImageData(0, 0, w, h)\n  const baseData = baseCtx.getImageData(0, 0, w, h)\n\n  const maskData = new ImageData(w, h)\n  pixelmatch(baseData.data, headData.data, maskData.data, w, h, {\n    threshold: 0.12,\n    includeAA: false,\n    diffMask: true, // only diff pixels are drawn → alpha channel IS the mask\n  })\n\n  const cv = await loadCv()\n  const islands = []\n  // cluster the mask into islands\n  const maskMat = cv.matFromImageData(maskData)\n  const gray = new cv.Mat()\n  cv.cvtColor(maskMat, gray, cv.COLOR_RGBA2GRAY)\n  cv.threshold(gray, gray, 1, 255, cv.THRESH_BINARY)\n  const kernel = cv.getStructuringElement(cv.MORPH_RECT, new cv.Size(9, 9))\n  const fused = new cv.Mat()\n  cv.dilate(gray, fused, kernel)\n  const labels = new cv.Mat()\n  const stats = new cv.Mat()\n  const centroids = new cv.Mat()\n  const n = cv.connectedComponentsWithStats(fused, labels, stats, centroids)\n  const changedFraction = cv.countNonZero(gray) / (w * h)\n  const headGray = cv.matFromImageData(headData)\n  const baseGray = cv.matFromImageData(baseData)\n  cv.cvtColor(headGray, headGray, cv.COLOR_RGBA2GRAY)\n  cv.cvtColor(baseGray, baseGray, cv.COLOR_RGBA2GRAY)\n\n  for (let i = 1; i < n; i++) {\n    const s = stats.data32S.subarray(i * 5, i * 5 + 5)\n    const [x, y, bw, bh, area] = s\n    if (area < MIN_ISLAND_AREA) continue\n    const island = { x, y, w: bw, h: bh, kind: 'changed', dx: 0, dy: 0 }\n    // motion analysis is pointless when most of the screen changed, and\n    // template matching on huge islands is slow — treat those as changed\n    const feasible = changedFraction < 0.5 && bw * bh < w * h * 0.35 && bw > 16 && bh > 10\n    if (feasible) {\n      const sx = Math.max(0, x - SEARCH_PAD)\n      const sy = Math.max(0, y - SEARCH_PAD)\n      const sw = Math.min(w, x + bw + SEARCH_PAD) - sx\n      const sh = Math.min(h, y + bh + SEARCH_PAD) - sy\n      const templ = baseGray.roi(new cv.Rect(x, y, bw, bh))\n      const mean = new cv.Mat()\n      const stddev = new cv.Mat()\n      cv.meanStdDev(templ, mean, stddev)\n      const texture = stddev.data64F[0]\n      mean.delete(); stddev.delete()\n      if (texture >= MIN_TEXTURE) {\n        const search = headGray.roi(new cv.Rect(sx, sy, sw, sh))\n        const result = new cv.Mat()\n        cv.matchTemplate(search, templ, result, cv.TM_CCOEFF_NORMED)\n        const mm = cv.minMaxLoc(result)\n        const dx = sx + mm.maxLoc.x - x\n        const dy = sy + mm.maxLoc.y - y\n        // \"moved\" needs a confident match that clearly BEATS staying put —\n        // otherwise textured-but-generic patches (avatar rows) match anywhere\n        const stayScore = result.data32F[(y - sy) * result.cols + (x - sx)] ?? -1\n        if (\n          mm.maxVal >= MATCH_SCORE &&\n          mm.maxVal - stayScore >= MATCH_MARGIN &&\n          Math.abs(dx) + Math.abs(dy) >= MIN_SHIFT\n        ) {\n          island.kind = 'moved'\n          island.dx = dx\n          island.dy = dy\n        }\n        search.delete(); result.delete()\n      }\n      templ.delete()\n    }\n    islands.push(island)\n  }\n  for (const m of [maskMat, gray, kernel, fused, labels, stats, centroids, headGray, baseGray]) m.delete()\n\n  // merge overlapping/touching same-kind boxes so fragmented regions read as one\n  const overlaps = (a, b, pad) =>\n    a.x < b.x + b.w + pad && b.x < a.x + a.w + pad && a.y < b.y + b.h + pad && b.y < a.y + a.h + pad\n  let merged = true\n  while (merged) {\n    merged = false\n    outer: for (let i = 0; i < islands.length; i++) {\n      for (let j = i + 1; j < islands.length; j++) {\n        const a = islands[i]\n        const b = islands[j]\n        if (a.kind !== b.kind || !overlaps(a, b, 8)) continue\n        if (a.kind === 'moved' && (Math.abs(a.dx - b.dx) > 6 || Math.abs(a.dy - b.dy) > 6)) continue\n        const x2 = Math.max(a.x + a.w, b.x + b.w)\n        const y2 = Math.max(a.y + a.h, b.y + b.h)\n        a.x = Math.min(a.x, b.x)\n        a.y = Math.min(a.y, b.y)\n        a.w = x2 - a.x\n        a.h = y2 - a.y\n        islands.splice(j, 1)\n        merged = true\n        break outer\n      }\n    }\n  }\n\n  // a moved island's destination box already marks its landing spot — drop\n  // changed islands whose center sits inside one (they're the same event)\n  const movedDests = islands.filter((r) => r.kind === 'moved').map((r) => ({ x: r.x + r.dx, y: r.y + r.dy, w: r.w, h: r.h }))\n  const covered = (r) => {\n    const cx = r.x + r.w / 2\n    const cy = r.y + r.h / 2\n    return movedDests.some((d) => cx >= d.x && cx <= d.x + d.w && cy >= d.y && cy <= d.y + d.h)\n  }\n  for (let i = islands.length - 1; i >= 0; i--) {\n    if (islands[i].kind === 'changed' && covered(islands[i])) islands.splice(i, 1)\n  }\n\n  // ---- render: dimmed grayscale head + island annotations ----\n  const out = document.createElement('canvas')\n  out.width = w\n  out.height = h\n  const ctx = out.getContext('2d')\n  ctx.filter = 'grayscale(1) brightness(0.5)'\n  ctx.drawImage(head, 0, 0, w, h)\n  ctx.filter = 'none'\n\n  // red tint for genuinely-changed pixels — only inside changed islands, so\n  // the annotation layer stays quiet everywhere else\n  const tint = new ImageData(w, h)\n  const changedRects = islands.filter((r) => r.kind === 'changed')\n  const inChanged = (px, py) =>\n    changedRects.some((r) => px >= r.x && px < r.x + r.w && py >= r.y && py < r.y + r.h)\n  for (let i = 0; i < maskData.data.length; i += 4) {\n    if (maskData.data[i + 3] === 0) continue\n    const px = (i / 4) % w\n    const py = Math.floor(i / 4 / w)\n    if (!inChanged(px, py)) continue\n    tint.data[i] = 248; tint.data[i + 1] = 56; tint.data[i + 2] = 56; tint.data[i + 3] = 230\n  }\n  const tintCanvas = document.createElement('canvas')\n  tintCanvas.width = w\n  tintCanvas.height = h\n  tintCanvas.getContext('2d').putImageData(tint, 0, 0)\n  ctx.drawImage(tintCanvas, 0, 0)\n\n  const L = Math.max(1.5, w / 260) // line weight scales with capture size\n  let moved = 0\n  let changed = 0\n  for (const r of islands) {\n    if (r.kind === 'moved') {\n      moved++\n      // dashed box where it was, solid box where it is now, arrow between\n      const nx = r.x + r.dx\n      const ny = r.y + r.dy\n      ctx.strokeStyle = 'rgba(103,232,249,0.55)'\n      ctx.lineWidth = L\n      ctx.setLineDash([5, 4])\n      ctx.strokeRect(r.x, r.y, r.w, r.h)\n      ctx.setLineDash([])\n      ctx.strokeStyle = '#67e8f9'\n      ctx.strokeRect(nx, ny, r.w, r.h)\n      const cx1 = r.x + r.w / 2\n      const cy1 = r.y + r.h / 2\n      const cx2 = nx + r.w / 2\n      const cy2 = ny + r.h / 2\n      const ang = Math.atan2(cy2 - cy1, cx2 - cx1)\n      const headLen = 5 * L\n      ctx.beginPath()\n      ctx.moveTo(cx1, cy1)\n      ctx.lineTo(cx2, cy2)\n      ctx.stroke()\n      ctx.beginPath()\n      ctx.moveTo(cx2, cy2)\n      ctx.lineTo(cx2 - headLen * Math.cos(ang - 0.4), cy2 - headLen * Math.sin(ang - 0.4))\n      ctx.lineTo(cx2 - headLen * Math.cos(ang + 0.4), cy2 - headLen * Math.sin(ang + 0.4))\n      ctx.closePath()\n      ctx.fillStyle = '#67e8f9'\n      ctx.fill()\n    } else {\n      changed++\n      ctx.strokeStyle = 'rgba(248,113,113,0.9)'\n      ctx.lineWidth = L\n      ctx.strokeRect(r.x, r.y, r.w, r.h)\n    }\n  }\n  return { url: out.toDataURL(), moved, changed }\n}\n",
      "asOf": "2026-11-20"
    },
    "F201": {
      "label": "Project source file, @techstark/opencv-js",
      "display": "apps/visualiser/src/lib/visualDiff.js",
      "asOf": "2026-11-20"
    },
    "F202": {
      "label": "Project full_name, @techstark/opencv-js",
      "display": "aleqsio/screenmap",
      "asOf": "2026-11-20"
    },
    "F203": {
      "label": "Project stargazers_count, @techstark/opencv-js",
      "display": "253",
      "asOf": "2026-11-20"
    },
    "F204": {
      "label": "Library name, @vladmandic/face-api",
      "display": "@vladmandic/face-api",
      "asOf": "2026-11-20"
    },
    "F205": {
      "label": "Monthly downloads, @vladmandic/face-api",
      "display": "669.7K",
      "asOf": "2026-11-20"
    },
    "F206": {
      "label": "License, @vladmandic/face-api",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F207": {
      "label": "Package release, @vladmandic/face-api",
      "display": "1.7.15",
      "asOf": "2026-11-20"
    },
    "F208": {
      "label": "Package release date, @vladmandic/face-api",
      "display": "Feb 2025",
      "asOf": "2026-11-20"
    },
    "F209": {
      "label": "Install, @vladmandic/face-api",
      "display": "npm install @vladmandic/face-api @tensorflow/tfjs-node",
      "asOf": "2026-11-20"
    },
    "F210": {
      "label": "Quickstart, @vladmandic/face-api",
      "display": "const fs = require('node:fs');\nconst faceapi = require('@vladmandic/face-api');\n\n(async () => {\n  await faceapi.nets.ssdMobilenetv1.loadFromDisk('node_modules/@vladmandic/face-api/model');\n  const image = faceapi.tf.node.decodeImage(fs.readFileSync('input.jpg'), 3);\n  const faces = await faceapi.detectAllFaces(image);\n  image.dispose();\n})();\n",
      "asOf": "2026-11-20"
    },
    "F211": {
      "label": "Repository stars, @vladmandic/face-api",
      "display": "1.1K",
      "asOf": "2026-11-20"
    },
    "F212": {
      "label": "Face keypoint task, @vladmandic/face-api",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F213": {
      "label": "Image segmentation API, @vladmandic/face-api",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F214": {
      "label": "Face descriptor pipeline, @vladmandic/face-api",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F215": {
      "label": "Native vision role, @vladmandic/face-api",
      "display": "Face detection/landmark/descriptor chain with explicit model loading; a fork of the original face-api.js with different TFJS compatibility.",
      "asOf": "2026-11-20"
    },
    "F216": {
      "label": "First-call prerequisites, @vladmandic/face-api",
      "display": "Node/CommonJS with compatible native @tensorflow/tfjs-node binary/runtime, readable input.jpg, and shipped SSD model shards at the given package model directory. FaceAPI node build and TensorFlow native peer must agree on runtime; decoder returns three channels. No native binary/model executed here.",
      "asOf": "2026-11-20"
    },
    "F217": {
      "label": "FaceAPI lineage and maintenance, @vladmandic/face-api",
      "display": "Forked from original face-api.js0.22.2; publisher says the newer Human library supersedes this fork. Keep original and fork compatibility/own counters separately.",
      "asOf": "2026-11-20"
    },
    "F218": {
      "label": "Project function, @vladmandic/face-api",
      "display": "async function main() {\n\tconst getStdin = (await import('get-stdin')).default\n\tlet paths\n\tif (process.argv[2] === '-') {\n\t\tpaths = (await getStdin()).split('\\n')\n\t} else {\n\t\tpaths = process.argv.slice(2)\n\t}\n\n\tawait faceapi.nets.ssdMobilenetv1.loadFromDisk(path.resolve(__dirname, '..', 'node_modules/@vladmandic/face-api/model'))\n\tawait faceapi.nets.faceLandmark68Net.loadFromDisk(path.resolve(__dirname, '..', 'node_modules/@vladmandic/face-api/model'))\n\tawait faceapi.nets.faceRecognitionNet.loadFromDisk(path.resolve(__dirname, '..', 'node_modules/@vladmandic/face-api/model'))\n\n\tfor (const path of paths) {\n\t\ttry {\n\t\t\tlet tensor\n\t\t\tif (PUREJS) {\n\t\t\t\ttensor = await createTensor(await Jimp.read(path), 3)\n\t\t\t} else {\n\t\t\t\ttensor = await tf.node.decodeImage(await fs.readFile(path), 3)\n\t\t\t}\n\t\t\tconst results = await faceapi.detectAllFaces(tensor).withFaceLandmarks().withFaceDescriptors()\n\t\t\ttensor.dispose()\n\t\t\tconst vectors = results\n\t\t\t\t.map(result => ({\n\t\t\t\t\tangle: result.angle,\n\t\t\t\t\tvector: result.descriptor,\n\t\t\t\t\tx: result.detection.relativeBox.x,\n\t\t\t\t\ty: result.detection.relativeBox.y,\n\t\t\t\t\theight: result.detection.relativeBox.height,\n\t\t\t\t\twidth: result.detection.relativeBox.width,\n\t\t\t\t\tscore: result.detection.score,\n\t\t\t\t}))\n\n\t\t\tconsole.log(JSON.stringify(vectors))\n\t\t} catch (e) {\n\t\t\tconsole.error(e)\n\t\t\tconsole.log('[]')\n\t\t}\n\t}\n}\n",
      "asOf": "2026-11-20"
    },
    "F219": {
      "label": "Project source file, @vladmandic/face-api",
      "display": "src/classifier_faces.js",
      "asOf": "2026-11-20"
    },
    "F220": {
      "label": "Project full_name, @vladmandic/face-api",
      "display": "nextcloud/recognize",
      "asOf": "2026-11-20"
    },
    "F221": {
      "label": "Project stargazers_count, @vladmandic/face-api",
      "display": "701",
      "asOf": "2026-11-20"
    },
    "F222": {
      "label": "Library name, @vladmandic/human",
      "display": "@vladmandic/human",
      "asOf": "2026-11-20"
    },
    "F223": {
      "label": "Monthly downloads, @vladmandic/human",
      "display": "430.3K",
      "asOf": "2026-11-20"
    },
    "F224": {
      "label": "License, @vladmandic/human",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F225": {
      "label": "Package release, @vladmandic/human",
      "display": "3.3.6",
      "asOf": "2026-11-20"
    },
    "F226": {
      "label": "Package release date, @vladmandic/human",
      "display": "Aug 2025",
      "asOf": "2026-11-20"
    },
    "F227": {
      "label": "Install, @vladmandic/human",
      "display": "npm install @vladmandic/human",
      "asOf": "2026-11-20"
    },
    "F228": {
      "label": "Quickstart, @vladmandic/human",
      "display": "import { Human } from '@vladmandic/human';\n\nconst human = new Human({ modelBasePath: '/models/' });\nconst image = document.getElementById('image');\nawait image.decode();\nconst result = await human.detect(image);\n",
      "asOf": "2026-11-20"
    },
    "F229": {
      "label": "Official description, @vladmandic/human",
      "display": "Human: AI-powered 3D Face Detection & Rotation Tracking, Face Description & Recognition, Body Pose Tracking, 3D Hand & Finger Tracking, Iris Analysis, Age & Gender & Emotion Prediction, Gesture Recognition",
      "asOf": "2026-11-20"
    },
    "F230": {
      "label": "Quickstart source file, @vladmandic/human",
      "display": "README.md",
      "asOf": "2026-11-20"
    },
    "F231": {
      "label": "Repository stars, @vladmandic/human",
      "display": "3.4K",
      "asOf": "2026-11-20"
    },
    "F232": {
      "label": "Face keypoint task, @vladmandic/human",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F233": {
      "label": "Image segmentation API, @vladmandic/human",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F234": {
      "label": "Face descriptor pipeline, @vladmandic/human",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F235": {
      "label": "Native vision role, @vladmandic/human",
      "display": "Configurable human face/body/hand/object and segmentation pipeline with optional face descriptors and matching.",
      "asOf": "2026-11-20"
    },
    "F236": {
      "label": "First-call prerequisites, @vladmandic/human",
      "display": "Browser/bundler, supported Human backend, image#image, and compatible Human model files served at /models/. Detect initializes/loads enabled models as required; Face configuration settings control which outputs exist. Do not infer identity, demographic accuracy, or security guarantees from a model API.",
      "asOf": "2026-11-20"
    },
    "F237": {
      "label": "Project function, @vladmandic/human",
      "display": "async getDetections(image: ImageBitmap | ImageData): Promise<Array<FaceResult>> {\n    if (!this.human || !this.faceDetectionTypes.length) {\n        return [];\n    }\n\n    this.human.tf.engine().startScope();\n\n    const imageTensor = this.human.tf.browser.fromPixels(image);\n    const { face: detections } = await this.human.detect(imageTensor, this.config);\n\n    this.human.tf.engine().endScope();\n\n    return detections.filter(detection => detection.score > FACE_DETECTION_SCORE_THRESHOLD);\n}\n",
      "asOf": "2026-11-20"
    },
    "F238": {
      "label": "Project source file, @vladmandic/human",
      "display": "react/features/face-landmarks/FaceLandmarksHelper.ts",
      "asOf": "2026-11-20"
    },
    "F239": {
      "label": "Project full_name, @vladmandic/human",
      "display": "jitsi/jitsi-meet",
      "asOf": "2026-11-20"
    },
    "F240": {
      "label": "Project stargazers_count, @vladmandic/human",
      "display": "30.3K",
      "asOf": "2026-11-20"
    },
    "F241": {
      "label": "Library name, @tensorflow-models/blazeface",
      "display": "@tensorflow-models/blazeface",
      "asOf": "2026-11-20"
    },
    "F242": {
      "label": "Monthly downloads, @tensorflow-models/blazeface",
      "display": "305.0K",
      "asOf": "2026-11-20"
    },
    "F243": {
      "label": "License, @tensorflow-models/blazeface",
      "display": "Apache-2.0",
      "asOf": "2026-11-20"
    },
    "F244": {
      "label": "Package release, @tensorflow-models/blazeface",
      "display": "0.1.0",
      "asOf": "2026-11-20"
    },
    "F245": {
      "label": "Package release date, @tensorflow-models/blazeface",
      "display": "Aug 2023",
      "asOf": "2026-11-20"
    },
    "F246": {
      "label": "Install, @tensorflow-models/blazeface",
      "display": "npm install @tensorflow-models/blazeface @tensorflow/tfjs",
      "asOf": "2026-11-20"
    },
    "F247": {
      "label": "Quickstart, @tensorflow-models/blazeface",
      "display": "import '@tensorflow/tfjs';\nimport * as blazeface from '@tensorflow-models/blazeface';\n\nconst image = document.getElementById('image');\nawait image.decode();\nconst detector = await blazeface.load();\nconst faces = await detector.estimateFaces(image, false);\ndetector.dispose();\n",
      "asOf": "2026-11-20"
    },
    "F248": {
      "label": "Official description, @tensorflow-models/blazeface",
      "display": "Detects faces with a pretrained model in TensorFlow.js.",
      "asOf": "2026-11-20"
    },
    "F249": {
      "label": "Quickstart source file, @tensorflow-models/blazeface",
      "display": "dist/index.d.ts",
      "asOf": "2026-11-20"
    },
    "F250": {
      "label": "Repository stars, @tensorflow-models/blazeface",
      "display": "14.8K",
      "asOf": "2026-11-20"
    },
    "F251": {
      "label": "Face keypoint task, @tensorflow-models/blazeface",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F252": {
      "label": "Image segmentation API, @tensorflow-models/blazeface",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F253": {
      "label": "Face descriptor pipeline, @tensorflow-models/blazeface",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F254": {
      "label": "Native vision role, @tensorflow-models/blazeface",
      "display": "Legacy BlazeFace load/estimateFaces interface returning face boxes and keypoints; publisher deprecates it in favor of face-detection.",
      "asOf": "2026-11-20"
    },
    "F255": {
      "label": "First-call prerequisites, @tensorflow-models/blazeface",
      "display": "Browser/bundler with the compatible TFJS dependencies/backend registered by the full TFJS import, a loaded image#image, and access to compatible model weights. Selected BlazeFace is deprecated in favor of face-detection but remains a distinct public load/estimateFaces interface. No performance values measured.",
      "asOf": "2026-11-20"
    },
    "F256": {
      "label": "Successor relationship, @tensorflow-models/blazeface",
      "display": "Deprecated in favor of face-detection, whose createDetector/runtime abstraction differs from this load/estimateFaces contract. Both remain eligible and separately ranked; no counts pooled.",
      "asOf": "2026-11-20"
    },
    "F257": {
      "label": "Library name, @tensorflow-models/face-detection",
      "display": "@tensorflow-models/face-detection",
      "asOf": "2026-11-20"
    },
    "F258": {
      "label": "Monthly downloads, @tensorflow-models/face-detection",
      "display": "287.3K",
      "asOf": "2026-11-20"
    },
    "F259": {
      "label": "License, @tensorflow-models/face-detection",
      "display": "Apache-2.0",
      "asOf": "2026-11-20"
    },
    "F260": {
      "label": "Package release, @tensorflow-models/face-detection",
      "display": "1.0.3",
      "asOf": "2026-11-20"
    },
    "F261": {
      "label": "Package release date, @tensorflow-models/face-detection",
      "display": "Oct 2024",
      "asOf": "2026-11-20"
    },
    "F262": {
      "label": "Install, @tensorflow-models/face-detection",
      "display": "npm install @tensorflow-models/face-detection @tensorflow/tfjs-core @tensorflow/tfjs-converter @tensorflow/tfjs-backend-webgl",
      "asOf": "2026-11-20"
    },
    "F263": {
      "label": "Quickstart, @tensorflow-models/face-detection",
      "display": "import '@tensorflow/tfjs-backend-webgl';\nimport * as faceDetection from '@tensorflow-models/face-detection';\n\nconst detector = await faceDetection.createDetector(\n  faceDetection.SupportedModels.MediaPipeFaceDetector, { runtime: 'tfjs' }\n);\nconst image = document.getElementById('image');\nawait image.decode();\nconst faces = await detector.estimateFaces(image);\ndetector.dispose();\n",
      "asOf": "2026-11-20"
    },
    "F264": {
      "label": "Official description, @tensorflow-models/face-detection",
      "display": "Pretrained face detection model",
      "asOf": "2026-11-20"
    },
    "F265": {
      "label": "Quickstart source file, @tensorflow-models/face-detection",
      "display": "face-detection/README.md",
      "asOf": "2026-11-20"
    },
    "F266": {
      "label": "Repository stars, @tensorflow-models/face-detection",
      "display": "14.8K",
      "asOf": "2026-11-20"
    },
    "F267": {
      "label": "Face keypoint task, @tensorflow-models/face-detection",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F268": {
      "label": "Image segmentation API, @tensorflow-models/face-detection",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F269": {
      "label": "Face descriptor pipeline, @tensorflow-models/face-detection",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F270": {
      "label": "Native vision role, @tensorflow-models/face-detection",
      "display": "Face detector abstraction with a named MediaPipeFaceDetector model and explicit TFJS/MediaPipe runtime selection; boxes/keypoints, not identity.",
      "asOf": "2026-11-20"
    },
    "F271": {
      "label": "First-call prerequisites, @tensorflow-models/face-detection",
      "display": "Browser/bundler with compatible TFJS core/converter and WebGL backend registered, loaded image#image, and network/self-hosted access to detector weights. runtime=tfjs is explicit; a mediapipe runtime needs different peer assets. Detection is not liveness verification or identity recognition.",
      "asOf": "2026-11-20"
    },
    "F272": {
      "label": "Project function, @tensorflow-models/face-detection",
      "display": "async detectFaces(videoEl: HTMLVideoElement): Promise<Face[]> {\n  const flipHorizontal = true;\n  const predictions = await this._model.estimateFaces(videoEl, {\n    flipHorizontal,\n  });\n\n  const timestampMs = Date.now();\n\n  const faces: Face[] = predictions.map((prediction) => {\n    const { box, keypoints } = prediction;\n    const { xMin: left, yMin: top, width, height } = box;\n    const rightEye = this._getCoordinate(keypoints, 'rightEye');\n    const leftEye = this._getCoordinate(keypoints, 'leftEye');\n    const nose = this._getCoordinate(keypoints, 'noseTip');\n    const mouth = this._getCoordinate(keypoints, 'mouthCenter');\n    const rightEar = this._getCoordinate(keypoints, 'rightEarTragion');\n    const leftEar = this._getCoordinate(keypoints, 'leftEarTragion');\n    const probability = [90];\n\n    return {\n      top,\n      left,\n      width,\n      height,\n      timestampMs,\n      probability: (probability as unknown as [number])[0], // probability in reality is [number] but is typed as number | Tensor.1d\n      rightEye,\n      leftEye,\n      mouth,\n      nose,\n      rightEar,\n      leftEar,\n    };\n  });\n\n  return faces;\n}\n",
      "asOf": "2026-11-20"
    },
    "F273": {
      "label": "Project source file, @tensorflow-models/face-detection",
      "display": "packages/react-liveness/src/components/FaceLivenessDetector/service/utils/blazefaceFaceDetection.ts",
      "asOf": "2026-11-20"
    },
    "F274": {
      "label": "Project full_name, @tensorflow-models/face-detection",
      "display": "aws-amplify/amplify-ui",
      "asOf": "2026-11-20"
    },
    "F275": {
      "label": "Project stargazers_count, @tensorflow-models/face-detection",
      "display": "1.1K",
      "asOf": "2026-11-20"
    },
    "F276": {
      "label": "What, Transformers.js",
      "display": "Runs pretrained Hugging Face models in the browser with an API close to the Python transformers library.",
      "asOf": "2026-11-17"
    },
    "F277": {
      "label": "Strength lead, Transformers.js",
      "display": "Covers common vision tasks",
      "asOf": "2026-11-17"
    },
    "F278": {
      "label": "Strength body, Transformers.js",
      "display": "Pipelines handle image classification, object detection, segmentation, and depth estimation.",
      "asOf": "2026-11-17"
    },
    "F279": {
      "label": "Strength lead, Transformers.js runtime",
      "display": "Runs models through ONNX Runtime",
      "asOf": "2026-11-17"
    },
    "F280": {
      "label": "Strength body, Transformers.js runtime",
      "display": "PyTorch, TensorFlow, and JAX models convert to ONNX before they run.",
      "asOf": "2026-11-17"
    },
    "F281": {
      "label": "What, TensorFlow.js",
      "display": "Trains and deploys machine learning models in JavaScript with hardware acceleration.",
      "asOf": "2026-11-17"
    },
    "F282": {
      "label": "Strength lead, TensorFlow.js",
      "display": "Runs converted TensorFlow models",
      "asOf": "2026-11-17"
    },
    "F283": {
      "label": "Strength body, TensorFlow.js",
      "display": "Model converters bring existing TensorFlow models into the browser.",
      "asOf": "2026-11-17"
    },
    "F284": {
      "label": "Strength lead, TensorFlow.js Node",
      "display": "Same API in Node.js",
      "asOf": "2026-11-17"
    },
    "F285": {
      "label": "Strength body, TensorFlow.js Node",
      "display": "Server code runs native TensorFlow through the same API.",
      "asOf": "2026-11-17"
    },
    "F286": {
      "label": "What, Human",
      "display": "Detects faces and tracks their rotation, with face description for recognition.",
      "asOf": "2026-11-17"
    },
    "F287": {
      "label": "Strength lead, Human",
      "display": "Runs only the models needed",
      "asOf": "2026-11-17"
    },
    "F288": {
      "label": "Strength body, Human",
      "display": "Frame-change detection triggers only the models a frame needs.",
      "asOf": "2026-11-17"
    },
    "F289": {
      "label": "Strength lead, Human input",
      "display": "Handles video and webcam input",
      "asOf": "2026-11-17"
    },
    "F290": {
      "label": "Strength body, Human input",
      "display": "Images, video, and webcam streams feed the pipeline directly.",
      "asOf": "2026-11-17"
    },
    "F291": {
      "label": "Watch out lead, Human",
      "display": "Chromium comes first",
      "asOf": "2026-11-17"
    },
    "F292": {
      "label": "Watch out body, Human",
      "display": "Firefox and Safari are secondary platforms.",
      "asOf": "2026-11-17"
    },
    "F293": {
      "label": "Watch out lead, BlazeFace",
      "display": "Deprecated",
      "asOf": "2026-11-17"
    },
    "F294": {
      "label": "Watch out body, BlazeFace",
      "display": "New code uses the face-detection package instead.",
      "asOf": "2026-11-17"
    },
    "F295": {
      "label": "What, face-detection",
      "display": "Provides models for running real-time face detection in JavaScript.",
      "asOf": "2026-11-17"
    },
    "F296": {
      "label": "Strength lead, face-detection",
      "display": "Returns keypoints per face",
      "asOf": "2026-11-17"
    },
    "F297": {
      "label": "Strength body, face-detection",
      "display": "Each detected face carries a bounding box and an array of keypoints.",
      "asOf": "2026-11-17"
    },
    "F298": {
      "label": "Strength lead, face-detection runtime",
      "display": "Chooses its runtime",
      "asOf": "2026-11-17"
    },
    "F299": {
      "label": "Strength body, face-detection runtime",
      "display": "The detector config selects the MediaPipe or TensorFlow.js runtime.",
      "asOf": "2026-11-17"
    },
    "F300": {
      "label": "Watch out lead, face-detection",
      "display": "Offers a single model",
      "asOf": "2026-11-17"
    },
    "F301": {
      "label": "Watch out body, face-detection",
      "display": "MediaPipe FaceDetection is the only model the package provides.",
      "asOf": "2026-11-17"
    }
  },
  "dataCheckedAt": "2026-11-20",
  "agent": {
    "exaCall": {
      "endpoint": "/search",
      "body": {
        "query": "Best JavaScript computer vision libraries OpenCV MediaPipe COCO SSD FaceAPI code examples",
        "numResults": 5
      },
      "docsUrl": "https://exa.ai/docs/reference/search"
    },
    "calls": []
  }
}
