Garbage Command in Python π
1 2 3 4 5 6 7 |
#parameters bellow may be None #leftSquare - a list of left hand coordinates used to crop the image: [left,top,height,width] #leftSquare - a list of right hand coordinates used to crop the image: [left,top,height,width] #img - a loaded image def garbageCommand(img, leftSquare,rightSquare): global exitVar exitVar=True |