Rasterized Edge Gradients: Handling Discontinuities Differentiably 翻译

YOLO多任务实战,实例分割、姿态估计与目标跟踪 本文系统阐述YOLOv8多任务实战技术,涵盖实例分割、姿态估计与目标跟踪的联合实现。基于共享骨干与解耦头设计,YOLOv8通过原型掩码与关键点回归实现高效多任务推理,支持检测、分割、姿态、分类与跟踪一体化部署。文章详解网络结构、任务头设计、联合训练优化及TensorRT加速,提供可复现的完整代码流程,适用于工业视觉、智慧交通等实时多任务场景,显著降低开发与部署成本。 阅读详情

Doc2X | 专注学术文档翻译
支持 PDF 转 Word、多栏识别和沉浸式双语翻译,为您的论文处理和学术研究提供全方位支持。
Doc2X | Academic Document Translation Expert
Support PDF to Word, multi-column recognition, and immersive bilingual translation for comprehensive academic research assistance.
👉 了解 Doc2X 功能 | Learn About Doc2X

原文链接:https://arxiv.org/pdf/2405.02508

Rasterized Edge Gradients: Handling Discontinuities Differentiably

光栅化边缘梯度:以可微分方式处理不连续性

Stanislav Pidhorskyi , Tomas Simon, Gabriel Schwartz. He Wen, Yaser Sheikh, and Jason Saragih

Stanislav Pidhorskyi, Tomas Simon, Gabriel Schwartz, He Wen, Yaser Sheikh, 和 Jason Saragih

Reality Labs, Meta, Pittsburgh, Pennsylvania, USA

Reality Labs, Meta, 匹兹堡,宾夕法尼亚州,美国

Abstract. Computing the gradients of a rendering process is paramount for diverse applications in computer vision and graphics. However, accurate computation of these gradients is challenging due to discontinuities and rendering approximations, particularly for surface-based representations and rasterization-based rendering. We present a novel method for computing gradients at visibility discontinuities for rasterization-based differentiable renderers. Our method elegantly simplifies the traditionally complex problem through a carefully designed approximation strategy, allowing for a straightforward, effective, and performant solution. We introduce a novel concept of micro-edges, which allows us to treat the ras-terized images as outcomes of a differentiable, continuous process aligned with the inherently non-differentiable, discrete-pixel rasterization. This technique eliminates the necessity for rendering approximations or other modifications to the forward pass, preserving the integrity of the rendered image, which makes it applicable to rasterized masks, depth, and normals images where filtering is prohibitive. Utilizing micro-edges simplifies gradient interpretation at discontinuities and enables handling of geometry intersections, offering an advantage over the prior art. We showcase our method in dynamic human head scene reconstruction, demonstrating effective handling of camera images and segmentation masks.

摘要。计算渲染过程的梯度对于计算机视觉和图形学的多种应用至关重要。然而,由于不连续性和渲染近似,特别是对于基于表面的表示和基于光栅化的渲染,准确计算这些梯度具有挑战性。我们提出了一种新颖的方法,用于计算基于光栅化的可微分渲染器在可见性不连续处的梯度。我们的方法通过精心设计的近似策略,优雅地简化了传统上复杂的问题,提供了一个直接、有效且高效的解决方案。我们引入了一个新的微边缘概念,使我们能够将光栅化图像视为与固有的非可微分、离散像素光栅化相一致的可微分、连续过程的结果。这项技术消除了对渲染近似或其他前向传递修改的需求,保留了渲染图像的完整性,使其适用于光栅化掩码、深度和法线图像,在这些图像中过滤是不可行的。利用微边缘简化了不连续处的梯度解释,并能够处理几何交集,相比现有技术具有优势。我们在动态人头场景重建中展示了我们的方法,展示了有效处理相机图像和分割掩码的能力。

1 Introduction

1 引言

Significant advances have been made in recent years in modeling real 3D objects from image measurements. Much of this advancement can be credited to improvements in inverse rendering, which enables the automatic inference of 3D scene parameters that best reconstruct the images. While volumetric methods like NeRF [31] simplify inverse rendering by eliminating the need for predefined scene topology, classical mesh-based representations remain widely used due to their efficiency in modeling opaque surfaces. These representations often rely on highly performant rasterization, which requires discrete operations to reason about ordering and coverage, which poses challenges for gradient computations. Our main contribution is a theoretical framework for approximating gradients of a rasterization process that simultaneously elucidates previous constructions, arrives at a simple, fast, and accurate formulation, and further improves gradient approximation accuracy over state-of-the-art methods.

