Module Import alias alias identifier ClassDef bases body Assign NameStore TupleLoad Num Num Num Assign NameStore TupleLoad Num Num Num Assign NameStore TupleLoad Num Num Num decorator_list ClassDef bases body Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body If AttributeLoad NameLoad attr body Return orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr TupleLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr While UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad Num body If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Str If BoolOpOr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpDiv BinOpSub NameLoad NameLoad BinOpSub NameLoad NameLoad Assign NameStore Call AttributeLoad BinOpMult NameLoad Num attr Str If CompareLt SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr BinOpDiv Call NameLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad TupleLoad BinOpMult SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad BinOpMult SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad Num body Assert CompareGtE BinOpMult NameLoad NameLoad Call NameLoad NameLoad If CompareGt BinOpMult NameLoad NameLoad Call NameLoad NameLoad body Assign NameStore ListComp NameLoad comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr ListComp Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num comprehension NameStore Call NameLoad BinOpSub BinOpMult NameLoad NameLoad Call NameLoad NameLoad Assign NameStore BinOpMult SubscriptLoad AttributeLoad SubscriptLoad NameLoad Index Num attr Index Num NameLoad If CompareGt NameLoad NameLoad body Assign NameStore BinOpDiv Call NameLoad NameLoad NameLoad For NameStore Call NameLoad Call NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad TupleLoad Call NameLoad BinOpMult SubscriptLoad AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Index Num NameLoad Call NameLoad BinOpMult SubscriptLoad AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Index Num NameLoad If CompareIsNot NameLoad NameLoad body Raise NameLoad Assign NameStore ListLoad For NameStore Call NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Slice BinOpMult NameLoad NameLoad BinOpMult BinOpAdd NameLoad Num NameLoad If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index Num Call AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index NameLoad TupleLoad Num Num AttributeLoad NameLoad attr Num TupleLoad Num Num Num keyword Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad BinOpMult Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd NameLoad Num Num Num attr Str Return SubscriptLoad NameLoad Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return TupleLoad Call NameLoad Call AttributeLoad NameLoad attr NameLoad Call NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad NameLoad Num TupleLoad Num Num Num Num Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad NameLoad Call NameLoad BinOpAdd NameLoad BinOpMult Num Call AttributeLoad NameLoad attr NameLoad BinOpAdd NameLoad BinOpMult Num Call AttributeLoad NameLoad attr NameLoad TupleLoad Num Num Num Num decorator_list Assign NameStore Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num keyword AttributeLoad NameLoad attr
N/A N/A cv2 numpy np Colors N/A N/A N/A RED N/A 0 0 255 N/A GREEN N/A 0 255 0 N/A BLUE N/A 255 0 0 N/A ClickGetter N/A N/A N/A xy None N/A done False callback N/A N/A self event x y _flags _param N/A N/A N/A N/A self done N/A N/A N/A N/A N/A event N/A cv2 EVENT_LBUTTONDOWN N/A N/A N/A self xy N/A x y N/A N/A self done True N/A N/A get_click N/A N/A windowname img N/A N/A N/A cg N/A ClickGetter N/A N/A N/A cv2 setMouseCallback windowname N/A cg callback N/A N/A N/A cg done N/A N/A N/A N/A cv2 imshow windowname img N/A N/A N/A cv2 waitKey 10 N/A N/A cg xy N/A draw_img N/A N/A img colormap min_size N/A None 1 N/A N/A N/A N/A img dtype N/A np bool N/A N/A img N/A N/A img astype uint8 N/A N/A N/A N/A img dtype N/A np float32 N/A N/A img dtype N/A np float64 N/A N/A img N/A N/A img astype float32 N/A minval N/A N/A img min N/A maxval N/A N/A img max N/A img N/A N/A img minval N/A maxval minval N/A img N/A N/A N/A img 256 astype uint8 N/A N/A N/A N/A img shape N/A 0 min_size N/A N/A ratio N/A int N/A N/A np ceil N/A N/A float min_size N/A N/A img shape N/A 0 N/A img N/A N/A cv2 resize img N/A N/A N/A N/A img shape N/A 0 ratio N/A N/A N/A img shape N/A 1 ratio N/A N/A colormap None N/A N/A img N/A colormap N/A img N/A N/A N/A cv2 imshow draw_img img N/A N/A N/A cv2 waitKey N/A N/A N/A cv2 destroyWindow draw_img N/A tile_images N/A N/A imgs nrows ncols row_titles col_titles max_width N/A None None 1000 N/A N/A N/A N/A nrows ncols N/A len imgs N/A N/A N/A nrows ncols N/A len imgs N/A N/A imgs N/A img N/A img imgs N/A N/A N/A imgs extend N/A N/A N/A np zeros_like N/A imgs N/A 0 N/A _ N/A xrange N/A N/A nrows ncols N/A len imgs N/A full_width N/A N/A N/A N/A imgs N/A 0 shape N/A 1 ncols N/A N/A full_width max_width N/A N/A ratio N/A N/A float max_width full_width N/A i N/A xrange N/A len imgs N/A N/A N/A imgs N/A i N/A N/A cv2 resize N/A imgs N/A i N/A N/A int N/A N/A N/A N/A imgs N/A i shape N/A 1 ratio N/A int N/A N/A N/A N/A imgs N/A i shape N/A 0 ratio N/A N/A col_titles None N/A N/A NotImplementedError N/A imgrows N/A N/A irow N/A xrange nrows N/A N/A rowimgs N/A imgs N/A N/A irow ncols N/A N/A irow 1 ncols N/A N/A row_titles None N/A N/A N/A rowimgs N/A 0 N/A N/A N/A rowimgs N/A 0 copy N/A N/A N/A cv2 putText N/A rowimgs N/A 0 N/A row_titles N/A irow N/A 10 10 N/A cv2 FONT_HERSHEY_PLAIN 1 N/A 255 255 0 thickness 1 N/A N/A N/A imgrows append N/A N/A np concatenate rowimgs 1 N/A bigimg N/A N/A np concatenate imgrows 0 N/A bigimg N/A label2rgb N/A N/A labels N/A N/A N/A max_label N/A N/A labels max N/A rgbs N/A N/A N/A N/A N/A N/A np random rand N/A max_label 1 3 256 astype uint8 N/A N/A rgbs N/A labels N/A inttuple N/A N/A x y N/A N/A N/A N/A N/A int N/A N/A np round x N/A int N/A N/A np round y N/A circle_with_ori N/A N/A img x y theta N/A N/A N/A N/A N/A cv2 circle img N/A inttuple x y 17 N/A 0 255 255 3 N/A N/A N/A cv2 line img N/A inttuple x y N/A inttuple N/A x N/A 17 N/A N/A np cos theta N/A y N/A 17 N/A N/A np sin theta N/A 0 255 255 3 N/A N/A CM_JET N/A N/A np array N/A N/A 0 0 128 N/A 0 0 132 N/A 0 0 137 N/A 0 0 141 N/A 0 0 146 N/A 0 0 150 N/A 0 0 155 N/A 0 0 159 N/A 0 0 164 N/A 0 0 169 N/A 0 0 173 N/A 0 0 178 N/A 0 0 182 N/A 0 0 187 N/A 0 0 191 N/A 0 0 196 N/A 0 0 201 N/A 0 0 205 N/A 0 0 210 N/A 0 0 214 N/A 0 0 219 N/A 0 0 223 N/A 0 0 228 N/A 0 0 232 N/A 0 0 237 N/A 0 0 242 N/A 0 0 246 N/A 0 0 251 N/A 0 0 255 N/A 0 0 0 N/A 0 0 0 N/A 0 0 0 N/A 0 0 0 N/A 0 4 0 N/A 0 8 0 N/A 0 12 0 N/A 0 16 0 N/A 0 20 0 N/A 0 24 0 N/A 0 28 0 N/A 0 32 0 N/A 0 36 0 N/A 0 40 0 N/A 0 44 0 N/A 0 48 0 N/A 0 52 0 N/A 0 56 0 N/A 0 60 0 N/A 0 64 0 N/A 0 68 0 N/A 0 72 0 N/A 0 76 0 N/A 0 80 0 N/A 0 84 0 N/A 0 88 0 N/A 0 92 0 N/A 0 96 0 N/A 0 100 0 N/A 0 104 0 N/A 0 108 0 N/A 0 112 0 N/A 0 116 0 N/A 0 120 0 N/A 0 124 0 N/A 0 129 0 N/A 0 133 0 N/A 0 137 0 N/A 0 141 0 N/A 0 145 0 N/A 0 149 0 N/A 0 153 0 N/A 0 157 0 N/A 0 161 0 N/A 0 165 0 N/A 0 169 0 N/A 0 173 0 N/A 0 177 0 N/A 0 181 0 N/A 0 185 0 N/A 0 189 0 N/A 0 193 0 N/A 0 197 0 N/A 0 201 0 N/A 0 205 0 N/A 0 209 0 N/A 0 213 0 N/A 0 217 0 N/A 0 221 255 N/A 0 225 251 N/A 0 229 248 N/A 2 233 245 N/A 5 237 242 N/A 8 241 238 N/A 12 245 235 N/A 15 249 232 N/A 18 253 229 N/A 21 0 225 N/A 25 0 222 N/A 28 0 219 N/A 31 0 216 N/A 34 0 212 N/A 38 0 209 N/A 41 0 206 N/A 44 0 203 N/A 47 0 199 N/A 51 0 196 N/A 54 0 193 N/A 57 0 190 N/A 60 0 187 N/A 63 0 183 N/A 67 0 180 N/A 70 0 177 N/A 73 0 174 N/A 76 0 170 N/A 80 0 167 N/A 83 0 164 N/A 86 0 161 N/A 89 0 157 N/A 93 0 154 N/A 96 0 151 N/A 99 0 148 N/A 102 0 144 N/A 106 0 141 N/A 109 0 138 N/A 112 0 135 N/A 115 0 131 N/A 119 0 128 N/A 122 0 125 N/A 125 0 122 N/A 128 0 119 N/A 131 0 115 N/A 135 0 112 N/A 138 0 109 N/A 141 0 106 N/A 144 0 102 N/A 148 0 99 N/A 151 0 96 N/A 154 0 93 N/A 157 0 89 N/A 161 0 86 N/A 164 0 83 N/A 167 0 80 N/A 170 0 76 N/A 174 0 73 N/A 177 0 70 N/A 180 0 67 N/A 183 0 63 N/A 187 0 60 N/A 190 0 57 N/A 193 0 54 N/A 196 0 51 N/A 199 0 47 N/A 203 0 44 N/A 206 0 41 N/A 209 0 38 N/A 212 0 34 N/A 216 0 31 N/A 219 0 28 N/A 222 0 25 N/A 225 0 21 N/A 229 0 18 N/A 232 0 15 N/A 235 0 12 N/A 238 0 8 N/A 242 253 5 N/A 245 249 2 N/A 248 245 0 N/A 251 241 0 N/A 255 238 0 N/A 0 234 0 N/A 0 230 0 N/A 0 226 0 N/A 0 223 0 N/A 0 219 0 N/A 0 215 0 N/A 0 212 0 N/A 0 208 0 N/A 0 204 0 N/A 0 200 0 N/A 0 197 0 N/A 0 193 0 N/A 0 189 0 N/A 0 186 0 N/A 0 182 0 N/A 0 178 0 N/A 0 174 0 N/A 0 171 0 N/A 0 167 0 N/A 0 163 0 N/A 0 160 0 N/A 0 156 0 N/A 0 152 0 N/A 0 148 0 N/A 0 145 0 N/A 0 141 0 N/A 0 137 0 N/A 0 134 0 N/A 0 130 0 N/A 0 126 0 N/A 0 122 0 N/A 0 119 0 N/A 0 115 0 N/A 0 111 0 N/A 0 108 0 N/A 0 104 0 N/A 0 100 0 N/A 0 96 0 N/A 0 93 0 N/A 0 89 0 N/A 0 85 0 N/A 0 81 0 N/A 0 78 0 N/A 0 74 0 N/A 0 70 0 N/A 0 67 0 N/A 0 63 0 N/A 0 59 0 N/A 0 55 0 N/A 0 52 0 N/A 0 48 0 N/A 0 44 0 N/A 0 41 0 N/A 0 37 0 N/A 0 33 0 N/A 0 29 0 N/A 0 26 0 N/A 0 22 0 N/A 255 18 0 N/A 251 15 0 N/A 246 11 0 N/A 242 7 0 N/A 237 3 0 N/A 232 0 0 N/A 228 0 0 N/A 223 0 0 N/A 219 0 0 N/A 214 0 0 N/A 210 0 0 N/A 205 0 0 N/A 201 0 0 N/A 196 0 0 N/A 191 0 0 N/A 187 0 0 N/A 182 0 0 N/A 178 0 0 N/A 173 0 0 N/A 169 0 0 N/A 164 0 0 N/A 159 0 0 N/A 155 0 0 N/A 150 0 0 N/A 146 0 0 N/A 141 0 0 N/A 137 0 0 N/A 132 0 0 N/A 128 0 0 dtype N/A np uint8