Replies: 5 comments 4 replies
-
Hi @althonmp 👋🏻 ! Could you tell me where you found this version of the code? I'm asking because some other users faced this issue already, and
|
Beta Was this translation helpful? Give feedback.
-
HI@SkalskiP |
Beta Was this translation helpful? Give feedback.
-
It looks to me that you need to pull the latest version of the code on the |
Beta Was this translation helpful? Give feedback.
-
Let me convert this issue into a discussion and move it to the Q&A section. |
Beta Was this translation helpful? Give feedback.
-
@SkalskiP Thank you for your response. I showed that the area surrounded by the source region of interest measures approximately 10 meters wide and 200 meters long. How do i know to camera angle, altitude, or viewing point ? |
Beta Was this translation helpful? Give feedback.
-
Search before asking
Question
HI ,i used my video to run speed speed_estimation code.
I didnt do anything with code,and my video had a little bit proble.could you help me ?
issue >>
AttributeError: 'NoneType' object has no attribute 'reshape'
my video https://www.youtube.com/watch?v=8Gvz_FjWy4s
my video run result https://youtu.be/0KxiJQKj-vA?si=lVrhGR3edo499JP5
def transform_points(self, points: np.ndarray) -> np.ndarray: reshaped_points = points.reshape(-1, 1, 2).astype(np.float32) transformed_points = cv2.perspectiveTransform(reshaped_points, self.m) return transformed_points.reshape(-1, 2)
Additional
No response
Beta Was this translation helpful? Give feedback.
All reactions