近年来,从图像测量中建模真实三维物体取得了显著进展。这一进步很大程度上归功于逆渲染技术的改进,逆渲染技术能够自动推断出最佳重建图像的三维场景参数。虽然像 NeRF [31] 这样的体积方法通过消除对预定义场景拓扑的需求简化了逆渲染,但经典的基于网格的表示仍然被广泛使用,因为它们在建模不透明表面时效率高。这些表示通常依赖于高性能的光栅化技术,这需要离散操作来推理顺序和覆盖范围,这对梯度计算提出了挑战。我们的主要贡献是一个理论框架,用于近似光栅化过程的梯度,该框架同时阐明了先前的构造,得出了一个简单、快速且准确的公式,并进一步提高了对现有最先进方法的梯度近似精度。

In rasterization, a rendered pixel’s value is determined by the foremost triangle covering it. Pixels whose footprint lies entirely within a single triangle are straightforward to handle, as infinitesimal mesh motion does not change their triangle membership. However, pixels on triangle boundaries, either between adjacent triangles, at occlusion boundaries, or at intersections between triangles, must account for how their triangle membership changes in response to infinitesimal changes in the mesh. Existing methods employ different approximations of soft-membership to account for this, enabling gradient computation in those areas, effectively compositing contributions from member triangles via a weighted sum. For example, [20] uses the anti-aliasing approach, 14 averages monte-carlo samples during ray-casting, and 40 extends the influence of boundary triangles using a falloff function. In this work, we show that all these methods exhibit approximation errors that can fail to compute correct gradients in one case or another. In particular, none of the existing methods accurately compute the gradient at triangle intersections, which can often happen during inverse rendering, especially when the current estimate is far from the desired solution.

在光栅化中,渲染像素的值由覆盖它的最前面的三角形决定。像素的足迹完全位于单个三角形内的情况很容易处理,因为微小的网格运动不会改变它们的三角形成员身份。然而,位于三角形边界上的像素,无论是相邻三角形之间、遮挡边界上,还是三角形相交处,都必须考虑其三角形成员身份如何随网格的微小变化而变化。现有方法采用不同的软成员身份近似来处理这一问题,从而在这些区域中实现梯度计算,通过加权和有效地合成成员三角形的贡献。例如,[20] 使用抗锯齿方法,14 在光线投射期间平均蒙特卡罗样本,40 使用衰减函数扩展边界三角形的影响。在这项工作中,我们表明所有这些方法都存在近似误差,可能会在某些情况下无法计算正确的梯度。特别是,现有方法都无法准确计算三角形相交处的梯度,这在逆渲染过程中经常发生,尤其是在当前估计远离所需解决方案时。

In contrast to existing works that directly tackle geometric discontinuities and rasterization’s discrete nature, we introduce a micro-edge formulation which allows to interpret the rasterized image as an outcome of a continuous process that coincidentally aligns with discrete-pixel rasterization, simplifying gradient computation significantly. Unlike some other works [20,40], our formulation achieves good gradient estimates without altering the rasterization forward pass, maintaining the rasterized image’s integrity. This is crucial for optimizing segmentation masks, depth maps, and normal maps where filtering or smoothing is not feasible, e.g. anisotropic filtering or soft rasterization would mix normals from different surfaces misrepresenting the geometry. The simplifications offered by our micro-edge formulation allow us to seamlessly handle discontinuities caused by geometry intersections, offering an advantage over the prior art.

与直接处理几何不连续性和光栅化离散性的现有工作相比,我们引入了一种微边公式,该公式允许将光栅化图像解释为与离散像素光栅化偶然对齐的连续过程的结果,从而显著简化了梯度计算。与一些其他工作 [20,40] 不同,我们的公式在不改变光栅化前向传递的情况下实现了良好的梯度估计,保持了光栅化图像的完整性。这对于优化分割掩码、深度图和法线图至关重要,因为在这些情况下过滤或平滑是不可行的,例如各向异性过滤或软光栅化会混合来自不同表面的法线,从而错误地表示几何形状。我们的微边公式提供的简化使我们能够无缝处理由几何交点引起的不连续性,从而优于现有技术。

In summary, our paper introduces a straightforward, accurate, and efficient method for computing gradients in rasterization, comparable to existing techniques but with greater simplicity and the ability to handle self-intersections. We analyze our method’s errors from a theoretical standpoint and compare gradients qualitatively and quantitatively with finite differences and other methods across various test cases. We also assess runtime efficiency and accuracy by image size and showcase qualitative and quantitative findings on a synthetic blender dataset 32 . Our method excels in complex applications, such as detailed dynamic human head reconstructions, effectively managing the intricate details of the inner mouth region with significant occlusions and deformations.

