深圳Yolo 视觉
深圳
立即加入

通过Ultralytics 的博客探索人工智能世界!

与Ultralytics 一起深入了解人工智能和计算机视觉领域的最新趋势。从YOLO 进展到突破性应用,探索我们如何塑造技术的未来。

观看我们的模型演示

了解更多

让我们一起共建AI的未来!

开启您的机器学习未来之旅

tag) document.addEventListener("DOMContentLoaded", () => { // Get the element with the ID 'githubStars' const starsElement = document.getElementById("githubStarsButton"); if (starsElement) { // Get the current text content const rawNumber = starsElement.textContent.trim(); // Remove any existing formatting (commas, spaces, etc.) const cleanNumber = rawNumber.replace(/[,\s]/g, ""); // Convert to number and format with thousand separators const number = parseFloat(cleanNumber); if (!Number.isNaN(number)) { // Format the number with commas (e.g., 1000 -> 1,000) const formattedNumber = number.toLocaleString("en-US"); // Update the element with the formatted number starsElement.textContent = formattedNumber; } } // Handle responsive visibility for githubString const githubString = document.getElementById("githubString"); if (githubString) { function handleResize() { if (window.innerWidth < 1200) { githubString.style.display = "none"; } else { githubString.style.display = ""; } } // Run on load handleResize(); // Run on window resize window.addEventListener("resize", handleResize); } });