Need help with an error.
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
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 [email protected] 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 https://github.com/gnebehay/CMT/issues/26, or mute the thread https://github.com/notifications/unsubscribe-auth/AGFFC5oMpeksWxYdVheBRaumG4s8eXMVks5tzmjhgaJpZM4UEMOe .