总之,我们的论文介绍了一种简单、准确且高效的光栅化梯度计算方法,与现有技术相当,但更简单且能够处理自交点。我们从理论角度分析了我们的方法的误差,并在各种测试案例中定性和定量地比较了我们的梯度与有限差分和其他方法。我们还通过图像大小评估了运行时效率和准确性,并在合成 blender 数据集 32 上展示了定性和定量的发现。我们的方法在复杂应用中表现出色,例如详细的动态人头重建,有效地管理了具有显著遮挡和变形的口腔内部区域的复杂细节。

2 Related work

2 相关工作

Differentiable rendering is one of the critical building blocks for many existing computer vision problems,such as 3    d 3\mathrm{\;d} 3d object reconstruction10,17,45,50,51, 3d object prediction 5, 8,9,12, pose estimation 1,6, 11,38 novel view synthesis4,18,32,33,54,as well as newly emerging applications such as text-to-3D generative models [22, 39, 43, 44]. Differentiable rendering employs a wide array of underlying 3D representations including explicit surfaces like mesh-based representations [19, 20, 27], implicit surfaces [2, 16, 37, 46], point clouds [18, 42, 48], explicit or implicit volume representations [4, 23, 26, 32, 35, 50, 52], and hybrid representations 7, 33 . For a comprehensive introduction to differentiable rendering, we refer the reader to Zhao et al.'s excellent SIGGRAPH course notes 55 .

可微渲染是许多现有计算机视觉问题的关键构建模块之一,例如 3    d 3\mathrm{\;d} 3d 物体重建10,17,45,50,51, 三维物体预测5, 8,9,12, 姿态估计1,6, 11,38, 新颖视图合成4,18,32,33,54,以及新兴的应用如文本到三维生成模型 [22, 39, 43, 44]。可微渲染采用多种底层三维表示,包括显式表面如基于网格的表示 [19, 20, 27],隐式表面 [2, 16, 37, 46],点云 [18, 42, 48],显式或隐式体积表示 [4, 23, 26, 32, 35, 50, 52],以及混合表示 7, 33。关于可微渲染的全面介绍,我们建议读者参考 Zhao 等人的优秀 SIGGRAPH 课程笔记 55。

Mesh optimization often poses more challenges than implicit and volumetric methods, leading to the latter’s prevalence in the field, as noted by Roessle et al. 41. Despite this, meshes excel in high-performance rendering and imply registration with predefined topologies. Mesh rendering methods can be categorized into ray tracing-based and rasterization-based, with the former including frameworks like Mitsuba 3 [15, 36]. Differentiable ray tracing, aimed at direct illumination or path tracing, is computationally expensive but principled. Key advancements by Li et al. [21] and Zhang et al. [53] split this gradient into discontinuity integrals with Dirac delta functions and differentiable continuous parts. Li et al. replaced Dirac delta integration with boundary line integration, while Zhang et al. applied Reynold’s transport theorem for a similar decomposition. Both methods are intricate, necessitating silhouette edge sampling - a significant bottleneck in their application. Loubet et al. [28] proposed a variable change to simplify discontinuity integration, further refined by Bangaru et al. 3 using warped area fields to correct biases, yet practical application challenges persist. Despite their flexibility, the computational expense of such ray tracing frameworks restrict their practicality in optimization-intensive tasks [20].

网格优化通常比隐式和体积方法更具挑战性,导致后者在领域中更为普遍,正如Roessle等人所指出的那样。尽管如此,网格在高性能渲染方面表现出色,并且暗示与预定义拓扑结构的注册。网格渲染方法可以分为基于光线追踪和基于光栅化的方法,前者包括Mitsuba 3 [15, 36]等框架。可微分光线追踪,旨在直接光照或路径追踪,计算成本高昂但原则性强。Li等人[21]和张等人[53]的关键进展将这一梯度分解为带有狄拉克δ函数的间断积分和可微分的连续部分。Li等人用边界线积分取代了狄拉克δ积分,而张等人则应用了雷诺传输定理进行类似的分解。这两种方法都较为复杂,需要轮廓边缘采样——这是它们应用中的一个显著瓶颈。Loubet等人[28]提出了一种变量变化来简化间断积分,Bangaru等人进一步使用扭曲面积场来纠正偏差,但实际应用中仍存在挑战。尽管这些光线追踪框架具有灵活性,但其计算成本限制了它们在优化密集型任务中的实用性[20]。

