Module Import alias identifier Import alias Import alias If CompareEq AttributeLoad AttributeLoad NameLoad attr attr Num body ImportFrom alias orelse If CompareEq AttributeLoad AttributeLoad NameLoad attr attr Num body ImportFrom alias FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num NameLoad ListLoad Num Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad Num body Assign TupleStore NameStore NameStore SubscriptLoad AttributeLoad NameLoad attr Slice Num If CompareIs NameLoad NameLoad body Assign NameStore TupleLoad BinOpDiv NameLoad Num BinOpDiv NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad TupleLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore NameLoad Assign TupleStore NameStore NameStore SubscriptLoad AttributeLoad NameLoad attr Slice Num If BoolOpAnd CompareIs NameLoad NameLoad CompareIs NameLoad NameLoad body Return NameLoad If CompareIs NameLoad NameLoad body Assign NameStore BinOpDiv NameLoad Call NameLoad NameLoad Assign NameStore TupleLoad Call NameLoad BinOpMult NameLoad NameLoad NameLoad orelse Assign NameStore BinOpDiv NameLoad Call NameLoad NameLoad Assign NameStore TupleLoad NameLoad Call NameLoad BinOpMult NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults AttributeLoad NameLoad attr body Assign NameStore BinOpMult SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr If CompareEq NameLoad BinOpSub NameLoad Call AttributeLoad NameLoad attr NameLoad body Break Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Call NameLoad Num BinOpMult BinOpSub Num NameLoad NameLoad Assign NameStore Call NameLoad Call NameLoad Num BinOpMult BinOpAdd Num NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Return Call NameLoad Str decorator_list FunctionDef arguments args defaults body Return Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If CompareIs NameLoad NameLoad body Import alias identifier Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list
N/A N/A numpy np N/A cv2 N/A sys N/A N/A N/A N/A sys version_info major 2 N/A urllib urlopen N/A N/A N/A N/A N/A sys version_info major 3 N/A urllib.request urlopen translate N/A N/A image x y N/A N/A N/A M N/A N/A np float32 N/A N/A 1 0 x N/A 0 1 y N/A shifted N/A N/A cv2 warpAffine image M N/A N/A N/A image shape N/A 1 N/A N/A image shape N/A 0 N/A shifted N/A rotate N/A N/A image angle center scale N/A None 1.0 N/A N/A N/A h w N/A N/A image shape N/A 2 N/A N/A center None N/A N/A center N/A N/A w 2 N/A h 2 N/A M N/A N/A cv2 getRotationMatrix2D center angle scale N/A rotated N/A N/A cv2 warpAffine image M N/A w h N/A rotated N/A resize N/A N/A image width height inter N/A None None N/A cv2 INTER_AREA N/A N/A dim None N/A N/A h w N/A N/A image shape N/A 2 N/A N/A N/A width None N/A height None N/A N/A image N/A N/A width None N/A N/A r N/A height N/A float h N/A dim N/A N/A int N/A w r height N/A N/A r N/A width N/A float w N/A dim N/A width N/A int N/A h r N/A resized N/A N/A cv2 resize image dim interpolation inter N/A resized N/A skeletonize N/A N/A image size structuring N/A N/A cv2 MORPH_RECT N/A N/A area N/A N/A N/A image shape N/A 0 N/A N/A image shape N/A 1 N/A skeleton N/A N/A np zeros N/A image shape dtype uint8 N/A elem N/A N/A cv2 getStructuringElement structuring size N/A True N/A N/A eroded N/A N/A cv2 erode image elem N/A temp N/A N/A cv2 dilate eroded elem N/A temp N/A N/A cv2 subtract image temp N/A skeleton N/A N/A cv2 bitwise_or skeleton temp N/A image N/A N/A eroded copy N/A N/A area N/A area N/A N/A cv2 countNonZero image N/A N/A N/A skeleton N/A opencv2matplotlib N/A N/A image N/A N/A N/A N/A N/A cv2 cvtColor image N/A cv2 COLOR_BGR2RGB N/A url_to_image N/A N/A url readFlag N/A N/A cv2 IMREAD_COLOR N/A N/A resp N/A urlopen url N/A image N/A N/A np asarray N/A bytearray N/A N/A resp read dtype uint8 N/A image N/A N/A cv2 imdecode image readFlag N/A image N/A auto_canny N/A N/A image sigma N/A 0.33 N/A N/A v N/A N/A np median image N/A lower N/A int N/A max 0 N/A N/A 1.0 sigma v N/A upper N/A int N/A min 255 N/A N/A 1.0 sigma v N/A edged N/A N/A cv2 Canny image lower upper N/A edged N/A is_cv2 N/A N/A N/A N/A N/A N/A check_opencv_version 2. N/A is_cv3 N/A N/A N/A N/A N/A N/A check_opencv_version 3. N/A check_opencv_version N/A N/A major lib N/A None N/A N/A N/A lib None N/A N/A cv2 lib N/A N/A N/A N/A lib __version__ startswith major N/A