Module Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body With Call NameLoad Str Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num decorator_list decorator_list
N/A N/A unittest N/A io N/A imghdr willow.image JPEGImageFile willow.plugins.pillow PillowImage willow.plugins.opencv OpenCVColorImage OpenCVGrayscaleImage TestOpenCVOperations N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A open tests/images/people.jpg rb f N/A N/A pillow_image N/A N/A PillowImage open N/A JPEGImageFile f N/A buffer_rgb N/A N/A pillow_image to_buffer_rgb N/A colour_image N/A N/A OpenCVColorImage from_buffer_rgb buffer_rgb N/A N/A self image N/A N/A OpenCVGrayscaleImage from_color colour_image N/A test_get_size N/A N/A self N/A N/A N/A N/A width height N/A N/A N/A self image get_size N/A N/A N/A self assertEqual width 600 N/A N/A N/A self assertEqual height 400 N/A test_has_alpha N/A N/A self N/A N/A N/A has_alpha N/A N/A N/A self image has_alpha N/A N/A N/A self assertFalse has_alpha N/A test_has_animation N/A N/A self N/A N/A N/A has_animation N/A N/A N/A self image has_animation N/A N/A N/A self assertFalse has_animation N/A test_detect_features N/A N/A self N/A N/A N/A features N/A N/A N/A self image detect_features N/A N/A N/A self assertEqual N/A len features 20 N/A test_detect_faces N/A N/A self N/A N/A N/A faces N/A N/A N/A self image detect_faces N/A N/A N/A self assertEqual N/A len faces 2 N/A N/A