Facing issue with How to apply Transform Perspective blog https://blog.roboflow.com/estimate-speed-computer-vision/ on my video #1036
Unanswered
hammad2008
asked this question in
Q&A
Replies: 2 comments 5 replies
-
@skylargivens @sberan @hansent @tonylampada Can any of you help me solving this problem please. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @hammad2008 👋🏻 Did you updated |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello. I hope you are doing well. I am facing an issue with How to apply Transform Perspective How to Estimate Speed with Computer Vision on my video.
import cv2
file_path = “/content/pexels-zero-:heart:-��-12914057 (2160p).mp4” # change to your own video path
vid = cv2.VideoCapture(file_path)
height = vid.get(cv2.CAP_PROP_FRAME_HEIGHT)
width = vid.get(cv2.CAP_PROP_FRAME_WIDTH)
print(height,width)
The size of input frame of video is 2160.0 3840.0
The Polygon is draw like this which is incorrect . i want to change it please help me in doing that.
image
Beta Was this translation helpful? Give feedback.
All reactions