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 am constantly getting the error below. Can someone help? I have modified the code to run for multiple objects by initializing it with a new region to start with. Please help. It stops throwing this error at times.
Thanks.
File "run2.py", line 136, in
CMT.process_frame(im_gray)
File "/home/shuchita/Documents/Internship/CMT-master/CMT.py", line 245, in process_frame
selected_matches_all = self.matcher.knnMatch(features, self.selected_features, len(self.selected_features))
TypeError: object of type 'NoneType' has no len()
The text was updated successfully, but these errors were encountered:
Start by determining why 'self' isn't the object you are expecting - in
fact, it appears not to be an object at all. You may have the reference to
self.selected_features wrong - or the scoping of the variable wrong. Just
my thoughts.
On Fri, 18 May 2018 at 16:23 shuchitagupta ***@***.***> wrote:
I am constantly getting the error below. Can someone help? I have modified
the code to run for multiple objects by initializing it with a new region
to start with. Please help. It stops throwing this error at times.
Thanks.
File "run2.py", line 136, in
CMT.process_frame(im_gray)
File "/home/shuchita/Documents/Internship/CMT-master/CMT.py", line 245, in
process_frame
selected_matches_all = self.matcher.knnMatch(features,
self.selected_features, len(self.selected_features))
TypeError: object of type 'NoneType' has no len()
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#26>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGFFC5oMpeksWxYdVheBRaumG4s8eXMVks5tzmjhgaJpZM4UEMOe>
.
I am constantly getting the error below. Can someone help? I have modified the code to run for multiple objects by initializing it with a new region to start with. Please help. It stops throwing this error at times.
Thanks.
File "run2.py", line 136, in
CMT.process_frame(im_gray)
File "/home/shuchita/Documents/Internship/CMT-master/CMT.py", line 245, in process_frame
selected_matches_all = self.matcher.knnMatch(features, self.selected_features, len(self.selected_features))
TypeError: object of type 'NoneType' has no len()
The text was updated successfully, but these errors were encountered: