vendor: OpenCV 5.0.0 snapshot at 40738fb16ceddb5fb3fea747585f7ce6abb0605b

This commit is contained in:
Gitea Mirror Bot
2026-08-22 00:10:33 +08:00
commit f7f077da11
6933 changed files with 2335208 additions and 0 deletions
File diff suppressed because it is too large Load Diff
+1
View File
@@ -0,0 +1 @@
<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" width="164" height="153" viewBox="0 0 164 153" fill="none"><path d="M144.618 79.1998C156.154 85.9868 163.907 98.5221 163.932 112.877C163.969 134.484 146.484 152.031 124.877 152.068C103.269 152.106 85.7225 134.62 85.6847 113.013C85.6597 98.6587 93.3683 86.0964 104.881 79.2691L116.123 98.2666C116.405 98.7431 116.245 99.3554 115.787 99.6669C111.536 102.561 108.748 107.443 108.758 112.973C108.773 121.837 115.972 129.011 124.836 128.995C133.701 128.98 140.874 121.781 140.859 112.917C140.849 107.387 138.044 102.515 133.783 99.6355C133.324 99.3256 133.162 98.7139 133.442 98.2364L144.618 79.1998Z" fill="#128DFF"></path><path d="M58.2668 78.9714C52.6177 75.8052 46.1027 74 39.1662 74C17.5588 74 0.0426025 91.5162 0.0426025 113.124C0.0426025 134.731 17.5588 152.247 39.1662 152.247C60.8798 152.247 78.8229 133.813 78.2771 112.12H56.2529C55.6746 112.12 55.2192 112.609 55.2155 113.188C55.1596 121.833 47.9463 129.174 39.1662 129.174C30.3016 129.174 23.1155 121.988 23.1155 113.124C23.1155 104.259 30.3016 97.0729 39.1662 97.0729C41.4876 97.0729 43.694 97.5657 45.6863 98.4525C46.1732 98.6692 46.7542 98.505 47.0247 98.0459L58.2668 78.9714Z" fill="#8BDA67"></path><path d="M61.431 72.834C49.9062 66.0268 42.1757 53.4779 42.1757 39.1235C42.1757 17.5162 59.6919 0 81.2992 0C102.907 0 120.423 17.5162 120.423 39.1235C120.423 53.4779 112.692 66.0268 101.167 72.834L89.9591 53.8169C89.678 53.3399 89.8386 52.7279 90.2968 52.4171C94.5531 49.5307 97.3499 44.6537 97.3499 39.1235C97.3499 30.259 90.1638 23.0729 81.2992 23.0729C72.4347 23.0729 65.2485 30.259 65.2485 39.1235C65.2485 44.6537 68.0453 49.5307 72.3016 52.4171C72.7599 52.7279 72.9204 53.3399 72.6393 53.8169L61.431 72.834Z" fill="#FF2A44"></path></svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

