Standardize default region points (#17715)
This commit is contained in:
parent
3e48829cd6
commit
1b74f142a1
3 changed files with 3 additions and 3 deletions
|
|
@ -135,7 +135,7 @@ class BaseSolution:
|
|||
def initialize_region(self):
|
||||
"""Initialize the counting region and line segment based on configuration settings."""
|
||||
if self.region is None:
|
||||
self.region = [(20, 400), (1080, 404), (1080, 360), (20, 360)]
|
||||
self.region = [(20, 400), (1080, 400), (1080, 360), (20, 360)]
|
||||
self.r_s = (
|
||||
self.Polygon(self.region) if len(self.region) >= 3 else self.LineString(self.region)
|
||||
) # region or line
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue