You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get the following error:
"AttributeError: module 'cv2' has no attribute 'cv2' "
at this line:
---> 44 self.__frame_count = int(self.__cap.get(cv2.cv2.CAP_PROP_FRAME_COUNT))
I assume it is due to an update of the cv2 package that causes it. Can it be fixed?
I get the following error: "AttributeError: module 'cv2' has no attribute 'cv2' " at this line: ---> 44 self.__frame_count = int(self.__cap.get(cv2.cv2.CAP_PROP_FRAME_COUNT)) I assume it is due to an update of the cv2 package that causes it. Can it be fixed?
I have the same issue. Have you figured out how to solve it?
Yes, it is a syntax error if I remember correctly. I think the proper merhod in cv2 is cv2.CAP.... not cv2.cv2.CAP...
Sent from Outlook for Android<https://aka.ms/AAb9ysg>
________________________________
From: msabers ***@***.***>
Sent: Tuesday, September 26, 2023 8:13:28 PM
To: PySport/matplotvideo ***@***.***>
Cc: Andreas Chrysanthou ***@***.***>; Author ***@***.***>
Subject: Re: [PySport/matplotvideo] cv2 version incompatibility (Issue #8)
I get the following error: "AttributeError: module 'cv2' has no attribute 'cv2' " at this line: ---> 44 self.__frame_count = int(self.__cap.get(cv2.cv2.CAP_PROP_FRAME_COUNT)) I assume it is due to an update of the cv2 package that causes it. Can it be fixed?
I have the same issue. Have you figured out how to solve it?
—
Reply to this email directly, view it on GitHub<#8 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AVXK6U4HCE3JLTY3HANZWFDX4MELRANCNFSM6AAAAAAUPTECC4>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
Yes, it is a syntax error if I remember correctly. I think the proper merhod in cv2 is cv2.CAP.... not cv2.cv2.CAP... Sent from Outlook for Androidhttps://aka.ms/AAb9ysg …
________________________________ From: msabers @.> Sent: Tuesday, September 26, 2023 8:13:28 PM To: PySport/matplotvideo @.> Cc: Andreas Chrysanthou @.>; Author @.> Subject: Re: [PySport/matplotvideo] cv2 version incompatibility (Issue #8) I get the following error: "AttributeError: module 'cv2' has no attribute 'cv2' " at this line: ---> 44 self.__frame_count = int(self.__cap.get(cv2.cv2.CAP_PROP_FRAME_COUNT)) I assume it is due to an update of the cv2 package that causes it. Can it be fixed? I have the same issue. Have you figured out how to solve it? — Reply to this email directly, view it on GitHub<#8 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVXK6U4HCE3JLTY3HANZWFDX4MELRANCNFSM6AAAAAAUPTECC4. You are receiving this because you authored the thread.Message ID: @.***>
Activity
msabers commentedon Sep 26, 2023
I have the same issue. Have you figured out how to solve it?
achrys01 commentedon Sep 26, 2023
msabers commentedon Sep 26, 2023
That is right, now it works.
Thanks