+135
View File
@@ -0,0 +1,135 @@
/* Single source of truth for the documentation version dropdown.
*
* Consumed by BOTH:
* - the legacy Doxygen pages (2.x .. 4.x, 5.0.0-pre): the block below
* renders this list into the `#projectnumber` span next to the logo
* (needs jQuery, which those pages already load); and
* - the new Sphinx (PyData) 5.0 docs: the navbar switcher template reads
* `window.OPENCV_DOC_VERSIONS` directly and builds its own <select>.
*
* To publish a new release, add ONE entry here ['<label>', '<site-path>']
* and redeploy this file to the bucket root — the option then appears in
* the dropdown on every version's pages at once. Do not maintain a second
* list anywhere. */
window.OPENCV_DOC_VERSIONS = [
['4.13.0', '/4.13.0'],
['4.12.0', '/4.12.0'],
['4.11.0', '/4.11.0'],
['5.0', '/5.0'],
['5.0.0alpha', '/5.0.0-alpha'],
['4.10.0', '/4.10.0'],
['4.9.0', '/4.9.0'],
['4.8.0', '/4.8.0'],
['4.7.0', '/4.7.0'],
['4.6.0', '/4.6.0'],
['4.5.5', '/4.5.5'],
['4.5.4', '/4.5.4'],
['4.5.3', '/4.5.3'],
['4.5.2', '/4.5.2'],
['4.5.1', '/4.5.1'],
['4.5.0', '/4.5.0'],
['4.4.0', '/4.4.0'],
['4.3.0', '/4.3.0'],
['4.2.0', '/4.2.0'],
['4.1.2', '/4.1.2'],
['4.1.1', '/4.1.1'],
['4.1.0', '/4.1.0'],
['4.0.1', '/4.0.1'],
['4.0.0', '/4.0.0'],
// no more 3.4 releases: ['3.4.21-pre', '/3.4'],
['3.4.20-dev', '/3.4'],
['3.4.20', '/3.4.20'],
['3.4.19', '/3.4.19'],
['3.4.18', '/3.4.18'],
['3.4.17', '/3.4.17'],
['3.4.16', '/3.4.16'],
['3.4.15', '/3.4.15'],
['3.4.14', '/3.4.14'],
['3.4.13', '/3.4.13'],
['3.4.12', '/3.4.12'],
['3.4.11', '/3.4.11'],
['3.4.10', '/3.4.10'],
['3.4.9', '/3.4.9'],
['3.4.8', '/3.4.8'],
['3.4.7', '/3.4.7'],
['3.4.6', '/3.4.6'],
['3.4.5', '/3.4.5'],
['3.4.4', '/3.4.4'],
['3.4.3', '/3.4.3'],
['3.4.2', '/3.4.2'],
['3.4.1', '/3.4.1'],
['3.4.0', '/3.4.0'],
['3.3.1', '/3.3.1'],
['3.3.0', '/3.3.0'],
['3.2.0', '/3.2.0'],
['3.1.0', '/3.1.0'],
['3.0.0', '/3.0.0'],
];
// Present the dropdown newest-first regardless of the order entries were added
// above, so publishing a release stays a one-line append (no manual re-sorting).
// Sort by numeric major.minor.patch descending; suffixes like "-dev"/"-pre"/
// "alpha" carry no digits and are ignored by the key, so same-base variants
// (e.g. "5.0" / "5.0.0-pre" / "5.0.0alpha") tie — Array.sort is stable, so they
// keep the order written above.
window.OPENCV_DOC_VERSIONS.sort(function (a, b) {
var ka = (a[0].match(/\d+/g) || []).map(Number);
var kb = (b[0].match(/\d+/g) || []).map(Number);
for (var i = 0; i < Math.max(ka.length, kb.length); i++) {
var d = (kb[i] || 0) - (ka[i] || 0);
if (d) return d;
}
return 0;
});
function renderDoxygenVersionDropdown() {
// Doxygen-only rendering. The Sphinx pages have no `#projectnumber` and
// no jQuery, so bail early there — they read OPENCV_DOC_VERSIONS above
// and build their own dropdown in the navbar template.
if (!document.getElementById("projectnumber") || typeof window.jQuery === "undefined")
return;
var versions = window.OPENCV_DOC_VERSIONS;
var h = '<select>';
var current_ver = $("#projectnumber")[0].innerText || versions[0][0];
current_ver = current_ver.trim();
for (i = 0; i < versions.length; i++) {
selected = ''
if(current_ver === versions[i][0])
selected = ' selected="selected"';
h += '<option value="' + versions[i][0] + '"' + selected + '>' + versions[i][0] + '</option>';
}
h += '</select>';
$("#projectnumber")[0].innerHTML = h;
$("#projectnumber select")[0].addEventListener('change', function() {
var v = $(this).children('option:selected').attr('value');
var path = undefined;
for (i = 0; i < versions.length; i++) {
if(v === versions[i][0]) {
path = versions[i][1];
break;
}
}
if (!path) return;
// Go straight to the chosen version's index via its site-absolute path,
// so switching works from ANY page of ANY version — no fragile attempt to
// substitute the current version inside the current URL (which fails on
// pages whose path isn't "/<version>/...", e.g. the 5.0 C++ API tree).
// The S3 *website* endpoint serves "/4.13.0/" as index.html, but the plain
// REST endpoint does not, so append index.html explicitly.
if (!/\.html?($|[?#])/.test(path))
path = path.replace(/\/+$/, '') + '/index.html';
window.location.href = path; // navigate
});
return current_ver;
}
// Run as soon as possible. On a normal page load this fires on DOMContentLoaded;
// but on the already-deployed legacy pages this file is pulled in dynamically
// (a loader appended to dynsections.js) and may arrive AFTER DOMContentLoaded
// has fired — in which case render immediately instead of waiting for an event
// that will never come again.
if (document.readyState === "loading") {
document.addEventListener("DOMContentLoaded", renderDoxygenVersionDropdown);
} else {
renderDoxygenVersionDropdown();
}