<s> '''<STR_LIT>''' <EOL> print __doc__ <EOL> from SimpleCV import * <EOL> disp = Display ( ( <NUM_LIT> , <NUM_LIT> ) ) <EOL> cam = Camera ( ) <EOL> count = <NUM_LIT:0> <EOL> pal = None <EOL> while disp . isNotDone ( ) : <EOL> img = cam . getImage ( ) <EOL> if count % <NUM_LIT:10> == <NUM_LIT:0> : <EOL> temp = img . scale ( <NUM_LIT> ) <EOL> p = temp . getPalette ( ) <EOL> pal = temp . drawPaletteColors ( size = ( <NUM_LIT> , <NUM_LIT> ) ) <EOL> result = img . rePalette ( p ) <EOL> result = result . sideBySide ( pal , side = '<STR_LIT>' ) <EOL> result . save ( disp ) <EOL> count = count + <NUM_LIT:1> </s>
