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
Sir i have run a code on window 8.1 OS .so in this drawDefects function those error occur please help me sir.
def drawDefects(self, bubbles = False):
defectPoints = []
minDistance = 1000
if self.defects != None: # in this line give a error
for i in self.defects:
if i[0][3] > minDistance:
defectPoints.append(self.handContour[i[0][2]])
defectPoints = np.array(defectPoints, dtype=np.int32)
if bubbles:
self.drawBubbles(defectPoints, (0, 0, 255), width=10)
The text was updated successfully, but these errors were encountered:
Sir i have run a code on window 8.1 OS .so in this drawDefects function those error occur please help me sir.
def drawDefects(self, bubbles = False):
defectPoints = []
minDistance = 1000
if self.defects != None: # in this line give a error
for i in self.defects:
if i[0][3] > minDistance:
defectPoints.append(self.handContour[i[0][2]])
defectPoints = np.array(defectPoints, dtype=np.int32)
if bubbles:
self.drawBubbles(defectPoints, (0, 0, 255), width=10)
The text was updated successfully, but these errors were encountered: