您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

区域和线条位置指南Zone and Line Placement Guide

本文介绍了如何为空间分析操作定义区域和线路,以便在空间中准确分析人们的变动。This article provides guidelines for how to define zones and lines for spatial analysis operations to achieve accurate analysis of peoples movements in a space. 这适用于所有操作。This applies to all operations.

区域和行使用 JSON SPACEANALYSIS_CONFIG 参数进行定义。Zones and lines are defined using the JSON SPACEANALYSIS_CONFIG parameter. 有关详细信息,请参阅 空间分析操作 一文。See the spatial analysis operations article for more information.

区域绘图指南Guidelines for drawing zones

请记住,每个空间都不同;需要更新位置或大小,具体取决于你的需求。Remember that every space is different; you'll need to update the position or size depending on your needs.

如果要查看照相机视图的特定部分,请创建最大的区域,涵盖感兴趣的特定楼层区,但不包括你不感兴趣的其他区域。If you want to see a specific section of your camera view, create the largest zone that you can, covering the specific floor area that you're interested in but not including other areas that you're not interested in. 这会增加收集的数据的准确性,并防止不想跟踪的区域出现误报。放置多边形的角时要小心,并确保它们不在要跟踪的区域之外。This increases the accuracy of the data collected and prevents false positives from areas you don't want to track. Be careful when placing the corners of your polygon and make sure they're not outside the area you want to track.

合理区域的示例Example of a well-shaped zone

区域应该足够大,以适应每个边缘的三个人,并专注于感兴趣的领域。The zone should be big enough to accommodate three people standing along each edge and focused on the area of interest. 空间分析将识别其垫脚置于区域中的人员,因此,在二维图像上绘制区域时,请将该区域想象成地毯上的地毯。Spatial analysis will identify people whose feet are placed in the zone, so when drawing zones on the 2D image, imagine the zone as a carpet laying on the floor.

合理的区域

不是合理的区域的示例Examples of zones that aren't well-shaped

下面的示例显示了不良的区域。The following examples show poorly shaped zones. 在这些示例中,感兴趣的区域是指在 游戏时间 显示前的空间。In these examples, the area of interest is the space in front of the It's Game Time display.

区域不在地面上。Zone is not on the floor.

形状不良的区域

区域太小。Zone is too small.

区域太小

区域不会完全捕获显示范围。Zone doesn't fully capture the area around the display.

区域未完全捕获围绕端帽的区域

区域太接近相机图像的边缘,并且不会捕获正确的显示。Zone is too close to the edge of the camera image and doesn't capture the right display.

区域太接近相机图像的边缘,无法捕获正确的显示

区域部分被货位阻止,因此人员和地面并不完全可见。Zone is partially blocked by the shelf, so people and floor aren't fully visible.

区域部分被阻止,因此人员不完全可见

合理的行示例Example of a well-shaped line

该行的长度应足以容纳整个进入。The line should be long enough to accommodate the entire entrance. 空间分析将识别其英尺跨越线条的人员,因此,当在二维图像上绘制线条时,假设你要将它们绘制为位于地面上的线条。Spatial analysis will identify people whose feet cross the line, so when drawing lines on the 2D image imagine you're drawing them as if they lie on the floor.

如果可能,请扩展行的宽度,而不是实际的进入。If possible, extend the line wider than the actual entrance. 如果此方法不会导致额外的交叉 (如下面的图像中所示,当线条位于墙上时) ,然后扩展它。If this will not result in extra crossings (as in the image below when the line is against a wall) then extend it.

合理的线条

不是合理的线条的示例Examples of lines that aren't well-shaped

下面的示例显示了定义不佳的行。The following examples show poorly defined lines.

行不会涵盖地面上的整个进入方式。Line doesn't cover the entire entry way on the floor.

线条不覆盖地面上的整个进入方式

行太大,并且没有全部覆盖。Line is too high and doesn't cover the entirety of the door.

线路太高,并且没有全部覆盖门

后续步骤Next steps