<s> import pyvision as pv <EOL> from pyvision . edge . canny import canny <EOL> '''<STR_LIT>''' <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> im = pv . Image ( pv . __path__ [ <NUM_LIT:0> ] + "<STR_LIT>" ) <EOL> im = pv . AffineScale ( <NUM_LIT:0.5> , ( <NUM_LIT> , <NUM_LIT> ) ) . transformImage ( im ) <EOL> edge_im1 = canny ( im ) <EOL> edge_im2 = canny ( im , threshold1 = <NUM_LIT:100> , threshold2 = <NUM_LIT> ) <EOL> ilog = pv . ImageLog ( "<STR_LIT>" ) <EOL> ilog . log ( im , label = "<STR_LIT>" ) <EOL> ilog . log ( edge_im1 , label = "<STR_LIT>" ) <EOL> ilog . log ( edge_im2 , label = "<STR_LIT>" ) <EOL> ilog . show ( ) </s>
