Skip to content

speed estimate coordinate #1238

Answered by SkalskiP
Yeodohoon asked this question in Q&A
May 28, 2024 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

Hi @Yeodohoon 👋🏻 In a case like the one described in the tutorial, where not all points lie on the image, I usually determine the zone geometry by trial and error.

I start by drawing a simple polygon in Colab, such as a 100x100 square. A good idea is to print the image using matplotlib. This displays a scale from which we can estimate the coordinates of the vertices of our polygon.

Looking at the vertical axis, I conclude that I want to cut off the road around y = 750. From the x-axis, I roughly estimate where points A and B should be. The remaining two points will be on the bottom edge of the image. I know the image has a resolution of (2160, 3840), so for now, I set points C and D at …

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@SkalskiP
Comment options

Answer selected by Yeodohoon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants