Make sv.LineZone.trigger
return bool np.ndarray
informing which detections have crossed the line this frame
#464
Labels
api: linezone
LineZone API
enhancement
New feature or request
good first issue
Good for newcomers
hacktoberfest
Open for contributions during the annual Hacktoberfest event, aimed at encouraging open-source parti
Description
Currently,
sv.LineZone.trigger
updatesin_count
andout_count
values but does not return information on which object crossed the line. Unlikesv.PolygonZone.trigger
, which returns such information.Information about who has crossed the line is needed to update
in_count
andout_count
and is already calculated in thetrigger
method but does not surface. Let's change that.The text was updated successfully, but these errors were encountered: