Go to documentation repository
Page History
Po stworzeniu narzędzia detekcji Przecięcia Linii, powinna być widoczna linia w oknie podglądu kamery.
Aby skonfigurować narzędzie detekcji Przecięcia Linii:
- Wyznacz wirtualną linię w polu widzenia.
Wybierz punkty końcowe linii za pomocą
After you create and select a line crossing detection tool, you can see a virtual "tripwire" line in the FoV.
To set up line crossing detection, do the following:
- Set up a virtual line in FoV.
Set the end points of the line .
Info title Note When the line is being constructed, the end points are connected by a two-color dotted line. The direction of the object's motion across the line is indicated by dotted arrows.
Action
Result
Position the cursor on an end point and, holding down the left mouse button, move the mouse
Moves the line end point
Position the cursor on the line, holding down the left mouse button, move the mouse
Moving the line
Gdy linia jest konfigurowana, punkty końcowe są połączone ze soboą dwukolorową linią przerywaną. Kierunek ruchu obiektów, który ma wyzwalać detekcję zdarzenia przecięcia linii, jest określony strzałkami.
Akcja
Wynik
Ustaw kursor na końcu linii, a następnie przytrzymując lewy przycisk myszy, przesuń kursor
Przesunięcie punktu końcowego linii
Ustaw kursor na linii, a następnie przytrzymując lewy przycisk myszy, przesuń kursor
Przesunięcie całej linii
Domyślnie, narzędzie Przecięcia Linii wykrywa obiekty przekraczające linię w obu kierunkach. Aby ograniczyć detekcję do jednego kierunku, naciśnij przy strzałceBy default, Line Crossing detection monitors object motion across the line in both directions. To suspend detection of motion in one direction, click the button to that direction.
Note title Attention! At least one direction must be selected for detectionPrzynajmniej jeden kierunek detekcji musi być aktywny.
Info title Note An unmonitored direction of object motion is indicated by a dimmed arrow
- If an object in FoV performs repetitive movements near the virtual line, it may cause excessive triggering of the detection tool. In this case, set an area within the object's track which must cross the line completely to trigger the tool. To do it, set the X and Y offset values as percentage of track width and height.
Here's an example: the green triangle is the track of the object. If you specify X and Y offset values as 25%, the tool will be triggered only if the entire red triangle goes beyond the virtual line. Jeśli w danym kierunku detekcja nie odbywa się, strzałka jest przyciemniona.
- Jeśli obiekt w polu widzenia kamery wykonuje wiele manewrów w pobliżu wirtualnej linii, może to spowodować wielokrotne wyzwolenie narzędzia detekcji. W takim przypadku, wyznacz obszar na trasie obiektu, który obiekt będzie musiał całkowicie opuścić, by wyzwolić narzędzie. Wyznacz wartości X oraz Y odpowiednio jako procent szerokości oraz wysokości ścieżki.
Przykład: zielony kwadrat jest ścieżką obiektu. Jeśli wyznaczysz X oraz Y jako 25%, narzędzie zostanie wyzwolone dopiero wtedy, gdy cały obiekt znajdzie się poza wirtualną linią. - Naciśnij ZastosujClick the Apply button.