For rasterization-based methods, rendering meshes differentiably is hindered by non-differentiable visibility at boundaries. Unlike ray tracing, which uses boundary integrals for visibility gradients, rasterization’s fixed-grid and z-buffer approach lacks this feature. Solutions typically involve approximating derivatives or approximating rendering to achieve inherent differentiability. De La Gorce et al. [19] and Loper et al. [27] pioneered derivative approximation in rasteriza-tion. De La Gorce et al. distinguished between continuous regions and occlusion boundaries, introducing ‘occlusion forces’ for the latter. Loper et al. simplified this by detecting discontinuities post-rasterization and employing differential filters, like the Sobel filter, for boundary approximation.

对于基于光栅化的方法,渲染网格的可微性受到边界处不可微的可见性阻碍。与使用边界积分计算可见性梯度的光线追踪不同,光栅化的固定网格和z缓冲区方法缺乏这一特性。解决方案通常涉及近似导数或近似渲染以实现固有的可微性。De La Gorce等人[19]和Loper等人[27]在光栅化中开创了近似导数的计算。De La Gorce等人区分了连续区域和遮挡边界,为后者引入了“遮挡力”。Loper等人通过在光栅化后检测不连续性并使用Sobel滤波器等微分滤波器进行边界近似,简化了这一过程。

The ‘Nvdiffrast’ approach by Laine et al. [20] tackles point-sampled visibility issues with innovative differentiable analytic antialiasing, which transforms sharp discontinuities into smooth transitions, enabling gradient computation. Analytical antialiasing is achieved by estimating coverage using silhouette edges. A limitation of the method is that if triangles containing silhouette edges do not overlap with any pixel center, they will be overlooked during the antialiasing process. Moreover, analytical antialiasing is inherently approximate, so the obtained gradients are also approximate. Regrettably, the approach is still quite complex, modifies the rasterized image, and requires a specialized data structure for connectivity and detailed pixel coverage computations. On the other hand, methods like Rhodin et al. [40] and Liu et al.'s ‘Soft Rasterizer’ 24 opt for modifying the rendering model. Rhodin et al. introduce fuzzy edges to soften discontinuities, while ‘Soft Rasterizer’ further blurs boundaries and averages depth contributions, facilitating gradient propagation across occluded primitives.

Laine等人[20]提出的“Nvdiffrast”方法通过创新的微分分析抗锯齿技术解决了点采样可见性问题,该技术将锐利的不连续性转化为平滑的过渡,从而实现梯度计算。通过使用轮廓边缘估计覆盖率来实现分析抗锯齿。该方法的一个限制是,如果包含轮廓边缘的三角形不与任何像素中心重叠,它们将在抗锯齿过程中被忽略。此外,分析抗锯齿本质上是近似的,因此获得的梯度也是近似的。遗憾的是,该方法仍然相当复杂,修改了光栅化图像,并且需要专门的数据结构来计算连接性和详细的像素覆盖率。另一方面,Rhodin等人[40]和Liu等人的“软光栅化器”[24]选择修改渲染模型。Rhodin等人引入了模糊边缘以软化不连续性,而“软光栅化器”进一步模糊边界并平均深度贡献,促进了遮挡原语之间的梯度传播。

In this work, we deliberately bypass physically based rendering, global illumination, and lighting/material models, and instead focus exclusively on raster-ization-based approaches for their speed. We draw inspiration from the core idea of the edge sampling method [21] and analytical antialiasing [20] and distill this into a much simpler yet effective method that also provides accurate gradients. Notably, our method’s simplicity allows direct handling of self-penetrating geometry, an aspect not addressed in previous research. Other methods to handle self-penetrating geometry would require complex and computationally intensive geometry preprocessing at each optimization step, involving intersection detection and differentiable splitting of the faces. In contrast, our approach explicitly manages interpenetrating geometry with virtually no additional overhead.

在这项工作中,我们有意绕过基于物理的渲染、全局光照和光照/材质模型,而是专门关注基于光栅化的方法,因为它们的速度更快。我们从边缘采样方法 [21] 和解析抗锯齿 [20] 的核心思想中汲取灵感,并将其提炼成一种更简单但有效的方法,该方法还能提供准确的梯度。值得注意的是,我们方法的简单性允许直接处理自穿透几何体,这是先前研究中未涉及的方面。其他处理自穿透几何体的方法需要在每次优化步骤中进行复杂且计算密集的几何预处理,包括交点检测和可微分的面分割。相比之下,我们的方法明确管理穿透几何体,几乎没有额外的开销。

