Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE REQUEST] Convex and concave polygons #16

Open
LdDl opened this issue Aug 27, 2021 · 1 comment
Open

[FEATURE REQUEST] Convex and concave polygons #16

LdDl opened this issue Aug 27, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request wip

Comments

@LdDl
Copy link
Owner

LdDl commented Aug 27, 2021

Is your feature request related to a problem? Please describe.
Along with virtual line virtual polygon are needed.
They can give us:

  1. Traffic "lane" control
  2. Monitoring area of interests
  3. Estimating how much time object were in certain area (well, it could be analyzed in postprocess via track information also)

Describe the solution you'd like
Implement VirtualPolygon:

  • Constructor
  • Determine if polygon either convex or concave
  • Check if point in polygon (well, for convex and concave polygons algorithms may differ)
  • Check if blob has entered polygon
  • Check if blob has left polygon
  • Scale function

Describe alternatives you've considered
nope

Additional context
We need also:

  • Option to configure polygons
  • Match polygons' Euclidean coordinates to WGS84
  • Write test for math calculations (determine if point is inside of polygon is not easy task for some types of polygon)
@LdDl LdDl added enhancement New feature or request help wanted Extra attention is needed labels Aug 27, 2021
@LdDl LdDl self-assigned this Aug 27, 2021
@LdDl LdDl changed the title [FEATURE REQUEST] [FEATURE REQUEST] Convex and concave polygons Aug 27, 2021
@LdDl LdDl mentioned this issue Aug 27, 2021
@LdDl LdDl removed the help wanted Extra attention is needed label Aug 27, 2021
@LdDl
Copy link
Owner Author

LdDl commented Sep 17, 2021

Convex is done I believe.
Now we are doing some other things before we are back to concave polygons.

@LdDl LdDl added the wip label Sep 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request wip
Projects
None yet
Development

No branches or pull requests

1 participant