VasuAgrawal / GestureDetection

15-112 Term Project
92 stars 40 forks source link

One question about "self.hullPoints = [self.handContour[i[0]] for i in self.hullHandContour]" #5

Open hahasofia opened 7 years ago

hahasofia commented 7 years ago

Hi, I'm reading your code and have a question about this line code "self.hullPoints = [self.handContour[i[0]] for i in self.hullHandContour]". I think self.hullHandContour is just like vector < int >, so is "[i[0]]" correct? I think it should be "[i]". Am I right? Thank you!