Results 3 comments of Suraj

Replace the line " self.defects != None: " with " if len(self.defects)!=0:" and the code should run perfectly.

Yes @rajat-bhagat , I too encountered the same error ! @chuanqi305 Could you please check for a resolution ?

You can extend this by using all publically available hand pose estimation dataset like Hands17, GANerated Hands, SynthHands etc. However, you have to modify the 9 landmarks to 21 since...