3 Preliminaries

3 预备知识

Following Li et al. [21,given a 2D pixel filter k k k and radiance R R R ,a pixel’s color can be written:

根据 Li 等人 [21] 的描述,给定一个 2D 像素滤波器 k k k 和辐射度 R R R,像素的颜色可以表示为:

For notational convenience,as in [21],we denote f ( x , y ) = k ( x , y ) R ( x , y ) f\left( {x,y}\right) = k\left( {x,y}\right) R\left( {x,y}\right) f(x,y)=k(x,y)R(x,y) . For simplicity, let us first consider the case of a single pixel. We are interested in the gradient of ∂ L ( I ) ∂ Φ \frac{\partial L\left( I\right) }{\partial \Phi } ∂Φ∂L(I)​ ,where the scalar function L ( I ) L\left( I\right) L(I) of the rendered pixel I I I defines our loss,and Φ \Phi Φ are the scene parameters that we aim to optimize. According to the chain rule:

为了符号上的方便,如 [21] 中所述,我们表示 f ( x , y ) = k ( x , y ) R ( x , y ) f\left( {x,y}\right) = k\left( {x,y}\right) R\left( {x,y}\right) f(x,y)=k(x,y)R(x,y)。为了简单起见,让我们首先考虑单个像素的情况。我们对 ∂ L ( I ) ∂ Φ \frac{\partial L\left( I\right) }{\partial \Phi } ∂Φ∂L(I)​ 的梯度感兴趣,其中渲染像素 I I I 的标量函数 L ( I ) L\left( I\right) L(I) 定义了我们的损失,而 Φ \Phi Φ 是我们旨在优化的场景参数。根据链式法则:

where ∂ L ∂ I \frac{\partial L}{\partial I} ∂I∂L​ is the incoming gradient from the loss function and is typically computed by automatic differentiation (AD). So, our goal becomes to find how the pixel value changes with respect to the scene parameters:

其中 ∂ L ∂ I \frac{\partial L}{\partial I} ∂I∂L​ 是来自损失函数的传入梯度,通常通过自动微分 (AD) 计算。因此,我们的目标变成了找到像素值相对于场景参数的变化:

While the function f f f may not in fact be differentiable,its integral remains continuous and thus differentiable. Let us assume that f f f is partitioned into two continuous half-spaces, each represented by two continuous and differentiable functions f a {f}_{a} fa​ and f b {f}_{b} fb​ ,respectively,as follows:

尽管函数 f f f 可能实际上不可微分,但其积分仍然是连续的,因此是可微分的。让我们假设 f f f 被划分为两个连续的半空间,每个半空间分别由两个连续且可微分的函数 f a {f}_{a} fa​ 和 f b {f}_{b} fb​ 表示,如下所示:

where α \alpha α specifies the dividing edge,and θ \theta θ is the Heaviside step function,which selects between f a {f}_{a} fa​ and f b {f}_{b} fb​ . The differentiation of the integral can be broken into two parts by applying the product rule. Let us start with the integrand f a {f}_{a} fa​ :

其中 α \alpha α 指定分割边缘,而 θ \theta θ 是 Heaviside 阶跃函数,它在 f a {f}_{a} fa​ 和 f b {f}_{b} fb​ 之间进行选择。通过对积分应用乘积法则,可以将积分的微分分解为两部分。让我们从被积函数 f a {f}_{a} fa​ 开始:

—— 更多内容请到Doc2X翻译查看——
—— For more content, please visit Doc2X for translations ——

<数据集>咖啡叶片病害识别<目标检测> YOLO与VOC格式的咖啡叶片病害识别数据集,适用于YOLO系列、Faster Rcnn、SSD等模型训练,类别:Cercospora、Miner、Phoma、Rust,图片数量1744。文件中包含图片、txt标签、指定类别信息的yaml文件、xml标签,已将图片和txt标签划分为训练集、验证集和测试集,可直接用于YOLOv5、YOLOv6、YOLOv7、YOLOv8、YOLOv9、YOLOv10、YOLOv11、YOLOv12、YOLOv13、YOLOv26等YOLO系列算法的训练。 阅读详情

相关推荐

【大模型】一图看懂3D因果卷积!

本文将系统性地介绍从1D到3D的因果卷积原理,通过直观的动图演示帮助读者理解其工作机制,并重点探讨3D因果卷积在大规模视频生成中的独特价值和应用前景。

xian0710830114的专栏 2199

[cv]edge detection: gradients

usually, filter is used to find a specific pattern in the pictures. If we want to find lines and edges in the picture, firstly we think about gradients. 画图的时候,光画出线条就可以表达很多信息。 不要轻视线条,其中包含了太多的信息。edge

matrixdodo 923

远程桌面连接失败?手把手教你解决CredSSP加密Oracle漏洞(Win10/Win11通用)

本文详细解析了Windows远程桌面连接因CredSSP加密Oracle漏洞安全更新导致的“身份验证错误”问题。文章从原理入手,提供了通过组策略编辑器(适用于专业版)和注册表编辑器(适用于家庭版)两种核心解决方案,指导用户将安全策略调整为推荐的“缓解”模式,以在保障安全的前提下恢复连接,并给出了高级脚本处理与安全最佳实践。

u6v7w8x的博客 727

Georgia Tech计算视觉学习笔记:Edge detection: Gradients

LESSON 7 2A-L5 Edge detection: Gradients 0.Intro 上一节我们讲述了模板匹配,我们有了固定大小的 1.Reduced Images 可以看到,尽管这些图片仅仅只是绘制了边缘,但是我们依然知道图片绘制了什么。 我们可以猜测,在图片的边缘中依然有很多信息值得我们分析 但是在分析边缘信息之前,我们先要学会怎么提取边缘信息 我们一般将这种操作称作边缘检测...

先说一下,就简单地写点儿氵文,不是博客,只是我的笔记本/工具书 752

全志DRM框架下LVDS双屏异显配置实战

本文详细介绍了在全志DRM框架下配置LVDS双屏异显的实战经验。涵盖硬件连接、内核配置、设备树修改、背光控制及U-Boot适配等关键步骤,重点解析屏参转换技巧与双屏route配置,帮助开发者解决工业控制台等多屏应用中的显示适配问题,提升开发效率。

rnn9storyteller的博客 814

【经验分享】使用Keil5烧录代码遇到的问题及解决方法

本文介绍了在使用Keil5烧录代码过程中可能遇到的常见问题,主要为编译错误和下载失败,并提供了解决方案和注意事项。通过本文中提供的具体解决方案和注意事项,希望能够帮助读者更加顺利地进行Keil5烧录代码操作,提高开发效率和成果实现。

qq_63195670的博客 1万+

无人机航拍垃圾检测数据集深度学习 目标检测 无人机航拍 垃圾检测 环境卫生 YOLO格式 数据集发布9029期

无人机航拍垃圾检测数据集深度学习 目标检测 无人机航拍 垃圾检测 环境卫生 YOLO格式 数据集发布9029期

qq_2529413168的博客 202

如何利用Arcgis进行地统计学分析(三):空间插值方法选择与优化

本文深入探讨了在Arcgis中进行地统计学分析时,如何根据探索性数据分析(EDA)结果科学选择与优化空间插值方法。文章对比了IDW、RBF、克里金等主流方法的适用场景与核心参数,并通过实战案例详解了从数据诊断到模型调优的完整流程,强调结合半变异函数与趋势分析进行“对症下药”,以提升插值结果的精度与可靠性。

weixin_29281915的博客 120

YOLO算法室内环境玻璃瓶目标检测数据8979张:类别与标注速览

该数据集聚焦于室内环境中各类玻璃瓶的识别与定位,涵盖多种材质、颜色和形状的玻璃容器,适用于家庭、仓储、零售等场景下的物品管理与自动化识别需求。该数据集包含训练集7812张、验证集818张、测试集349张,共计8979张图像,分布结构合理,能够有效支持模型训练、调优与性能评估。落地场景大致有智能仓储管理系统、自动分拣设备、零售商品识别系统以及家庭安防监控等领域,尤其适用于需要对玻璃制品进行分类与追踪的工业与消费场景,具备良好的落地潜力与实用前景。数据量、场景复杂度、标注质量三样都过关,这份数据可以直接开训;

小秋的博客 225

AI + 药物临床试验研发赛道

研究日期:2026-07-09 | 研究主题:AI + 药物临床试验研发赛道 | 聚焦岗位:Agent 平台架构师 / AI 工程架构师。

AI天才研究院 146

微信小程序 - 最新详细实现用户保存下载视频到手机相册,将视频临时路径、在线播放地址(网络路径)URL存储到手机,弹出访问手机相册权限询问,支持视频格式mp4、avi、mov、wmv、flv、webm

微信小程序,视频,手机相册,保存,另存为,小程序保存到相册权限,writePhotosAlbum,一键保存视频到手机相册功能(视频来源为链接),第一次要获取用户授权,授权使用相册权限,小程序视频下载,如何把视频下载到相册,下载一个视频到本地相册,显示下载进度,可取消下载,视频下载到本地,微信小程序视频如何下载,保存视频到相机,页面播放视频并下载到本地,安卓系统,苹果ios保存到相册报错,权限拒绝后打不开,添加相册授权弹框拒绝后再也出不来了,实现保存视频到手机相册功能,将mp4在线视频下载并存储到用户的手机中

🏆 前端领域优质创作者 7626

高效目标检测利器:X-AnyLabeling 加载自定义 YOLO 模型自动标注实操指南

要让模型输出正确的标签,必须告诉软件你的类别是什么。这是自动标注不报错、标签不乱的核心步骤!在 X-AnyLabeling 安装目录下,找到文件夹。找到一个与你模型架构匹配的 YAML 模板(比如或复制一份并重命名(例如),用记事本打开修改关键信息:type: yolov8 # 根据你的模型填 yolov5 或 yolov8display_name: yolov8n # 你的检测模型。

Smoothly_Lu的AI博客空间 352

基于SC、SCL、BP、SCAN和SSC的译码算法及Matlab代码

本文将介绍几种常见的译码算法,包括SC(Successive Cancellation)、SCL(Successive Cancellation List)、BP(Belief Propagation)、SCAN(Soft-Input Soft-Output Successive Cancellation)、SSC(Stacked Successive Cancellation)的原理,并提供相应的Matlab代码实现。以上是基于SC、SCL、BP、SCAN和SSC的译码算法的Matlab代码示例。

ByteWhisper的博客 946

OpenCV 车辆数量统计

涉及到的知识点:1)基本图像运算与处理2)形态学3)轮廓查找4)加载视频5)通过形态学识别车辆6)对车辆进行统计7)显示车辆统计信息。

ahccqw的博客 68

迈瑞BS系列全自动生化分析仪LIS协议接口手册(内含HL7和ASTM)

迈瑞BS系列全自动生化分析仪LIS协议接口手册,内含HL7和ASTM)

ssm框架搭建

这个是一个在idea上成功跑起来的ssm框架项目,保存在这里方便以后使用直接下载

基于深度学习的猫图像目标检测方法研究:YOLOv8s模型海选、多种子对比训练与Django+ONNX部署实现详解

本课题基于深度学习研究猫图像目标检测问题。数据集含1000张猫图像、1188个标注框,按固定比例划分并冻结清单;训练前在多个候选族中短训海选,确定YOLOv8s为主模型,经学习率搜索与显存标定后完成150轮训练,验证集mAP50达到0.92,并以7个随机种子的对比实验验证稳定性。最优权重导出为ONNX接入Django系统,提供图片、视频、摄像头三种识别方式,配套识别记录管理与统计大屏,形成从训练到应用的完整闭环。

WEIXIN_JSJBSZDS的博客 188

pscad IEEE标准系统搭建说明

pscad IEEE标准系统搭建说明,包含典型的IEEE 9节点、14节点、30节点、39节点和118节点系统。内含标准测试系统的原始数据和潮流结果。

计算机视觉主要任务分类:分类、检测、分割、生成全解

计算机视觉是一个高度多样化且仍在快速扩展的领域。本文的目标是为读者提供一份关于计算机视觉四大核心任务的全面指南。我们将从定义、数学描述、评估指标、经典算法和代表应用五个维度,对每个任务进行深入剖析。全文依次讲解图像分类:计算机视觉的基石、目标检测:定位与识别、图像分割:像素级理解、图像生成:从无到有的创造、四大任务的对比与内在联系等内容。

2602_96795563的博客 376

无人机影像落叶松林健康评估检测数据集 | 落叶松健康评估 林业病害监测 无人机航拍 密集目标检测9320期

本数据集聚焦于无人机航拍视角下的落叶松林健康状态评估与受损程度检测。 主要服务于林业病害监测、森林资源评估、火灾及风灾后的灾情定损。

qq_2529413168的博客 250

无人机巡检道路路面异常检测数据集 深度学习 目标检测 无人机巡检 道路病害 路面异常 YOLO格式 数据集发布9028期

无人机巡检道路路面异常检测数据集 深度学习 目标检测 无人机巡检 道路病害 路面异常 YOLO格式 数据集发布9028期

qq_2529413168的博客 187

OpenCV 形态学处理相关知识点

整张图用一个固定阈值划分像素:大于阈值的设为一个值,小于阈值的设为另一个值。适合光照均匀、前景和背景差异明显的图像。

