Module Import alias identifier Import alias ImportFrom alias Import alias Import alias Import alias Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad BinOpDiv Num Call NameLoad Call NameLoad NameLoad Call NameLoad NameLoad Num Return NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Num keyword Num keyword AttributeLoad NameLoad attr If Num body Assign NameStore Call AttributeLoad NameLoad attr Print Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr keyword Num keyword Num keyword Num keyword AttributeLoad NameLoad attr Print Str BinOpSub Call AttributeLoad NameLoad attr NameLoad ClassDef bases body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore TupleLoad NameLoad NameLoad NameLoad If UnaryOpNot CompareIn NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr keyword Num Print Str BinOpSub Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict For NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd NameLoad Num Print NameLoad Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Num AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str BinOpAdd AttributeLoad NameLoad attr Num BinOpAdd AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad TupleLoad Num Num BinOpSub AttributeLoad NameLoad attr NameLoad BinOpSub AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad TupleLoad Num NameLoad BinOpSub AttributeLoad NameLoad attr NameLoad BinOpSub AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad TupleLoad NameLoad Num BinOpSub AttributeLoad NameLoad attr NameLoad BinOpSub AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad TupleLoad NameLoad NameLoad BinOpSub AttributeLoad NameLoad attr NameLoad BinOpSub AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad TupleLoad BinOpDiv NameLoad Num BinOpDiv NameLoad Num AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore BinOpSub Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad While NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict Print Str Call NameLoad NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareGt NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad BinOpAdd BinOpDiv BinOpMult BinOpDiv Num Num Call AttributeLoad NameLoad attr NameLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr keyword Num If NameLoad body Assign NameStore ListComp TupleLoad BinOpAdd BinOpAdd BinOpDiv NameLoad Num SubscriptLoad NameLoad Index Num NameLoad BinOpAdd BinOpAdd BinOpDiv NameLoad Num SubscriptLoad NameLoad Index Num NameLoad comprehension TupleStore NameStore NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num Index Num Assign SubscriptStore NameLoad Index NameLoad NameLoad orelse Print Str Assign NameStore BinOpSub Call AttributeLoad NameLoad attr NameLoad Print Str NameLoad Str NameLoad Return NameLoad decorator_list decorator_list Assign NameStore Call AttributeLoad NameLoad attr Num Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Num Num Num Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Str Num FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Return NameLoad decorator_list Assign NameStore ListLoad Assign NameStore Num For NameStore Call NameLoad Num body Assign NameStore BinOpAdd Num BinOpMult NameLoad Num Assign NameStore BinOpMult NameLoad Call AttributeLoad NameLoad attr Num AugAssignAdd NameStore BinOpMult NameLoad Num AugAssignAdd NameStore ListComp TupleLoad BinOpAdd Call NameLoad NameLoad SubscriptLoad Str Index NameLoad TupleLoad BinOpAdd Num BinOpMult NameLoad Num NameLoad BinOpDiv BinOpMult AttributeLoad NameLoad attr NameLoad Num NameLoad comprehension NameStore Call NameLoad Num Num Num For TupleStore NameStore TupleStore NameStore NameStore NameStore NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Num Num AttributeLoad NameLoad attr Assign NameStore ListComp TupleLoad BinOpAdd NameLoad BinOpMult NameLoad Call AttributeLoad NameLoad attr BinOpAdd NameLoad NameLoad BinOpAdd NameLoad BinOpMult NameLoad Call AttributeLoad NameLoad attr BinOpAdd NameLoad NameLoad comprehension NameStore ListLoad Num BinOpDiv AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr BinOpDiv BinOpMult Num AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr ListLoad TupleLoad Num Num TupleLoad NameLoad Num TupleLoad NameLoad NameLoad SubscriptLoad NameLoad Slice Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Num Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If Num body For NameStore Call NameLoad Num body Expr Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr body Print NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad Num Call AttributeLoad NameLoad attr Num Num Num Num keyword AttributeLoad NameLoad attr Assign NameStore ListComp NameLoad comprehension TupleStore NameStore NameStore NameLoad Assign NameStore ListComp NameLoad comprehension TupleStore NameStore NameStore NameLoad Assign NameStore TupleLoad BinOpDiv BinOpAdd Call NameLoad NameLoad Call NameLoad NameLoad Num BinOpSub Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr Num Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Num While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Print Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num
N/A N/A cv2.cv cv N/A time pydmtx DataMatrix N/A numpy N/A sys N/A math N/A 
Find 2 D barcode based on up to 3 channel datamatrix
 absnorm8 N/A N/A im im8 N/A N/A N/A  im may be any single-channel image type.  Return an 8-bit version, absolute value, normalized so that max is 255  N/A N/A minVal maxVal _ _ N/A N/A cv MinMaxLoc im N/A N/A N/A cv ConvertScaleAbs im im8 N/A 255 N/A max N/A abs minVal N/A abs maxVal 0 N/A im8 N/A N/A font N/A N/A cv InitFont N/A cv CV_FONT_HERSHEY_SIMPLEX 1.0 1.0 thickness 2 lineType N/A cv CV_AA N/A 0 N/A N/A started N/A N/A time time N/A N/A N/A dm_write decode N/A bg width N/A bg height N/A buffer N/A N/A bg tostring max_count 1 min_edge 12 max_edge 13 shape N/A DataMatrix DmtxSymbol10x10 N/A took N/A N/A N/A time time started DmtxFinder N/A N/A __init__ N/A N/A self N/A N/A N/A N/A self cache N/A N/A N/A self dm N/A DataMatrix N/A Cached N/A N/A self name rows cols type N/A N/A N/A key N/A name rows cols N/A N/A N/A key N/A self cache N/A N/A N/A N/A self cache N/A key N/A N/A cv CreateMat rows cols type N/A N/A N/A self cache N/A key N/A find0 N/A N/A self img N/A N/A N/A started N/A N/A time time N/A N/A N/A N/A self dm decode N/A img width N/A img height N/A buffer N/A N/A img tostring max_count 4 N/A brute N/A N/A N/A time time started N/A found N/A N/A i N/A range N/A N/A N/A self dm count N/A N/A stats N/A N/A dm_read stats N/A i 1 N/A stats N/A N/A found N/A N/A stats N/A 0 N/A stats N/A 1 N/A found N/A find N/A N/A self img N/A N/A N/A started N/A N/A time time N/A gray N/A N/A self Cached gray N/A img height N/A img width N/A cv CV_8UC1 N/A N/A N/A cv CvtColor img gray N/A cv CV_BGR2GRAY N/A sobel N/A N/A self Cached sobel N/A img height N/A img width N/A cv CV_16SC1 N/A sobely N/A N/A self Cached sobely N/A img height N/A img width N/A cv CV_16SC1 N/A N/A N/A cv Sobel gray sobel 1 0 N/A N/A N/A cv Sobel gray sobely 0 1 N/A N/A N/A cv Add sobel sobely sobel N/A sobel8 N/A N/A self Cached sobel8 N/A sobel height N/A sobel width N/A cv CV_8UC1 N/A N/A absnorm8 sobel sobel8 N/A N/A N/A cv Threshold sobel8 sobel8 128.0 255.0 N/A cv CV_THRESH_BINARY N/A sobel_integral N/A N/A self Cached sobel_integral N/A N/A img height 1 N/A N/A img width 1 N/A cv CV_32SC1 N/A N/A N/A cv Integral sobel8 sobel_integral N/A d 16 N/A _x1y1 N/A N/A cv GetSubRect sobel_integral N/A 0 0 N/A N/A sobel_integral cols d N/A N/A sobel_integral rows d N/A _x1y2 N/A N/A cv GetSubRect sobel_integral N/A 0 d N/A N/A sobel_integral cols d N/A N/A sobel_integral rows d N/A _x2y1 N/A N/A cv GetSubRect sobel_integral N/A d 0 N/A N/A sobel_integral cols d N/A N/A sobel_integral rows d N/A _x2y2 N/A N/A cv GetSubRect sobel_integral N/A d d N/A N/A sobel_integral cols d N/A N/A sobel_integral rows d N/A summation N/A N/A cv CloneMat _x2y2 N/A N/A N/A cv Sub summation _x1y2 summation N/A N/A N/A cv Sub summation _x2y1 summation N/A N/A N/A cv Add summation _x1y1 summation N/A sum8 N/A N/A self Cached sum8 N/A summation height N/A summation width N/A cv CV_8UC1 N/A N/A absnorm8 summation sum8 N/A N/A N/A cv Threshold sum8 sum8 32.0 255.0 N/A cv CV_THRESH_BINARY N/A N/A N/A cv ShowImage sum8 sum8 N/A seq N/A N/A cv FindContours sum8 N/A N/A cv CreateMemStorage N/A cv CV_RETR_EXTERNAL N/A subimg N/A N/A cv GetSubRect img N/A N/A d 2 N/A d 2 N/A sum8 cols N/A sum8 rows N/A t_cull N/A N/A N/A time time started N/A seqs N/A N/A seq N/A N/A N/A N/A seqs append seq N/A seq N/A N/A seq h_next N/A started N/A N/A time time N/A found N/A N/A seqs N/A len seqs N/A seq seqs N/A N/A area N/A N/A cv ContourArea seq N/A N/A area 1000 N/A N/A rect N/A N/A cv BoundingRect seq N/A edge N/A int N/A N/A N/A N/A 14 14.0 N/A N/A math sqrt area 2 0.5 N/A candidate N/A N/A cv GetSubRect subimg rect N/A sym N/A N/A N/A self dm decode N/A candidate width N/A candidate height N/A buffer N/A N/A candidate tostring max_count 1 N/A sym N/A N/A onscreen N/A N/A N/A N/A N/A d 2 N/A rect N/A 0 x N/A N/A N/A d 2 N/A rect N/A 1 y N/A N/A x y N/A N/A N/A N/A self dm stats 1 N/A 1 N/A N/A found N/A sym onscreen N/A N/A FAILED N/A t_brute N/A N/A N/A time time started N/A cull took t_cull brute t_brute N/A found N/A N/A N/A bg N/A N/A cv CreateMat 1024 1024 N/A cv CV_8UC3 N/A N/A N/A cv Set bg N/A N/A cv RGB 0 0 0 N/A df N/A DmtxFinder N/A N/A N/A cv NamedWindow camera 1 mkdmtx N/A N/A msg N/A N/A N/A dm_write N/A DataMatrix N/A N/A N/A dm_write encode msg N/A pi N/A dm_write image N/A cv_im N/A N/A cv CreateImageHeader N/A pi size N/A cv IPL_DEPTH_8U 3 N/A N/A N/A cv SetData cv_im N/A N/A pi tostring N/A cv_im N/A N/A test N/A N/A y 10 N/A j N/A range 7 N/A N/A r N/A 28 N/A j 4 N/A mr N/A r N/A N/A math sqrt 2 N/A y N/A mr 1.8 N/A test N/A N/A N/A N/A str deg N/A abcdefgh N/A j N/A N/A 50 N/A deg 11 y N/A N/A N/A math pi deg 180 r N/A deg N/A range 0 90 10 N/A N/A msg N/A x y angle r test N/A N/A map N/A N/A cv CreateMat 2 3 N/A cv CV_32FC1 N/A corners N/A N/A N/A x N/A r N/A N/A math cos N/A angle th N/A y N/A r N/A N/A math sin N/A angle th N/A th N/A 0 N/A N/A math pi 2 N/A math pi N/A N/A 3 N/A math pi 4 N/A src N/A mkdmtx msg N/A N/A sx sy N/A N/A cv GetSize src N/A N/A N/A cv GetAffineTransform N/A N/A 0 0 N/A sx 0 N/A sx sy N/A corners N/A 3 map N/A temp N/A N/A cv CreateMat N/A bg rows N/A bg cols N/A cv CV_8UC3 N/A N/A N/A cv Set temp N/A N/A cv RGB 0 0 0 N/A N/A N/A cv WarpAffine src temp map N/A N/A N/A cv Or temp bg bg N/A N/A N/A cv ShowImage comp bg N/A scribble N/A N/A cv CloneMat bg N/A 0 N/A N/A i N/A range 10 N/A N/A N/A N/A df find bg N/A N/A sym coords N/A N/A N/A N/A df find bg items N/A N/A sym N/A N/A N/A cv PolyLine scribble N/A coords 1 N/A N/A cv CV_RGB 255 0 0 1 lineType N/A cv CV_AA N/A Xs N/A x N/A N/A x y coords N/A Ys N/A y N/A N/A x y coords N/A where N/A N/A N/A N/A min Xs N/A max Xs 2 N/A N/A max Ys 50 N/A N/A N/A cv PutText scribble sym where font N/A N/A cv RGB 0 255 0 N/A N/A N/A cv ShowImage results scribble N/A N/A N/A cv WaitKey N/A N/A N/A cv DestroyAllWindows N/A N/A N/A sys exit 0 N/A capture N/A N/A cv CaptureFromCAM 0 N/A True N/A N/A img N/A N/A cv QueryFrame capture N/A N/A N/A cv ShowImage capture img N/A N/A N/A df find img N/A N/A N/A cv WaitKey 6