ahccqw的博客 272

智慧安防实战:电动车入梯AI识别与电梯安全联动实现

电动车入梯治理,真正考验的不是单一算法的识别能力,而是从视觉识别到业务联动的整体工程能力。从前端视频采集,到边缘端实时分析,再到语音劝阻、梯控联动和事件留痕,每个环节都需要相互配合。对于智慧安防项目而言,算法识别解决的是风险发现问题,业务联动解决的是风险干预问题。只有把两者真正连接起来,才能让原有监控设备从被动录像走向主动风险管理。

荆棘鸟智能的博客 254

OpenCV 图像轮廓

轮廓查找 绘制轮廓 计算面积 计算周长 approxPolyDP (多边形拟合) 作用: 用较少且平滑的直线段来近似表示一个复杂的轮廓。常用于提取物体的几何形状(如把圆角矩形简化为矩形,把五角星简化为五边形),是形状识别中非常常用的函数。参数含义: 作用: 找到能够将一个轮廓(或一堆点)完全包围住的最小凸多边形。就像是用一根橡皮筋把所有钉子(轮廓上的点)紧紧包住,橡皮筋的形状就是“凸包”。常用于检测物体的凸缺陷。参数含义: 大外接矩形 (Bounding Rectangle) 作

ahccqw的博客 218

tonemap算法初探

4.三边滤波(trilateral filter)通过进一步考虑梯度变化来改进边缘处行为,后续的加权最小二乘滤波、局部拉普拉斯滤波等边缘感知滤波器(EPF)沿同一思想发展,构成了局部色调映射中一条清晰的技术脉络。3.tonemap色调映射算法是未来解决HDR的图像在SDR设备上显示的问题来设计一种变换函数,其目标不是。2.HDR图像不经过任何处理,直接显示在SDR的设备上,超出显示上限的亮度被截断为纯白,低于下限。并且在压缩全局动态范围的同时,如何尽可能保留局部对比度和细节,并且抑制此过程中产生的伪影。

dong6016的博客 360

INP-Former阅读笔记

Inp-Former通过从有缺陷图像中自适应提取“正常参照”(INP),利用自身正常区域构建原型,减少外部样本不一致带来的干扰。其核心流程:预训练编码器提取多尺度特征;可学习token与融合特征输入INP提取器,生成清晰的正常原型并优化一致性;解码器基于该原型重建特征,通过对比编码与重建特征生成异常距离图。最终输出上采样后的异常热力图,实现精准异常定位。

学习者的博客 199

基于深度学习的猫狗目标检测(Python+YOLO26m+Django)实现详解

详解基于深度学习的猫狗目标检测系统:YOLO26m迁移学习训练、数据划分与错标检测、ONNX导出、Energy阈值拒识、Django+Vue网站部署,附后端核心代码。

WEIXIN_JSJBSZDS的博客 342

航拍水葫芦检测数据集深度学习 目标检测 无人机航拍 水葫芦 水域监测 YOLO格式 数据集发布9031期

航拍水葫芦检测数据集深度学习 目标检测 无人机航拍 水葫芦 水域监测 YOLO格式 数据集发布9031期

qq_2529413168的博客 258

基于 YOLOv8 的轴承缺陷检测(Web 版)

本项目是轴承表面缺陷检测模型的 Web 端实现。围绕 YOLOv8 在轴承表面缺陷数据集上完成四类缺陷的检测模型训练后,使用 FastAPI 把模型能力封装为可直接登录使用的 Web 检测平台。平台覆盖从数据准备、模型训练、指标评估,到推理服务、历史沉淀、统计分析的完整链路。除了常规的图片、批量、视频、摄像头检测,还把模型训练搬到了网页上:可以在浏览器里配置超参数发起真实训练,训练中在线调整学习率、查看实时曲线与日志,训练完成后把权重一键应用到检测服务,形成「训练 → 评估 → 检测」的闭环。

Michael_Jay的博客 267
上一篇: Minimalist Vision with Freeform Pixels 翻译
下一篇: Concept Arithmetics for Circumventing Concept Inhibition in Diffusion Models 翻译
Doc2X
博客等级 码龄2年 341粉丝 30原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值