__init__.pyi 317 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858
  1. __all__: list[str] = []
  2. import cv2.aruco
  3. import cv2.cuda
  4. import cv2.detail
  5. import cv2.dnn
  6. import cv2.gapi
  7. import cv2.gapi.ot
  8. import cv2.gapi.streaming
  9. import cv2.typing
  10. import numpy
  11. import os
  12. import typing as _typing
  13. from cv2 import Error as Error
  14. from cv2 import aruco as aruco
  15. from cv2 import barcode as barcode
  16. from cv2 import bgsegm as bgsegm
  17. from cv2 import bioinspired as bioinspired
  18. from cv2 import ccm as ccm
  19. from cv2 import colored_kinfu as colored_kinfu
  20. from cv2 import cuda as cuda
  21. from cv2 import datasets as datasets
  22. from cv2 import detail as detail
  23. from cv2 import dnn as dnn
  24. from cv2 import dnn_superres as dnn_superres
  25. from cv2 import dpm as dpm
  26. from cv2 import dynafu as dynafu
  27. from cv2 import face as face
  28. from cv2 import fisheye as fisheye
  29. from cv2 import flann as flann
  30. from cv2 import ft as ft
  31. from cv2 import gapi as gapi
  32. from cv2 import hfs as hfs
  33. from cv2 import img_hash as img_hash
  34. from cv2 import instr as instr
  35. from cv2 import intensity_transform as intensity_transform
  36. from cv2 import ipp as ipp
  37. from cv2 import kinfu as kinfu
  38. from cv2 import large_kinfu as large_kinfu
  39. from cv2 import legacy as legacy
  40. from cv2 import line_descriptor as line_descriptor
  41. from cv2 import linemod as linemod
  42. from cv2 import mcc as mcc
  43. from cv2 import ml as ml
  44. from cv2 import motempl as motempl
  45. from cv2 import multicalib as multicalib
  46. from cv2 import ocl as ocl
  47. from cv2 import ogl as ogl
  48. from cv2 import omnidir as omnidir
  49. from cv2 import optflow as optflow
  50. from cv2 import parallel as parallel
  51. from cv2 import phase_unwrapping as phase_unwrapping
  52. from cv2 import plot as plot
  53. from cv2 import ppf_match_3d as ppf_match_3d
  54. from cv2 import quality as quality
  55. from cv2 import rapid as rapid
  56. from cv2 import reg as reg
  57. from cv2 import rgbd as rgbd
  58. from cv2 import saliency as saliency
  59. from cv2 import samples as samples
  60. from cv2 import segmentation as segmentation
  61. from cv2 import signal as signal
  62. from cv2 import stereo as stereo
  63. from cv2 import structured_light as structured_light
  64. from cv2 import text as text
  65. from cv2 import typing as typing
  66. from cv2 import utils as utils
  67. from cv2 import videoio_registry as videoio_registry
  68. from cv2 import videostab as videostab
  69. from cv2 import wechat_qrcode as wechat_qrcode
  70. from cv2 import xfeatures2d as xfeatures2d
  71. from cv2 import ximgproc as ximgproc
  72. from cv2 import xphoto as xphoto
  73. from cv2.mat_wrapper import Mat as Mat
  74. # Enumerations
  75. SORT_EVERY_ROW: int
  76. SORT_EVERY_COLUMN: int
  77. SORT_ASCENDING: int
  78. SORT_DESCENDING: int
  79. SortFlags = int
  80. """One of [SORT_EVERY_ROW, SORT_EVERY_COLUMN, SORT_ASCENDING, SORT_DESCENDING]"""
  81. COVAR_SCRAMBLED: int
  82. COVAR_NORMAL: int
  83. COVAR_USE_AVG: int
  84. COVAR_SCALE: int
  85. COVAR_ROWS: int
  86. COVAR_COLS: int
  87. CovarFlags = int
  88. """One of [COVAR_SCRAMBLED, COVAR_NORMAL, COVAR_USE_AVG, COVAR_SCALE, COVAR_ROWS, COVAR_COLS]"""
  89. REDUCE_SUM: int
  90. REDUCE_AVG: int
  91. REDUCE_MAX: int
  92. REDUCE_MIN: int
  93. REDUCE_SUM2: int
  94. ReduceTypes = int
  95. """One of [REDUCE_SUM, REDUCE_AVG, REDUCE_MAX, REDUCE_MIN, REDUCE_SUM2]"""
  96. ROTATE_90_CLOCKWISE: int
  97. ROTATE_180: int
  98. ROTATE_90_COUNTERCLOCKWISE: int
  99. RotateFlags = int
  100. """One of [ROTATE_90_CLOCKWISE, ROTATE_180, ROTATE_90_COUNTERCLOCKWISE]"""
  101. KMEANS_RANDOM_CENTERS: int
  102. KMEANS_PP_CENTERS: int
  103. KMEANS_USE_INITIAL_LABELS: int
  104. KmeansFlags = int
  105. """One of [KMEANS_RANDOM_CENTERS, KMEANS_PP_CENTERS, KMEANS_USE_INITIAL_LABELS]"""
  106. Param_INT: int
  107. PARAM_INT: int
  108. Param_BOOLEAN: int
  109. PARAM_BOOLEAN: int
  110. Param_REAL: int
  111. PARAM_REAL: int
  112. Param_STRING: int
  113. PARAM_STRING: int
  114. Param_MAT: int
  115. PARAM_MAT: int
  116. Param_MAT_VECTOR: int
  117. PARAM_MAT_VECTOR: int
  118. Param_ALGORITHM: int
  119. PARAM_ALGORITHM: int
  120. Param_FLOAT: int
  121. PARAM_FLOAT: int
  122. Param_UNSIGNED_INT: int
  123. PARAM_UNSIGNED_INT: int
  124. Param_UINT64: int
  125. PARAM_UINT64: int
  126. Param_UCHAR: int
  127. PARAM_UCHAR: int
  128. Param_SCALAR: int
  129. PARAM_SCALAR: int
  130. Param = int
  131. """One of [Param_INT, PARAM_INT, Param_BOOLEAN, PARAM_BOOLEAN, Param_REAL, PARAM_REAL, Param_STRING, PARAM_STRING, Param_MAT, PARAM_MAT, Param_MAT_VECTOR, PARAM_MAT_VECTOR, Param_ALGORITHM, PARAM_ALGORITHM, Param_FLOAT, PARAM_FLOAT, Param_UNSIGNED_INT, PARAM_UNSIGNED_INT, Param_UINT64, PARAM_UINT64, Param_UCHAR, PARAM_UCHAR, Param_SCALAR, PARAM_SCALAR]"""
  132. DECOMP_LU: int
  133. DECOMP_SVD: int
  134. DECOMP_EIG: int
  135. DECOMP_CHOLESKY: int
  136. DECOMP_QR: int
  137. DECOMP_NORMAL: int
  138. DecompTypes = int
  139. """One of [DECOMP_LU, DECOMP_SVD, DECOMP_EIG, DECOMP_CHOLESKY, DECOMP_QR, DECOMP_NORMAL]"""
  140. NORM_INF: int
  141. NORM_L1: int
  142. NORM_L2: int
  143. NORM_L2SQR: int
  144. NORM_HAMMING: int
  145. NORM_HAMMING2: int
  146. NORM_TYPE_MASK: int
  147. NORM_RELATIVE: int
  148. NORM_MINMAX: int
  149. NormTypes = int
  150. """One of [NORM_INF, NORM_L1, NORM_L2, NORM_L2SQR, NORM_HAMMING, NORM_HAMMING2, NORM_TYPE_MASK, NORM_RELATIVE, NORM_MINMAX]"""
  151. CMP_EQ: int
  152. CMP_GT: int
  153. CMP_GE: int
  154. CMP_LT: int
  155. CMP_LE: int
  156. CMP_NE: int
  157. CmpTypes = int
  158. """One of [CMP_EQ, CMP_GT, CMP_GE, CMP_LT, CMP_LE, CMP_NE]"""
  159. GEMM_1_T: int
  160. GEMM_2_T: int
  161. GEMM_3_T: int
  162. GemmFlags = int
  163. """One of [GEMM_1_T, GEMM_2_T, GEMM_3_T]"""
  164. DFT_INVERSE: int
  165. DFT_SCALE: int
  166. DFT_ROWS: int
  167. DFT_COMPLEX_OUTPUT: int
  168. DFT_REAL_OUTPUT: int
  169. DFT_COMPLEX_INPUT: int
  170. DCT_INVERSE: int
  171. DCT_ROWS: int
  172. DftFlags = int
  173. """One of [DFT_INVERSE, DFT_SCALE, DFT_ROWS, DFT_COMPLEX_OUTPUT, DFT_REAL_OUTPUT, DFT_COMPLEX_INPUT, DCT_INVERSE, DCT_ROWS]"""
  174. BORDER_CONSTANT: int
  175. BORDER_REPLICATE: int
  176. BORDER_REFLECT: int
  177. BORDER_WRAP: int
  178. BORDER_REFLECT_101: int
  179. BORDER_TRANSPARENT: int
  180. BORDER_REFLECT101: int
  181. BORDER_DEFAULT: int
  182. BORDER_ISOLATED: int
  183. BorderTypes = int
  184. """One of [BORDER_CONSTANT, BORDER_REPLICATE, BORDER_REFLECT, BORDER_WRAP, BORDER_REFLECT_101, BORDER_TRANSPARENT, BORDER_REFLECT101, BORDER_DEFAULT, BORDER_ISOLATED]"""
  185. ACCESS_READ: int
  186. ACCESS_WRITE: int
  187. ACCESS_RW: int
  188. ACCESS_MASK: int
  189. ACCESS_FAST: int
  190. AccessFlag = int
  191. """One of [ACCESS_READ, ACCESS_WRITE, ACCESS_RW, ACCESS_MASK, ACCESS_FAST]"""
  192. USAGE_DEFAULT: int
  193. USAGE_ALLOCATE_HOST_MEMORY: int
  194. USAGE_ALLOCATE_DEVICE_MEMORY: int
  195. USAGE_ALLOCATE_SHARED_MEMORY: int
  196. __UMAT_USAGE_FLAGS_32BIT: int
  197. UMatUsageFlags = int
  198. """One of [USAGE_DEFAULT, USAGE_ALLOCATE_HOST_MEMORY, USAGE_ALLOCATE_DEVICE_MEMORY, USAGE_ALLOCATE_SHARED_MEMORY, __UMAT_USAGE_FLAGS_32BIT]"""
  199. SOLVELP_LOST: int
  200. SOLVELP_UNBOUNDED: int
  201. SOLVELP_UNFEASIBLE: int
  202. SOLVELP_SINGLE: int
  203. SOLVELP_MULTI: int
  204. SolveLPResult = int
  205. """One of [SOLVELP_LOST, SOLVELP_UNBOUNDED, SOLVELP_UNFEASIBLE, SOLVELP_SINGLE, SOLVELP_MULTI]"""
  206. QUAT_ASSUME_NOT_UNIT: int
  207. QUAT_ASSUME_UNIT: int
  208. QuatAssumeType = int
  209. """One of [QUAT_ASSUME_NOT_UNIT, QUAT_ASSUME_UNIT]"""
  210. ALGO_HINT_DEFAULT: int
  211. ALGO_HINT_ACCURATE: int
  212. ALGO_HINT_APPROX: int
  213. AlgorithmHint = int
  214. """One of [ALGO_HINT_DEFAULT, ALGO_HINT_ACCURATE, ALGO_HINT_APPROX]"""
  215. FILTER_SCHARR: int
  216. SpecialFilter = int
  217. """One of [FILTER_SCHARR]"""
  218. MORPH_ERODE: int
  219. MORPH_DILATE: int
  220. MORPH_OPEN: int
  221. MORPH_CLOSE: int
  222. MORPH_GRADIENT: int
  223. MORPH_TOPHAT: int
  224. MORPH_BLACKHAT: int
  225. MORPH_HITMISS: int
  226. MorphTypes = int
  227. """One of [MORPH_ERODE, MORPH_DILATE, MORPH_OPEN, MORPH_CLOSE, MORPH_GRADIENT, MORPH_TOPHAT, MORPH_BLACKHAT, MORPH_HITMISS]"""
  228. MORPH_RECT: int
  229. MORPH_CROSS: int
  230. MORPH_ELLIPSE: int
  231. MORPH_DIAMOND: int
  232. MorphShapes = int
  233. """One of [MORPH_RECT, MORPH_CROSS, MORPH_ELLIPSE, MORPH_DIAMOND]"""
  234. INTER_NEAREST: int
  235. INTER_LINEAR: int
  236. INTER_CUBIC: int
  237. INTER_AREA: int
  238. INTER_LANCZOS4: int
  239. INTER_LINEAR_EXACT: int
  240. INTER_NEAREST_EXACT: int
  241. INTER_MAX: int
  242. WARP_FILL_OUTLIERS: int
  243. WARP_INVERSE_MAP: int
  244. WARP_RELATIVE_MAP: int
  245. InterpolationFlags = int
  246. """One of [INTER_NEAREST, INTER_LINEAR, INTER_CUBIC, INTER_AREA, INTER_LANCZOS4, INTER_LINEAR_EXACT, INTER_NEAREST_EXACT, INTER_MAX, WARP_FILL_OUTLIERS, WARP_INVERSE_MAP, WARP_RELATIVE_MAP]"""
  247. WARP_POLAR_LINEAR: int
  248. WARP_POLAR_LOG: int
  249. WarpPolarMode = int
  250. """One of [WARP_POLAR_LINEAR, WARP_POLAR_LOG]"""
  251. INTER_BITS: int
  252. INTER_BITS2: int
  253. INTER_TAB_SIZE: int
  254. INTER_TAB_SIZE2: int
  255. InterpolationMasks = int
  256. """One of [INTER_BITS, INTER_BITS2, INTER_TAB_SIZE, INTER_TAB_SIZE2]"""
  257. DIST_USER: int
  258. DIST_L1: int
  259. DIST_L2: int
  260. DIST_C: int
  261. DIST_L12: int
  262. DIST_FAIR: int
  263. DIST_WELSCH: int
  264. DIST_HUBER: int
  265. DistanceTypes = int
  266. """One of [DIST_USER, DIST_L1, DIST_L2, DIST_C, DIST_L12, DIST_FAIR, DIST_WELSCH, DIST_HUBER]"""
  267. DIST_MASK_3: int
  268. DIST_MASK_5: int
  269. DIST_MASK_PRECISE: int
  270. DistanceTransformMasks = int
  271. """One of [DIST_MASK_3, DIST_MASK_5, DIST_MASK_PRECISE]"""
  272. THRESH_BINARY: int
  273. THRESH_BINARY_INV: int
  274. THRESH_TRUNC: int
  275. THRESH_TOZERO: int
  276. THRESH_TOZERO_INV: int
  277. THRESH_MASK: int
  278. THRESH_OTSU: int
  279. THRESH_TRIANGLE: int
  280. THRESH_DRYRUN: int
  281. ThresholdTypes = int
  282. """One of [THRESH_BINARY, THRESH_BINARY_INV, THRESH_TRUNC, THRESH_TOZERO, THRESH_TOZERO_INV, THRESH_MASK, THRESH_OTSU, THRESH_TRIANGLE, THRESH_DRYRUN]"""
  283. ADAPTIVE_THRESH_MEAN_C: int
  284. ADAPTIVE_THRESH_GAUSSIAN_C: int
  285. AdaptiveThresholdTypes = int
  286. """One of [ADAPTIVE_THRESH_MEAN_C, ADAPTIVE_THRESH_GAUSSIAN_C]"""
  287. GC_BGD: int
  288. GC_FGD: int
  289. GC_PR_BGD: int
  290. GC_PR_FGD: int
  291. GrabCutClasses = int
  292. """One of [GC_BGD, GC_FGD, GC_PR_BGD, GC_PR_FGD]"""
  293. GC_INIT_WITH_RECT: int
  294. GC_INIT_WITH_MASK: int
  295. GC_EVAL: int
  296. GC_EVAL_FREEZE_MODEL: int
  297. GrabCutModes = int
  298. """One of [GC_INIT_WITH_RECT, GC_INIT_WITH_MASK, GC_EVAL, GC_EVAL_FREEZE_MODEL]"""
  299. DIST_LABEL_CCOMP: int
  300. DIST_LABEL_PIXEL: int
  301. DistanceTransformLabelTypes = int
  302. """One of [DIST_LABEL_CCOMP, DIST_LABEL_PIXEL]"""
  303. FLOODFILL_FIXED_RANGE: int
  304. FLOODFILL_MASK_ONLY: int
  305. FloodFillFlags = int
  306. """One of [FLOODFILL_FIXED_RANGE, FLOODFILL_MASK_ONLY]"""
  307. CC_STAT_LEFT: int
  308. CC_STAT_TOP: int
  309. CC_STAT_WIDTH: int
  310. CC_STAT_HEIGHT: int
  311. CC_STAT_AREA: int
  312. CC_STAT_MAX: int
  313. ConnectedComponentsTypes = int
  314. """One of [CC_STAT_LEFT, CC_STAT_TOP, CC_STAT_WIDTH, CC_STAT_HEIGHT, CC_STAT_AREA, CC_STAT_MAX]"""
  315. CCL_DEFAULT: int
  316. CCL_WU: int
  317. CCL_GRANA: int
  318. CCL_BOLELLI: int
  319. CCL_SAUF: int
  320. CCL_BBDT: int
  321. CCL_SPAGHETTI: int
  322. ConnectedComponentsAlgorithmsTypes = int
  323. """One of [CCL_DEFAULT, CCL_WU, CCL_GRANA, CCL_BOLELLI, CCL_SAUF, CCL_BBDT, CCL_SPAGHETTI]"""
  324. RETR_EXTERNAL: int
  325. RETR_LIST: int
  326. RETR_CCOMP: int
  327. RETR_TREE: int
  328. RETR_FLOODFILL: int
  329. RetrievalModes = int
  330. """One of [RETR_EXTERNAL, RETR_LIST, RETR_CCOMP, RETR_TREE, RETR_FLOODFILL]"""
  331. CHAIN_APPROX_NONE: int
  332. CHAIN_APPROX_SIMPLE: int
  333. CHAIN_APPROX_TC89_L1: int
  334. CHAIN_APPROX_TC89_KCOS: int
  335. ContourApproximationModes = int
  336. """One of [CHAIN_APPROX_NONE, CHAIN_APPROX_SIMPLE, CHAIN_APPROX_TC89_L1, CHAIN_APPROX_TC89_KCOS]"""
  337. CONTOURS_MATCH_I1: int
  338. CONTOURS_MATCH_I2: int
  339. CONTOURS_MATCH_I3: int
  340. ShapeMatchModes = int
  341. """One of [CONTOURS_MATCH_I1, CONTOURS_MATCH_I2, CONTOURS_MATCH_I3]"""
  342. HOUGH_STANDARD: int
  343. HOUGH_PROBABILISTIC: int
  344. HOUGH_MULTI_SCALE: int
  345. HOUGH_GRADIENT: int
  346. HOUGH_GRADIENT_ALT: int
  347. HoughModes = int
  348. """One of [HOUGH_STANDARD, HOUGH_PROBABILISTIC, HOUGH_MULTI_SCALE, HOUGH_GRADIENT, HOUGH_GRADIENT_ALT]"""
  349. LSD_REFINE_NONE: int
  350. LSD_REFINE_STD: int
  351. LSD_REFINE_ADV: int
  352. LineSegmentDetectorModes = int
  353. """One of [LSD_REFINE_NONE, LSD_REFINE_STD, LSD_REFINE_ADV]"""
  354. HISTCMP_CORREL: int
  355. HISTCMP_CHISQR: int
  356. HISTCMP_INTERSECT: int
  357. HISTCMP_BHATTACHARYYA: int
  358. HISTCMP_HELLINGER: int
  359. HISTCMP_CHISQR_ALT: int
  360. HISTCMP_KL_DIV: int
  361. HistCompMethods = int
  362. """One of [HISTCMP_CORREL, HISTCMP_CHISQR, HISTCMP_INTERSECT, HISTCMP_BHATTACHARYYA, HISTCMP_HELLINGER, HISTCMP_CHISQR_ALT, HISTCMP_KL_DIV]"""
  363. COLOR_BGR2BGRA: int
  364. COLOR_RGB2RGBA: int
  365. COLOR_BGRA2BGR: int
  366. COLOR_RGBA2RGB: int
  367. COLOR_BGR2RGBA: int
  368. COLOR_RGB2BGRA: int
  369. COLOR_RGBA2BGR: int
  370. COLOR_BGRA2RGB: int
  371. COLOR_BGR2RGB: int
  372. COLOR_RGB2BGR: int
  373. COLOR_BGRA2RGBA: int
  374. COLOR_RGBA2BGRA: int
  375. COLOR_BGR2GRAY: int
  376. COLOR_RGB2GRAY: int
  377. COLOR_GRAY2BGR: int
  378. COLOR_GRAY2RGB: int
  379. COLOR_GRAY2BGRA: int
  380. COLOR_GRAY2RGBA: int
  381. COLOR_BGRA2GRAY: int
  382. COLOR_RGBA2GRAY: int
  383. COLOR_BGR2BGR565: int
  384. COLOR_RGB2BGR565: int
  385. COLOR_BGR5652BGR: int
  386. COLOR_BGR5652RGB: int
  387. COLOR_BGRA2BGR565: int
  388. COLOR_RGBA2BGR565: int
  389. COLOR_BGR5652BGRA: int
  390. COLOR_BGR5652RGBA: int
  391. COLOR_GRAY2BGR565: int
  392. COLOR_BGR5652GRAY: int
  393. COLOR_BGR2BGR555: int
  394. COLOR_RGB2BGR555: int
  395. COLOR_BGR5552BGR: int
  396. COLOR_BGR5552RGB: int
  397. COLOR_BGRA2BGR555: int
  398. COLOR_RGBA2BGR555: int
  399. COLOR_BGR5552BGRA: int
  400. COLOR_BGR5552RGBA: int
  401. COLOR_GRAY2BGR555: int
  402. COLOR_BGR5552GRAY: int
  403. COLOR_BGR2XYZ: int
  404. COLOR_RGB2XYZ: int
  405. COLOR_XYZ2BGR: int
  406. COLOR_XYZ2RGB: int
  407. COLOR_BGR2YCrCb: int
  408. COLOR_BGR2YCR_CB: int
  409. COLOR_RGB2YCrCb: int
  410. COLOR_RGB2YCR_CB: int
  411. COLOR_YCrCb2BGR: int
  412. COLOR_YCR_CB2BGR: int
  413. COLOR_YCrCb2RGB: int
  414. COLOR_YCR_CB2RGB: int
  415. COLOR_BGR2HSV: int
  416. COLOR_RGB2HSV: int
  417. COLOR_BGR2Lab: int
  418. COLOR_BGR2LAB: int
  419. COLOR_RGB2Lab: int
  420. COLOR_RGB2LAB: int
  421. COLOR_BGR2Luv: int
  422. COLOR_BGR2LUV: int
  423. COLOR_RGB2Luv: int
  424. COLOR_RGB2LUV: int
  425. COLOR_BGR2HLS: int
  426. COLOR_RGB2HLS: int
  427. COLOR_HSV2BGR: int
  428. COLOR_HSV2RGB: int
  429. COLOR_Lab2BGR: int
  430. COLOR_LAB2BGR: int
  431. COLOR_Lab2RGB: int
  432. COLOR_LAB2RGB: int
  433. COLOR_Luv2BGR: int
  434. COLOR_LUV2BGR: int
  435. COLOR_Luv2RGB: int
  436. COLOR_LUV2RGB: int
  437. COLOR_HLS2BGR: int
  438. COLOR_HLS2RGB: int
  439. COLOR_BGR2HSV_FULL: int
  440. COLOR_RGB2HSV_FULL: int
  441. COLOR_BGR2HLS_FULL: int
  442. COLOR_RGB2HLS_FULL: int
  443. COLOR_HSV2BGR_FULL: int
  444. COLOR_HSV2RGB_FULL: int
  445. COLOR_HLS2BGR_FULL: int
  446. COLOR_HLS2RGB_FULL: int
  447. COLOR_LBGR2Lab: int
  448. COLOR_LBGR2LAB: int
  449. COLOR_LRGB2Lab: int
  450. COLOR_LRGB2LAB: int
  451. COLOR_LBGR2Luv: int
  452. COLOR_LBGR2LUV: int
  453. COLOR_LRGB2Luv: int
  454. COLOR_LRGB2LUV: int
  455. COLOR_Lab2LBGR: int
  456. COLOR_LAB2LBGR: int
  457. COLOR_Lab2LRGB: int
  458. COLOR_LAB2LRGB: int
  459. COLOR_Luv2LBGR: int
  460. COLOR_LUV2LBGR: int
  461. COLOR_Luv2LRGB: int
  462. COLOR_LUV2LRGB: int
  463. COLOR_BGR2YUV: int
  464. COLOR_RGB2YUV: int
  465. COLOR_YUV2BGR: int
  466. COLOR_YUV2RGB: int
  467. COLOR_YUV2RGB_NV12: int
  468. COLOR_YUV2BGR_NV12: int
  469. COLOR_YUV2RGB_NV21: int
  470. COLOR_YUV2BGR_NV21: int
  471. COLOR_YUV420sp2RGB: int
  472. COLOR_YUV420SP2RGB: int
  473. COLOR_YUV420sp2BGR: int
  474. COLOR_YUV420SP2BGR: int
  475. COLOR_YUV2RGBA_NV12: int
  476. COLOR_YUV2BGRA_NV12: int
  477. COLOR_YUV2RGBA_NV21: int
  478. COLOR_YUV2BGRA_NV21: int
  479. COLOR_YUV420sp2RGBA: int
  480. COLOR_YUV420SP2RGBA: int
  481. COLOR_YUV420sp2BGRA: int
  482. COLOR_YUV420SP2BGRA: int
  483. COLOR_YUV2RGB_YV12: int
  484. COLOR_YUV2BGR_YV12: int
  485. COLOR_YUV2RGB_IYUV: int
  486. COLOR_YUV2BGR_IYUV: int
  487. COLOR_YUV2RGB_I420: int
  488. COLOR_YUV2BGR_I420: int
  489. COLOR_YUV420p2RGB: int
  490. COLOR_YUV420P2RGB: int
  491. COLOR_YUV420p2BGR: int
  492. COLOR_YUV420P2BGR: int
  493. COLOR_YUV2RGBA_YV12: int
  494. COLOR_YUV2BGRA_YV12: int
  495. COLOR_YUV2RGBA_IYUV: int
  496. COLOR_YUV2BGRA_IYUV: int
  497. COLOR_YUV2RGBA_I420: int
  498. COLOR_YUV2BGRA_I420: int
  499. COLOR_YUV420p2RGBA: int
  500. COLOR_YUV420P2RGBA: int
  501. COLOR_YUV420p2BGRA: int
  502. COLOR_YUV420P2BGRA: int
  503. COLOR_YUV2GRAY_420: int
  504. COLOR_YUV2GRAY_NV21: int
  505. COLOR_YUV2GRAY_NV12: int
  506. COLOR_YUV2GRAY_YV12: int
  507. COLOR_YUV2GRAY_IYUV: int
  508. COLOR_YUV2GRAY_I420: int
  509. COLOR_YUV420sp2GRAY: int
  510. COLOR_YUV420SP2GRAY: int
  511. COLOR_YUV420p2GRAY: int
  512. COLOR_YUV420P2GRAY: int
  513. COLOR_YUV2RGB_UYVY: int
  514. COLOR_YUV2BGR_UYVY: int
  515. COLOR_YUV2RGB_Y422: int
  516. COLOR_YUV2BGR_Y422: int
  517. COLOR_YUV2RGB_UYNV: int
  518. COLOR_YUV2BGR_UYNV: int
  519. COLOR_YUV2RGBA_UYVY: int
  520. COLOR_YUV2BGRA_UYVY: int
  521. COLOR_YUV2RGBA_Y422: int
  522. COLOR_YUV2BGRA_Y422: int
  523. COLOR_YUV2RGBA_UYNV: int
  524. COLOR_YUV2BGRA_UYNV: int
  525. COLOR_YUV2RGB_YUY2: int
  526. COLOR_YUV2BGR_YUY2: int
  527. COLOR_YUV2RGB_YVYU: int
  528. COLOR_YUV2BGR_YVYU: int
  529. COLOR_YUV2RGB_YUYV: int
  530. COLOR_YUV2BGR_YUYV: int
  531. COLOR_YUV2RGB_YUNV: int
  532. COLOR_YUV2BGR_YUNV: int
  533. COLOR_YUV2RGBA_YUY2: int
  534. COLOR_YUV2BGRA_YUY2: int
  535. COLOR_YUV2RGBA_YVYU: int
  536. COLOR_YUV2BGRA_YVYU: int
  537. COLOR_YUV2RGBA_YUYV: int
  538. COLOR_YUV2BGRA_YUYV: int
  539. COLOR_YUV2RGBA_YUNV: int
  540. COLOR_YUV2BGRA_YUNV: int
  541. COLOR_YUV2GRAY_UYVY: int
  542. COLOR_YUV2GRAY_YUY2: int
  543. COLOR_YUV2GRAY_Y422: int
  544. COLOR_YUV2GRAY_UYNV: int
  545. COLOR_YUV2GRAY_YVYU: int
  546. COLOR_YUV2GRAY_YUYV: int
  547. COLOR_YUV2GRAY_YUNV: int
  548. COLOR_RGBA2mRGBA: int
  549. COLOR_RGBA2M_RGBA: int
  550. COLOR_mRGBA2RGBA: int
  551. COLOR_M_RGBA2RGBA: int
  552. COLOR_RGB2YUV_I420: int
  553. COLOR_BGR2YUV_I420: int
  554. COLOR_RGB2YUV_IYUV: int
  555. COLOR_BGR2YUV_IYUV: int
  556. COLOR_RGBA2YUV_I420: int
  557. COLOR_BGRA2YUV_I420: int
  558. COLOR_RGBA2YUV_IYUV: int
  559. COLOR_BGRA2YUV_IYUV: int
  560. COLOR_RGB2YUV_YV12: int
  561. COLOR_BGR2YUV_YV12: int
  562. COLOR_RGBA2YUV_YV12: int
  563. COLOR_BGRA2YUV_YV12: int
  564. COLOR_BayerBG2BGR: int
  565. COLOR_BAYER_BG2BGR: int
  566. COLOR_BayerGB2BGR: int
  567. COLOR_BAYER_GB2BGR: int
  568. COLOR_BayerRG2BGR: int
  569. COLOR_BAYER_RG2BGR: int
  570. COLOR_BayerGR2BGR: int
  571. COLOR_BAYER_GR2BGR: int
  572. COLOR_BayerRGGB2BGR: int
  573. COLOR_BAYER_RGGB2BGR: int
  574. COLOR_BayerGRBG2BGR: int
  575. COLOR_BAYER_GRBG2BGR: int
  576. COLOR_BayerBGGR2BGR: int
  577. COLOR_BAYER_BGGR2BGR: int
  578. COLOR_BayerGBRG2BGR: int
  579. COLOR_BAYER_GBRG2BGR: int
  580. COLOR_BayerRGGB2RGB: int
  581. COLOR_BAYER_RGGB2RGB: int
  582. COLOR_BayerGRBG2RGB: int
  583. COLOR_BAYER_GRBG2RGB: int
  584. COLOR_BayerBGGR2RGB: int
  585. COLOR_BAYER_BGGR2RGB: int
  586. COLOR_BayerGBRG2RGB: int
  587. COLOR_BAYER_GBRG2RGB: int
  588. COLOR_BayerBG2RGB: int
  589. COLOR_BAYER_BG2RGB: int
  590. COLOR_BayerGB2RGB: int
  591. COLOR_BAYER_GB2RGB: int
  592. COLOR_BayerRG2RGB: int
  593. COLOR_BAYER_RG2RGB: int
  594. COLOR_BayerGR2RGB: int
  595. COLOR_BAYER_GR2RGB: int
  596. COLOR_BayerBG2GRAY: int
  597. COLOR_BAYER_BG2GRAY: int
  598. COLOR_BayerGB2GRAY: int
  599. COLOR_BAYER_GB2GRAY: int
  600. COLOR_BayerRG2GRAY: int
  601. COLOR_BAYER_RG2GRAY: int
  602. COLOR_BayerGR2GRAY: int
  603. COLOR_BAYER_GR2GRAY: int
  604. COLOR_BayerRGGB2GRAY: int
  605. COLOR_BAYER_RGGB2GRAY: int
  606. COLOR_BayerGRBG2GRAY: int
  607. COLOR_BAYER_GRBG2GRAY: int
  608. COLOR_BayerBGGR2GRAY: int
  609. COLOR_BAYER_BGGR2GRAY: int
  610. COLOR_BayerGBRG2GRAY: int
  611. COLOR_BAYER_GBRG2GRAY: int
  612. COLOR_BayerBG2BGR_VNG: int
  613. COLOR_BAYER_BG2BGR_VNG: int
  614. COLOR_BayerGB2BGR_VNG: int
  615. COLOR_BAYER_GB2BGR_VNG: int
  616. COLOR_BayerRG2BGR_VNG: int
  617. COLOR_BAYER_RG2BGR_VNG: int
  618. COLOR_BayerGR2BGR_VNG: int
  619. COLOR_BAYER_GR2BGR_VNG: int
  620. COLOR_BayerRGGB2BGR_VNG: int
  621. COLOR_BAYER_RGGB2BGR_VNG: int
  622. COLOR_BayerGRBG2BGR_VNG: int
  623. COLOR_BAYER_GRBG2BGR_VNG: int
  624. COLOR_BayerBGGR2BGR_VNG: int
  625. COLOR_BAYER_BGGR2BGR_VNG: int
  626. COLOR_BayerGBRG2BGR_VNG: int
  627. COLOR_BAYER_GBRG2BGR_VNG: int
  628. COLOR_BayerRGGB2RGB_VNG: int
  629. COLOR_BAYER_RGGB2RGB_VNG: int
  630. COLOR_BayerGRBG2RGB_VNG: int
  631. COLOR_BAYER_GRBG2RGB_VNG: int
  632. COLOR_BayerBGGR2RGB_VNG: int
  633. COLOR_BAYER_BGGR2RGB_VNG: int
  634. COLOR_BayerGBRG2RGB_VNG: int
  635. COLOR_BAYER_GBRG2RGB_VNG: int
  636. COLOR_BayerBG2RGB_VNG: int
  637. COLOR_BAYER_BG2RGB_VNG: int
  638. COLOR_BayerGB2RGB_VNG: int
  639. COLOR_BAYER_GB2RGB_VNG: int
  640. COLOR_BayerRG2RGB_VNG: int
  641. COLOR_BAYER_RG2RGB_VNG: int
  642. COLOR_BayerGR2RGB_VNG: int
  643. COLOR_BAYER_GR2RGB_VNG: int
  644. COLOR_BayerBG2BGR_EA: int
  645. COLOR_BAYER_BG2BGR_EA: int
  646. COLOR_BayerGB2BGR_EA: int
  647. COLOR_BAYER_GB2BGR_EA: int
  648. COLOR_BayerRG2BGR_EA: int
  649. COLOR_BAYER_RG2BGR_EA: int
  650. COLOR_BayerGR2BGR_EA: int
  651. COLOR_BAYER_GR2BGR_EA: int
  652. COLOR_BayerRGGB2BGR_EA: int
  653. COLOR_BAYER_RGGB2BGR_EA: int
  654. COLOR_BayerGRBG2BGR_EA: int
  655. COLOR_BAYER_GRBG2BGR_EA: int
  656. COLOR_BayerBGGR2BGR_EA: int
  657. COLOR_BAYER_BGGR2BGR_EA: int
  658. COLOR_BayerGBRG2BGR_EA: int
  659. COLOR_BAYER_GBRG2BGR_EA: int
  660. COLOR_BayerRGGB2RGB_EA: int
  661. COLOR_BAYER_RGGB2RGB_EA: int
  662. COLOR_BayerGRBG2RGB_EA: int
  663. COLOR_BAYER_GRBG2RGB_EA: int
  664. COLOR_BayerBGGR2RGB_EA: int
  665. COLOR_BAYER_BGGR2RGB_EA: int
  666. COLOR_BayerGBRG2RGB_EA: int
  667. COLOR_BAYER_GBRG2RGB_EA: int
  668. COLOR_BayerBG2RGB_EA: int
  669. COLOR_BAYER_BG2RGB_EA: int
  670. COLOR_BayerGB2RGB_EA: int
  671. COLOR_BAYER_GB2RGB_EA: int
  672. COLOR_BayerRG2RGB_EA: int
  673. COLOR_BAYER_RG2RGB_EA: int
  674. COLOR_BayerGR2RGB_EA: int
  675. COLOR_BAYER_GR2RGB_EA: int
  676. COLOR_BayerBG2BGRA: int
  677. COLOR_BAYER_BG2BGRA: int
  678. COLOR_BayerGB2BGRA: int
  679. COLOR_BAYER_GB2BGRA: int
  680. COLOR_BayerRG2BGRA: int
  681. COLOR_BAYER_RG2BGRA: int
  682. COLOR_BayerGR2BGRA: int
  683. COLOR_BAYER_GR2BGRA: int
  684. COLOR_BayerRGGB2BGRA: int
  685. COLOR_BAYER_RGGB2BGRA: int
  686. COLOR_BayerGRBG2BGRA: int
  687. COLOR_BAYER_GRBG2BGRA: int
  688. COLOR_BayerBGGR2BGRA: int
  689. COLOR_BAYER_BGGR2BGRA: int
  690. COLOR_BayerGBRG2BGRA: int
  691. COLOR_BAYER_GBRG2BGRA: int
  692. COLOR_BayerRGGB2RGBA: int
  693. COLOR_BAYER_RGGB2RGBA: int
  694. COLOR_BayerGRBG2RGBA: int
  695. COLOR_BAYER_GRBG2RGBA: int
  696. COLOR_BayerBGGR2RGBA: int
  697. COLOR_BAYER_BGGR2RGBA: int
  698. COLOR_BayerGBRG2RGBA: int
  699. COLOR_BAYER_GBRG2RGBA: int
  700. COLOR_BayerBG2RGBA: int
  701. COLOR_BAYER_BG2RGBA: int
  702. COLOR_BayerGB2RGBA: int
  703. COLOR_BAYER_GB2RGBA: int
  704. COLOR_BayerRG2RGBA: int
  705. COLOR_BAYER_RG2RGBA: int
  706. COLOR_BayerGR2RGBA: int
  707. COLOR_BAYER_GR2RGBA: int
  708. COLOR_RGB2YUV_UYVY: int
  709. COLOR_BGR2YUV_UYVY: int
  710. COLOR_RGB2YUV_Y422: int
  711. COLOR_BGR2YUV_Y422: int
  712. COLOR_RGB2YUV_UYNV: int
  713. COLOR_BGR2YUV_UYNV: int
  714. COLOR_RGBA2YUV_UYVY: int
  715. COLOR_BGRA2YUV_UYVY: int
  716. COLOR_RGBA2YUV_Y422: int
  717. COLOR_BGRA2YUV_Y422: int
  718. COLOR_RGBA2YUV_UYNV: int
  719. COLOR_BGRA2YUV_UYNV: int
  720. COLOR_RGB2YUV_YUY2: int
  721. COLOR_BGR2YUV_YUY2: int
  722. COLOR_RGB2YUV_YVYU: int
  723. COLOR_BGR2YUV_YVYU: int
  724. COLOR_RGB2YUV_YUYV: int
  725. COLOR_BGR2YUV_YUYV: int
  726. COLOR_RGB2YUV_YUNV: int
  727. COLOR_BGR2YUV_YUNV: int
  728. COLOR_RGBA2YUV_YUY2: int
  729. COLOR_BGRA2YUV_YUY2: int
  730. COLOR_RGBA2YUV_YVYU: int
  731. COLOR_BGRA2YUV_YVYU: int
  732. COLOR_RGBA2YUV_YUYV: int
  733. COLOR_BGRA2YUV_YUYV: int
  734. COLOR_RGBA2YUV_YUNV: int
  735. COLOR_BGRA2YUV_YUNV: int
  736. COLOR_COLORCVT_MAX: int
  737. ColorConversionCodes = int
  738. """One of [COLOR_BGR2BGRA, COLOR_RGB2RGBA, COLOR_BGRA2BGR, COLOR_RGBA2RGB, COLOR_BGR2RGBA, COLOR_RGB2BGRA, COLOR_RGBA2BGR, COLOR_BGRA2RGB, COLOR_BGR2RGB, COLOR_RGB2BGR, COLOR_BGRA2RGBA, COLOR_RGBA2BGRA, COLOR_BGR2GRAY, COLOR_RGB2GRAY, COLOR_GRAY2BGR, COLOR_GRAY2RGB, COLOR_GRAY2BGRA, COLOR_GRAY2RGBA, COLOR_BGRA2GRAY, COLOR_RGBA2GRAY, COLOR_BGR2BGR565, COLOR_RGB2BGR565, COLOR_BGR5652BGR, COLOR_BGR5652RGB, COLOR_BGRA2BGR565, COLOR_RGBA2BGR565, COLOR_BGR5652BGRA, COLOR_BGR5652RGBA, COLOR_GRAY2BGR565, COLOR_BGR5652GRAY, COLOR_BGR2BGR555, COLOR_RGB2BGR555, COLOR_BGR5552BGR, COLOR_BGR5552RGB, COLOR_BGRA2BGR555, COLOR_RGBA2BGR555, COLOR_BGR5552BGRA, COLOR_BGR5552RGBA, COLOR_GRAY2BGR555, COLOR_BGR5552GRAY, COLOR_BGR2XYZ, COLOR_RGB2XYZ, COLOR_XYZ2BGR, COLOR_XYZ2RGB, COLOR_BGR2YCrCb, COLOR_BGR2YCR_CB, COLOR_RGB2YCrCb, COLOR_RGB2YCR_CB, COLOR_YCrCb2BGR, COLOR_YCR_CB2BGR, COLOR_YCrCb2RGB, COLOR_YCR_CB2RGB, COLOR_BGR2HSV, COLOR_RGB2HSV, COLOR_BGR2Lab, COLOR_BGR2LAB, COLOR_RGB2Lab, COLOR_RGB2LAB, COLOR_BGR2Luv, COLOR_BGR2LUV, COLOR_RGB2Luv, COLOR_RGB2LUV, COLOR_BGR2HLS, COLOR_RGB2HLS, COLOR_HSV2BGR, COLOR_HSV2RGB, COLOR_Lab2BGR, COLOR_LAB2BGR, COLOR_Lab2RGB, COLOR_LAB2RGB, COLOR_Luv2BGR, COLOR_LUV2BGR, COLOR_Luv2RGB, COLOR_LUV2RGB, COLOR_HLS2BGR, COLOR_HLS2RGB, COLOR_BGR2HSV_FULL, COLOR_RGB2HSV_FULL, COLOR_BGR2HLS_FULL, COLOR_RGB2HLS_FULL, COLOR_HSV2BGR_FULL, COLOR_HSV2RGB_FULL, COLOR_HLS2BGR_FULL, COLOR_HLS2RGB_FULL, COLOR_LBGR2Lab, COLOR_LBGR2LAB, COLOR_LRGB2Lab, COLOR_LRGB2LAB, COLOR_LBGR2Luv, COLOR_LBGR2LUV, COLOR_LRGB2Luv, COLOR_LRGB2LUV, COLOR_Lab2LBGR, COLOR_LAB2LBGR, COLOR_Lab2LRGB, COLOR_LAB2LRGB, COLOR_Luv2LBGR, COLOR_LUV2LBGR, COLOR_Luv2LRGB, COLOR_LUV2LRGB, COLOR_BGR2YUV, COLOR_RGB2YUV, COLOR_YUV2BGR, COLOR_YUV2RGB, COLOR_YUV2RGB_NV12, COLOR_YUV2BGR_NV12, COLOR_YUV2RGB_NV21, COLOR_YUV2BGR_NV21, COLOR_YUV420sp2RGB, COLOR_YUV420SP2RGB, COLOR_YUV420sp2BGR, COLOR_YUV420SP2BGR, COLOR_YUV2RGBA_NV12, COLOR_YUV2BGRA_NV12, COLOR_YUV2RGBA_NV21, COLOR_YUV2BGRA_NV21, COLOR_YUV420sp2RGBA, COLOR_YUV420SP2RGBA, COLOR_YUV420sp2BGRA, COLOR_YUV420SP2BGRA, COLOR_YUV2RGB_YV12, COLOR_YUV2BGR_YV12, COLOR_YUV2RGB_IYUV, COLOR_YUV2BGR_IYUV, COLOR_YUV2RGB_I420, COLOR_YUV2BGR_I420, COLOR_YUV420p2RGB, COLOR_YUV420P2RGB, COLOR_YUV420p2BGR, COLOR_YUV420P2BGR, COLOR_YUV2RGBA_YV12, COLOR_YUV2BGRA_YV12, COLOR_YUV2RGBA_IYUV, COLOR_YUV2BGRA_IYUV, COLOR_YUV2RGBA_I420, COLOR_YUV2BGRA_I420, COLOR_YUV420p2RGBA, COLOR_YUV420P2RGBA, COLOR_YUV420p2BGRA, COLOR_YUV420P2BGRA, COLOR_YUV2GRAY_420, COLOR_YUV2GRAY_NV21, COLOR_YUV2GRAY_NV12, COLOR_YUV2GRAY_YV12, COLOR_YUV2GRAY_IYUV, COLOR_YUV2GRAY_I420, COLOR_YUV420sp2GRAY, COLOR_YUV420SP2GRAY, COLOR_YUV420p2GRAY, COLOR_YUV420P2GRAY, COLOR_YUV2RGB_UYVY, COLOR_YUV2BGR_UYVY, COLOR_YUV2RGB_Y422, COLOR_YUV2BGR_Y422, COLOR_YUV2RGB_UYNV, COLOR_YUV2BGR_UYNV, COLOR_YUV2RGBA_UYVY, COLOR_YUV2BGRA_UYVY, COLOR_YUV2RGBA_Y422, COLOR_YUV2BGRA_Y422, COLOR_YUV2RGBA_UYNV, COLOR_YUV2BGRA_UYNV, COLOR_YUV2RGB_YUY2, COLOR_YUV2BGR_YUY2, COLOR_YUV2RGB_YVYU, COLOR_YUV2BGR_YVYU, COLOR_YUV2RGB_YUYV, COLOR_YUV2BGR_YUYV, COLOR_YUV2RGB_YUNV, COLOR_YUV2BGR_YUNV, COLOR_YUV2RGBA_YUY2, COLOR_YUV2BGRA_YUY2, COLOR_YUV2RGBA_YVYU, COLOR_YUV2BGRA_YVYU, COLOR_YUV2RGBA_YUYV, COLOR_YUV2BGRA_YUYV, COLOR_YUV2RGBA_YUNV, COLOR_YUV2BGRA_YUNV, COLOR_YUV2GRAY_UYVY, COLOR_YUV2GRAY_YUY2, COLOR_YUV2GRAY_Y422, COLOR_YUV2GRAY_UYNV, COLOR_YUV2GRAY_YVYU, COLOR_YUV2GRAY_YUYV, COLOR_YUV2GRAY_YUNV, COLOR_RGBA2mRGBA, COLOR_RGBA2M_RGBA, COLOR_mRGBA2RGBA, COLOR_M_RGBA2RGBA, COLOR_RGB2YUV_I420, COLOR_BGR2YUV_I420, COLOR_RGB2YUV_IYUV, COLOR_BGR2YUV_IYUV, COLOR_RGBA2YUV_I420, COLOR_BGRA2YUV_I420, COLOR_RGBA2YUV_IYUV, COLOR_BGRA2YUV_IYUV, COLOR_RGB2YUV_YV12, COLOR_BGR2YUV_YV12, COLOR_RGBA2YUV_YV12, COLOR_BGRA2YUV_YV12, COLOR_BayerBG2BGR, COLOR_BAYER_BG2BGR, COLOR_BayerGB2BGR, COLOR_BAYER_GB2BGR, COLOR_BayerRG2BGR, COLOR_BAYER_RG2BGR, COLOR_BayerGR2BGR, COLOR_BAYER_GR2BGR, COLOR_BayerRGGB2BGR, COLOR_BAYER_RGGB2BGR, COLOR_BayerGRBG2BGR, COLOR_BAYER_GRBG2BGR, COLOR_BayerBGGR2BGR, COLOR_BAYER_BGGR2BGR, COLOR_BayerGBRG2BGR, COLOR_BAYER_GBRG2BGR, COLOR_BayerRGGB2RGB, COLOR_BAYER_RGGB2RGB, COLOR_BayerGRBG2RGB, COLOR_BAYER_GRBG2RGB, COLOR_BayerBGGR2RGB, COLOR_BAYER_BGGR2RGB, COLOR_BayerGBRG2RGB, COLOR_BAYER_GBRG2RGB, COLOR_BayerBG2RGB, COLOR_BAYER_BG2RGB, COLOR_BayerGB2RGB, COLOR_BAYER_GB2RGB, COLOR_BayerRG2RGB, COLOR_BAYER_RG2RGB, COLOR_BayerGR2RGB, COLOR_BAYER_GR2RGB, COLOR_BayerBG2GRAY, COLOR_BAYER_BG2GRAY, COLOR_BayerGB2GRAY, COLOR_BAYER_GB2GRAY, COLOR_BayerRG2GRAY, COLOR_BAYER_RG2GRAY, COLOR_BayerGR2GRAY, COLOR_BAYER_GR2GRAY, COLOR_BayerRGGB2GRAY, COLOR_BAYER_RGGB2GRAY, COLOR_BayerGRBG2GRAY, COLOR_BAYER_GRBG2GRAY, COLOR_BayerBGGR2GRAY, COLOR_BAYER_BGGR2GRAY, COLOR_BayerGBRG2GRAY, COLOR_BAYER_GBRG2GRAY, COLOR_BayerBG2BGR_VNG, COLOR_BAYER_BG2BGR_VNG, COLOR_BayerGB2BGR_VNG, COLOR_BAYER_GB2BGR_VNG, COLOR_BayerRG2BGR_VNG, COLOR_BAYER_RG2BGR_VNG, COLOR_BayerGR2BGR_VNG, COLOR_BAYER_GR2BGR_VNG, COLOR_BayerRGGB2BGR_VNG, COLOR_BAYER_RGGB2BGR_VNG, COLOR_BayerGRBG2BGR_VNG, COLOR_BAYER_GRBG2BGR_VNG, COLOR_BayerBGGR2BGR_VNG, COLOR_BAYER_BGGR2BGR_VNG, COLOR_BayerGBRG2BGR_VNG, COLOR_BAYER_GBRG2BGR_VNG, COLOR_BayerRGGB2RGB_VNG, COLOR_BAYER_RGGB2RGB_VNG, COLOR_BayerGRBG2RGB_VNG, COLOR_BAYER_GRBG2RGB_VNG, COLOR_BayerBGGR2RGB_VNG, COLOR_BAYER_BGGR2RGB_VNG, COLOR_BayerGBRG2RGB_VNG, COLOR_BAYER_GBRG2RGB_VNG, COLOR_BayerBG2RGB_VNG, COLOR_BAYER_BG2RGB_VNG, COLOR_BayerGB2RGB_VNG, COLOR_BAYER_GB2RGB_VNG, COLOR_BayerRG2RGB_VNG, COLOR_BAYER_RG2RGB_VNG, COLOR_BayerGR2RGB_VNG, COLOR_BAYER_GR2RGB_VNG, COLOR_BayerBG2BGR_EA, COLOR_BAYER_BG2BGR_EA, COLOR_BayerGB2BGR_EA, COLOR_BAYER_GB2BGR_EA, COLOR_BayerRG2BGR_EA, COLOR_BAYER_RG2BGR_EA, COLOR_BayerGR2BGR_EA, COLOR_BAYER_GR2BGR_EA, COLOR_BayerRGGB2BGR_EA, COLOR_BAYER_RGGB2BGR_EA, COLOR_BayerGRBG2BGR_EA, COLOR_BAYER_GRBG2BGR_EA, COLOR_BayerBGGR2BGR_EA, COLOR_BAYER_BGGR2BGR_EA, COLOR_BayerGBRG2BGR_EA, COLOR_BAYER_GBRG2BGR_EA, COLOR_BayerRGGB2RGB_EA, COLOR_BAYER_RGGB2RGB_EA, COLOR_BayerGRBG2RGB_EA, COLOR_BAYER_GRBG2RGB_EA, COLOR_BayerBGGR2RGB_EA, COLOR_BAYER_BGGR2RGB_EA, COLOR_BayerGBRG2RGB_EA, COLOR_BAYER_GBRG2RGB_EA, COLOR_BayerBG2RGB_EA, COLOR_BAYER_BG2RGB_EA, COLOR_BayerGB2RGB_EA, COLOR_BAYER_GB2RGB_EA, COLOR_BayerRG2RGB_EA, COLOR_BAYER_RG2RGB_EA, COLOR_BayerGR2RGB_EA, COLOR_BAYER_GR2RGB_EA, COLOR_BayerBG2BGRA, COLOR_BAYER_BG2BGRA, COLOR_BayerGB2BGRA, COLOR_BAYER_GB2BGRA, COLOR_BayerRG2BGRA, COLOR_BAYER_RG2BGRA, COLOR_BayerGR2BGRA, COLOR_BAYER_GR2BGRA, COLOR_BayerRGGB2BGRA, COLOR_BAYER_RGGB2BGRA, COLOR_BayerGRBG2BGRA, COLOR_BAYER_GRBG2BGRA, COLOR_BayerBGGR2BGRA, COLOR_BAYER_BGGR2BGRA, COLOR_BayerGBRG2BGRA, COLOR_BAYER_GBRG2BGRA, COLOR_BayerRGGB2RGBA, COLOR_BAYER_RGGB2RGBA, COLOR_BayerGRBG2RGBA, COLOR_BAYER_GRBG2RGBA, COLOR_BayerBGGR2RGBA, COLOR_BAYER_BGGR2RGBA, COLOR_BayerGBRG2RGBA, COLOR_BAYER_GBRG2RGBA, COLOR_BayerBG2RGBA, COLOR_BAYER_BG2RGBA, COLOR_BayerGB2RGBA, COLOR_BAYER_GB2RGBA, COLOR_BayerRG2RGBA, COLOR_BAYER_RG2RGBA, COLOR_BayerGR2RGBA, COLOR_BAYER_GR2RGBA, COLOR_RGB2YUV_UYVY, COLOR_BGR2YUV_UYVY, COLOR_RGB2YUV_Y422, COLOR_BGR2YUV_Y422, COLOR_RGB2YUV_UYNV, COLOR_BGR2YUV_UYNV, COLOR_RGBA2YUV_UYVY, COLOR_BGRA2YUV_UYVY, COLOR_RGBA2YUV_Y422, COLOR_BGRA2YUV_Y422, COLOR_RGBA2YUV_UYNV, COLOR_BGRA2YUV_UYNV, COLOR_RGB2YUV_YUY2, COLOR_BGR2YUV_YUY2, COLOR_RGB2YUV_YVYU, COLOR_BGR2YUV_YVYU, COLOR_RGB2YUV_YUYV, COLOR_BGR2YUV_YUYV, COLOR_RGB2YUV_YUNV, COLOR_BGR2YUV_YUNV, COLOR_RGBA2YUV_YUY2, COLOR_BGRA2YUV_YUY2, COLOR_RGBA2YUV_YVYU, COLOR_BGRA2YUV_YVYU, COLOR_RGBA2YUV_YUYV, COLOR_BGRA2YUV_YUYV, COLOR_RGBA2YUV_YUNV, COLOR_BGRA2YUV_YUNV, COLOR_COLORCVT_MAX]"""
  739. INTERSECT_NONE: int
  740. INTERSECT_PARTIAL: int
  741. INTERSECT_FULL: int
  742. RectanglesIntersectTypes = int
  743. """One of [INTERSECT_NONE, INTERSECT_PARTIAL, INTERSECT_FULL]"""
  744. FILLED: int
  745. LINE_4: int
  746. LINE_8: int
  747. LINE_AA: int
  748. LineTypes = int
  749. """One of [FILLED, LINE_4, LINE_8, LINE_AA]"""
  750. FONT_HERSHEY_SIMPLEX: int
  751. FONT_HERSHEY_PLAIN: int
  752. FONT_HERSHEY_DUPLEX: int
  753. FONT_HERSHEY_COMPLEX: int
  754. FONT_HERSHEY_TRIPLEX: int
  755. FONT_HERSHEY_COMPLEX_SMALL: int
  756. FONT_HERSHEY_SCRIPT_SIMPLEX: int
  757. FONT_HERSHEY_SCRIPT_COMPLEX: int
  758. FONT_ITALIC: int
  759. HersheyFonts = int
  760. """One of [FONT_HERSHEY_SIMPLEX, FONT_HERSHEY_PLAIN, FONT_HERSHEY_DUPLEX, FONT_HERSHEY_COMPLEX, FONT_HERSHEY_TRIPLEX, FONT_HERSHEY_COMPLEX_SMALL, FONT_HERSHEY_SCRIPT_SIMPLEX, FONT_HERSHEY_SCRIPT_COMPLEX, FONT_ITALIC]"""
  761. MARKER_CROSS: int
  762. MARKER_TILTED_CROSS: int
  763. MARKER_STAR: int
  764. MARKER_DIAMOND: int
  765. MARKER_SQUARE: int
  766. MARKER_TRIANGLE_UP: int
  767. MARKER_TRIANGLE_DOWN: int
  768. MarkerTypes = int
  769. """One of [MARKER_CROSS, MARKER_TILTED_CROSS, MARKER_STAR, MARKER_DIAMOND, MARKER_SQUARE, MARKER_TRIANGLE_UP, MARKER_TRIANGLE_DOWN]"""
  770. TM_SQDIFF: int
  771. TM_SQDIFF_NORMED: int
  772. TM_CCORR: int
  773. TM_CCORR_NORMED: int
  774. TM_CCOEFF: int
  775. TM_CCOEFF_NORMED: int
  776. TemplateMatchModes = int
  777. """One of [TM_SQDIFF, TM_SQDIFF_NORMED, TM_CCORR, TM_CCORR_NORMED, TM_CCOEFF, TM_CCOEFF_NORMED]"""
  778. COLORMAP_AUTUMN: int
  779. COLORMAP_BONE: int
  780. COLORMAP_JET: int
  781. COLORMAP_WINTER: int
  782. COLORMAP_RAINBOW: int
  783. COLORMAP_OCEAN: int
  784. COLORMAP_SUMMER: int
  785. COLORMAP_SPRING: int
  786. COLORMAP_COOL: int
  787. COLORMAP_HSV: int
  788. COLORMAP_PINK: int
  789. COLORMAP_HOT: int
  790. COLORMAP_PARULA: int
  791. COLORMAP_MAGMA: int
  792. COLORMAP_INFERNO: int
  793. COLORMAP_PLASMA: int
  794. COLORMAP_VIRIDIS: int
  795. COLORMAP_CIVIDIS: int
  796. COLORMAP_TWILIGHT: int
  797. COLORMAP_TWILIGHT_SHIFTED: int
  798. COLORMAP_TURBO: int
  799. COLORMAP_DEEPGREEN: int
  800. ColormapTypes = int
  801. """One of [COLORMAP_AUTUMN, COLORMAP_BONE, COLORMAP_JET, COLORMAP_WINTER, COLORMAP_RAINBOW, COLORMAP_OCEAN, COLORMAP_SUMMER, COLORMAP_SPRING, COLORMAP_COOL, COLORMAP_HSV, COLORMAP_PINK, COLORMAP_HOT, COLORMAP_PARULA, COLORMAP_MAGMA, COLORMAP_INFERNO, COLORMAP_PLASMA, COLORMAP_VIRIDIS, COLORMAP_CIVIDIS, COLORMAP_TWILIGHT, COLORMAP_TWILIGHT_SHIFTED, COLORMAP_TURBO, COLORMAP_DEEPGREEN]"""
  802. INPAINT_NS: int
  803. INPAINT_TELEA: int
  804. LDR_SIZE: int
  805. RECURS_FILTER: int
  806. NORMCONV_FILTER: int
  807. CAP_PROP_DC1394_OFF: int
  808. CAP_PROP_DC1394_MODE_MANUAL: int
  809. CAP_PROP_DC1394_MODE_AUTO: int
  810. CAP_PROP_DC1394_MODE_ONE_PUSH_AUTO: int
  811. CAP_PROP_DC1394_MAX: int
  812. CAP_OPENNI_DEPTH_GENERATOR: int
  813. CAP_OPENNI_IMAGE_GENERATOR: int
  814. CAP_OPENNI_IR_GENERATOR: int
  815. CAP_OPENNI_GENERATORS_MASK: int
  816. CAP_PROP_OPENNI_OUTPUT_MODE: int
  817. CAP_PROP_OPENNI_FRAME_MAX_DEPTH: int
  818. CAP_PROP_OPENNI_BASELINE: int
  819. CAP_PROP_OPENNI_FOCAL_LENGTH: int
  820. CAP_PROP_OPENNI_REGISTRATION: int
  821. CAP_PROP_OPENNI_REGISTRATION_ON: int
  822. CAP_PROP_OPENNI_APPROX_FRAME_SYNC: int
  823. CAP_PROP_OPENNI_MAX_BUFFER_SIZE: int
  824. CAP_PROP_OPENNI_CIRCLE_BUFFER: int
  825. CAP_PROP_OPENNI_MAX_TIME_DURATION: int
  826. CAP_PROP_OPENNI_GENERATOR_PRESENT: int
  827. CAP_PROP_OPENNI2_SYNC: int
  828. CAP_PROP_OPENNI2_MIRROR: int
  829. CAP_OPENNI_IMAGE_GENERATOR_PRESENT: int
  830. CAP_OPENNI_IMAGE_GENERATOR_OUTPUT_MODE: int
  831. CAP_OPENNI_DEPTH_GENERATOR_PRESENT: int
  832. CAP_OPENNI_DEPTH_GENERATOR_BASELINE: int
  833. CAP_OPENNI_DEPTH_GENERATOR_FOCAL_LENGTH: int
  834. CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION: int
  835. CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION_ON: int
  836. CAP_OPENNI_IR_GENERATOR_PRESENT: int
  837. CAP_OPENNI_DEPTH_MAP: int
  838. CAP_OPENNI_POINT_CLOUD_MAP: int
  839. CAP_OPENNI_DISPARITY_MAP: int
  840. CAP_OPENNI_DISPARITY_MAP_32F: int
  841. CAP_OPENNI_VALID_DEPTH_MASK: int
  842. CAP_OPENNI_BGR_IMAGE: int
  843. CAP_OPENNI_GRAY_IMAGE: int
  844. CAP_OPENNI_IR_IMAGE: int
  845. CAP_OPENNI_VGA_30HZ: int
  846. CAP_OPENNI_SXGA_15HZ: int
  847. CAP_OPENNI_SXGA_30HZ: int
  848. CAP_OPENNI_QVGA_30HZ: int
  849. CAP_OPENNI_QVGA_60HZ: int
  850. CAP_PROP_GSTREAMER_QUEUE_LENGTH: int
  851. CAP_PROP_PVAPI_MULTICASTIP: int
  852. CAP_PROP_PVAPI_FRAMESTARTTRIGGERMODE: int
  853. CAP_PROP_PVAPI_DECIMATIONHORIZONTAL: int
  854. CAP_PROP_PVAPI_DECIMATIONVERTICAL: int
  855. CAP_PROP_PVAPI_BINNINGX: int
  856. CAP_PROP_PVAPI_BINNINGY: int
  857. CAP_PROP_PVAPI_PIXELFORMAT: int
  858. CAP_PVAPI_FSTRIGMODE_FREERUN: int
  859. CAP_PVAPI_FSTRIGMODE_SYNCIN1: int
  860. CAP_PVAPI_FSTRIGMODE_SYNCIN2: int
  861. CAP_PVAPI_FSTRIGMODE_FIXEDRATE: int
  862. CAP_PVAPI_FSTRIGMODE_SOFTWARE: int
  863. CAP_PVAPI_DECIMATION_OFF: int
  864. CAP_PVAPI_DECIMATION_2OUTOF4: int
  865. CAP_PVAPI_DECIMATION_2OUTOF8: int
  866. CAP_PVAPI_DECIMATION_2OUTOF16: int
  867. CAP_PVAPI_PIXELFORMAT_MONO8: int
  868. CAP_PVAPI_PIXELFORMAT_MONO16: int
  869. CAP_PVAPI_PIXELFORMAT_BAYER8: int
  870. CAP_PVAPI_PIXELFORMAT_BAYER16: int
  871. CAP_PVAPI_PIXELFORMAT_RGB24: int
  872. CAP_PVAPI_PIXELFORMAT_BGR24: int
  873. CAP_PVAPI_PIXELFORMAT_RGBA32: int
  874. CAP_PVAPI_PIXELFORMAT_BGRA32: int
  875. CAP_PROP_XI_DOWNSAMPLING: int
  876. CAP_PROP_XI_DATA_FORMAT: int
  877. CAP_PROP_XI_OFFSET_X: int
  878. CAP_PROP_XI_OFFSET_Y: int
  879. CAP_PROP_XI_TRG_SOURCE: int
  880. CAP_PROP_XI_TRG_SOFTWARE: int
  881. CAP_PROP_XI_GPI_SELECTOR: int
  882. CAP_PROP_XI_GPI_MODE: int
  883. CAP_PROP_XI_GPI_LEVEL: int
  884. CAP_PROP_XI_GPO_SELECTOR: int
  885. CAP_PROP_XI_GPO_MODE: int
  886. CAP_PROP_XI_LED_SELECTOR: int
  887. CAP_PROP_XI_LED_MODE: int
  888. CAP_PROP_XI_MANUAL_WB: int
  889. CAP_PROP_XI_AUTO_WB: int
  890. CAP_PROP_XI_AEAG: int
  891. CAP_PROP_XI_EXP_PRIORITY: int
  892. CAP_PROP_XI_AE_MAX_LIMIT: int
  893. CAP_PROP_XI_AG_MAX_LIMIT: int
  894. CAP_PROP_XI_AEAG_LEVEL: int
  895. CAP_PROP_XI_TIMEOUT: int
  896. CAP_PROP_XI_EXPOSURE: int
  897. CAP_PROP_XI_EXPOSURE_BURST_COUNT: int
  898. CAP_PROP_XI_GAIN_SELECTOR: int
  899. CAP_PROP_XI_GAIN: int
  900. CAP_PROP_XI_DOWNSAMPLING_TYPE: int
  901. CAP_PROP_XI_BINNING_SELECTOR: int
  902. CAP_PROP_XI_BINNING_VERTICAL: int
  903. CAP_PROP_XI_BINNING_HORIZONTAL: int
  904. CAP_PROP_XI_BINNING_PATTERN: int
  905. CAP_PROP_XI_DECIMATION_SELECTOR: int
  906. CAP_PROP_XI_DECIMATION_VERTICAL: int
  907. CAP_PROP_XI_DECIMATION_HORIZONTAL: int
  908. CAP_PROP_XI_DECIMATION_PATTERN: int
  909. CAP_PROP_XI_TEST_PATTERN_GENERATOR_SELECTOR: int
  910. CAP_PROP_XI_TEST_PATTERN: int
  911. CAP_PROP_XI_IMAGE_DATA_FORMAT: int
  912. CAP_PROP_XI_SHUTTER_TYPE: int
  913. CAP_PROP_XI_SENSOR_TAPS: int
  914. CAP_PROP_XI_AEAG_ROI_OFFSET_X: int
  915. CAP_PROP_XI_AEAG_ROI_OFFSET_Y: int
  916. CAP_PROP_XI_AEAG_ROI_WIDTH: int
  917. CAP_PROP_XI_AEAG_ROI_HEIGHT: int
  918. CAP_PROP_XI_BPC: int
  919. CAP_PROP_XI_WB_KR: int
  920. CAP_PROP_XI_WB_KG: int
  921. CAP_PROP_XI_WB_KB: int
  922. CAP_PROP_XI_WIDTH: int
  923. CAP_PROP_XI_HEIGHT: int
  924. CAP_PROP_XI_REGION_SELECTOR: int
  925. CAP_PROP_XI_REGION_MODE: int
  926. CAP_PROP_XI_LIMIT_BANDWIDTH: int
  927. CAP_PROP_XI_SENSOR_DATA_BIT_DEPTH: int
  928. CAP_PROP_XI_OUTPUT_DATA_BIT_DEPTH: int
  929. CAP_PROP_XI_IMAGE_DATA_BIT_DEPTH: int
  930. CAP_PROP_XI_OUTPUT_DATA_PACKING: int
  931. CAP_PROP_XI_OUTPUT_DATA_PACKING_TYPE: int
  932. CAP_PROP_XI_IS_COOLED: int
  933. CAP_PROP_XI_COOLING: int
  934. CAP_PROP_XI_TARGET_TEMP: int
  935. CAP_PROP_XI_CHIP_TEMP: int
  936. CAP_PROP_XI_HOUS_TEMP: int
  937. CAP_PROP_XI_HOUS_BACK_SIDE_TEMP: int
  938. CAP_PROP_XI_SENSOR_BOARD_TEMP: int
  939. CAP_PROP_XI_CMS: int
  940. CAP_PROP_XI_APPLY_CMS: int
  941. CAP_PROP_XI_IMAGE_IS_COLOR: int
  942. CAP_PROP_XI_COLOR_FILTER_ARRAY: int
  943. CAP_PROP_XI_GAMMAY: int
  944. CAP_PROP_XI_GAMMAC: int
  945. CAP_PROP_XI_SHARPNESS: int
  946. CAP_PROP_XI_CC_MATRIX_00: int
  947. CAP_PROP_XI_CC_MATRIX_01: int
  948. CAP_PROP_XI_CC_MATRIX_02: int
  949. CAP_PROP_XI_CC_MATRIX_03: int
  950. CAP_PROP_XI_CC_MATRIX_10: int
  951. CAP_PROP_XI_CC_MATRIX_11: int
  952. CAP_PROP_XI_CC_MATRIX_12: int
  953. CAP_PROP_XI_CC_MATRIX_13: int
  954. CAP_PROP_XI_CC_MATRIX_20: int
  955. CAP_PROP_XI_CC_MATRIX_21: int
  956. CAP_PROP_XI_CC_MATRIX_22: int
  957. CAP_PROP_XI_CC_MATRIX_23: int
  958. CAP_PROP_XI_CC_MATRIX_30: int
  959. CAP_PROP_XI_CC_MATRIX_31: int
  960. CAP_PROP_XI_CC_MATRIX_32: int
  961. CAP_PROP_XI_CC_MATRIX_33: int
  962. CAP_PROP_XI_DEFAULT_CC_MATRIX: int
  963. CAP_PROP_XI_TRG_SELECTOR: int
  964. CAP_PROP_XI_ACQ_FRAME_BURST_COUNT: int
  965. CAP_PROP_XI_DEBOUNCE_EN: int
  966. CAP_PROP_XI_DEBOUNCE_T0: int
  967. CAP_PROP_XI_DEBOUNCE_T1: int
  968. CAP_PROP_XI_DEBOUNCE_POL: int
  969. CAP_PROP_XI_LENS_MODE: int
  970. CAP_PROP_XI_LENS_APERTURE_VALUE: int
  971. CAP_PROP_XI_LENS_FOCUS_MOVEMENT_VALUE: int
  972. CAP_PROP_XI_LENS_FOCUS_MOVE: int
  973. CAP_PROP_XI_LENS_FOCUS_DISTANCE: int
  974. CAP_PROP_XI_LENS_FOCAL_LENGTH: int
  975. CAP_PROP_XI_LENS_FEATURE_SELECTOR: int
  976. CAP_PROP_XI_LENS_FEATURE: int
  977. CAP_PROP_XI_DEVICE_MODEL_ID: int
  978. CAP_PROP_XI_DEVICE_SN: int
  979. CAP_PROP_XI_IMAGE_DATA_FORMAT_RGB32_ALPHA: int
  980. CAP_PROP_XI_IMAGE_PAYLOAD_SIZE: int
  981. CAP_PROP_XI_TRANSPORT_PIXEL_FORMAT: int
  982. CAP_PROP_XI_SENSOR_CLOCK_FREQ_HZ: int
  983. CAP_PROP_XI_SENSOR_CLOCK_FREQ_INDEX: int
  984. CAP_PROP_XI_SENSOR_OUTPUT_CHANNEL_COUNT: int
  985. CAP_PROP_XI_FRAMERATE: int
  986. CAP_PROP_XI_COUNTER_SELECTOR: int
  987. CAP_PROP_XI_COUNTER_VALUE: int
  988. CAP_PROP_XI_ACQ_TIMING_MODE: int
  989. CAP_PROP_XI_AVAILABLE_BANDWIDTH: int
  990. CAP_PROP_XI_BUFFER_POLICY: int
  991. CAP_PROP_XI_LUT_EN: int
  992. CAP_PROP_XI_LUT_INDEX: int
  993. CAP_PROP_XI_LUT_VALUE: int
  994. CAP_PROP_XI_TRG_DELAY: int
  995. CAP_PROP_XI_TS_RST_MODE: int
  996. CAP_PROP_XI_TS_RST_SOURCE: int
  997. CAP_PROP_XI_IS_DEVICE_EXIST: int
  998. CAP_PROP_XI_ACQ_BUFFER_SIZE: int
  999. CAP_PROP_XI_ACQ_BUFFER_SIZE_UNIT: int
  1000. CAP_PROP_XI_ACQ_TRANSPORT_BUFFER_SIZE: int
  1001. CAP_PROP_XI_BUFFERS_QUEUE_SIZE: int
  1002. CAP_PROP_XI_ACQ_TRANSPORT_BUFFER_COMMIT: int
  1003. CAP_PROP_XI_RECENT_FRAME: int
  1004. CAP_PROP_XI_DEVICE_RESET: int
  1005. CAP_PROP_XI_COLUMN_FPN_CORRECTION: int
  1006. CAP_PROP_XI_ROW_FPN_CORRECTION: int
  1007. CAP_PROP_XI_SENSOR_MODE: int
  1008. CAP_PROP_XI_HDR: int
  1009. CAP_PROP_XI_HDR_KNEEPOINT_COUNT: int
  1010. CAP_PROP_XI_HDR_T1: int
  1011. CAP_PROP_XI_HDR_T2: int
  1012. CAP_PROP_XI_KNEEPOINT1: int
  1013. CAP_PROP_XI_KNEEPOINT2: int
  1014. CAP_PROP_XI_IMAGE_BLACK_LEVEL: int
  1015. CAP_PROP_XI_HW_REVISION: int
  1016. CAP_PROP_XI_DEBUG_LEVEL: int
  1017. CAP_PROP_XI_AUTO_BANDWIDTH_CALCULATION: int
  1018. CAP_PROP_XI_FFS_FILE_ID: int
  1019. CAP_PROP_XI_FFS_FILE_SIZE: int
  1020. CAP_PROP_XI_FREE_FFS_SIZE: int
  1021. CAP_PROP_XI_USED_FFS_SIZE: int
  1022. CAP_PROP_XI_FFS_ACCESS_KEY: int
  1023. CAP_PROP_XI_SENSOR_FEATURE_SELECTOR: int
  1024. CAP_PROP_XI_SENSOR_FEATURE_VALUE: int
  1025. CAP_PROP_ARAVIS_AUTOTRIGGER: int
  1026. CAP_PROP_ANDROID_DEVICE_TORCH: int
  1027. CAP_PROP_IOS_DEVICE_FOCUS: int
  1028. CAP_PROP_IOS_DEVICE_EXPOSURE: int
  1029. CAP_PROP_IOS_DEVICE_FLASH: int
  1030. CAP_PROP_IOS_DEVICE_WHITEBALANCE: int
  1031. CAP_PROP_IOS_DEVICE_TORCH: int
  1032. CAP_PROP_GIGA_FRAME_OFFSET_X: int
  1033. CAP_PROP_GIGA_FRAME_OFFSET_Y: int
  1034. CAP_PROP_GIGA_FRAME_WIDTH_MAX: int
  1035. CAP_PROP_GIGA_FRAME_HEIGH_MAX: int
  1036. CAP_PROP_GIGA_FRAME_SENS_WIDTH: int
  1037. CAP_PROP_GIGA_FRAME_SENS_HEIGH: int
  1038. CAP_PROP_INTELPERC_PROFILE_COUNT: int
  1039. CAP_PROP_INTELPERC_PROFILE_IDX: int
  1040. CAP_PROP_INTELPERC_DEPTH_LOW_CONFIDENCE_VALUE: int
  1041. CAP_PROP_INTELPERC_DEPTH_SATURATION_VALUE: int
  1042. CAP_PROP_INTELPERC_DEPTH_CONFIDENCE_THRESHOLD: int
  1043. CAP_PROP_INTELPERC_DEPTH_FOCAL_LENGTH_HORZ: int
  1044. CAP_PROP_INTELPERC_DEPTH_FOCAL_LENGTH_VERT: int
  1045. CAP_INTELPERC_DEPTH_GENERATOR: int
  1046. CAP_INTELPERC_IMAGE_GENERATOR: int
  1047. CAP_INTELPERC_IR_GENERATOR: int
  1048. CAP_INTELPERC_GENERATORS_MASK: int
  1049. CAP_INTELPERC_DEPTH_MAP: int
  1050. CAP_INTELPERC_UVDEPTH_MAP: int
  1051. CAP_INTELPERC_IR_MAP: int
  1052. CAP_INTELPERC_IMAGE: int
  1053. CAP_PROP_GPHOTO2_PREVIEW: int
  1054. CAP_PROP_GPHOTO2_WIDGET_ENUMERATE: int
  1055. CAP_PROP_GPHOTO2_RELOAD_CONFIG: int
  1056. CAP_PROP_GPHOTO2_RELOAD_ON_CHANGE: int
  1057. CAP_PROP_GPHOTO2_COLLECT_MSGS: int
  1058. CAP_PROP_GPHOTO2_FLUSH_MSGS: int
  1059. CAP_PROP_SPEED: int
  1060. CAP_PROP_APERTURE: int
  1061. CAP_PROP_EXPOSUREPROGRAM: int
  1062. CAP_PROP_VIEWFINDER: int
  1063. CAP_PROP_IMAGES_BASE: int
  1064. CAP_PROP_IMAGES_LAST: int
  1065. LMEDS: int
  1066. RANSAC: int
  1067. RHO: int
  1068. USAC_DEFAULT: int
  1069. USAC_PARALLEL: int
  1070. USAC_FM_8PTS: int
  1071. USAC_FAST: int
  1072. USAC_ACCURATE: int
  1073. USAC_PROSAC: int
  1074. USAC_MAGSAC: int
  1075. CALIB_CB_ADAPTIVE_THRESH: int
  1076. CALIB_CB_NORMALIZE_IMAGE: int
  1077. CALIB_CB_FILTER_QUADS: int
  1078. CALIB_CB_FAST_CHECK: int
  1079. CALIB_CB_EXHAUSTIVE: int
  1080. CALIB_CB_ACCURACY: int
  1081. CALIB_CB_LARGER: int
  1082. CALIB_CB_MARKER: int
  1083. CALIB_CB_PLAIN: int
  1084. CALIB_CB_SYMMETRIC_GRID: int
  1085. CALIB_CB_ASYMMETRIC_GRID: int
  1086. CALIB_CB_CLUSTERING: int
  1087. CALIB_NINTRINSIC: int
  1088. CALIB_USE_INTRINSIC_GUESS: int
  1089. CALIB_FIX_ASPECT_RATIO: int
  1090. CALIB_FIX_PRINCIPAL_POINT: int
  1091. CALIB_ZERO_TANGENT_DIST: int
  1092. CALIB_FIX_FOCAL_LENGTH: int
  1093. CALIB_FIX_K1: int
  1094. CALIB_FIX_K2: int
  1095. CALIB_FIX_K3: int
  1096. CALIB_FIX_K4: int
  1097. CALIB_FIX_K5: int
  1098. CALIB_FIX_K6: int
  1099. CALIB_RATIONAL_MODEL: int
  1100. CALIB_THIN_PRISM_MODEL: int
  1101. CALIB_FIX_S1_S2_S3_S4: int
  1102. CALIB_TILTED_MODEL: int
  1103. CALIB_FIX_TAUX_TAUY: int
  1104. CALIB_USE_QR: int
  1105. CALIB_FIX_TANGENT_DIST: int
  1106. CALIB_FIX_INTRINSIC: int
  1107. CALIB_SAME_FOCAL_LENGTH: int
  1108. CALIB_ZERO_DISPARITY: int
  1109. CALIB_USE_LU: int
  1110. CALIB_USE_EXTRINSIC_GUESS: int
  1111. FM_7POINT: int
  1112. FM_8POINT: int
  1113. FM_LMEDS: int
  1114. FM_RANSAC: int
  1115. CASCADE_DO_CANNY_PRUNING: int
  1116. CASCADE_SCALE_IMAGE: int
  1117. CASCADE_FIND_BIGGEST_OBJECT: int
  1118. CASCADE_DO_ROUGH_SEARCH: int
  1119. OPTFLOW_USE_INITIAL_FLOW: int
  1120. OPTFLOW_LK_GET_MIN_EIGENVALS: int
  1121. OPTFLOW_FARNEBACK_GAUSSIAN: int
  1122. MOTION_TRANSLATION: int
  1123. MOTION_EUCLIDEAN: int
  1124. MOTION_AFFINE: int
  1125. MOTION_HOMOGRAPHY: int
  1126. NORMAL_CLONE: int
  1127. MIXED_CLONE: int
  1128. MONOCHROME_TRANSFER: int
  1129. NORMAL_CLONE_WIDE: int
  1130. MIXED_CLONE_WIDE: int
  1131. MONOCHROME_TRANSFER_WIDE: int
  1132. SeamlessCloneFlags = int
  1133. """One of [NORMAL_CLONE, MIXED_CLONE, MONOCHROME_TRANSFER, NORMAL_CLONE_WIDE, MIXED_CLONE_WIDE, MONOCHROME_TRANSFER_WIDE]"""
  1134. DrawMatchesFlags_DEFAULT: int
  1135. DRAW_MATCHES_FLAGS_DEFAULT: int
  1136. DrawMatchesFlags_DRAW_OVER_OUTIMG: int
  1137. DRAW_MATCHES_FLAGS_DRAW_OVER_OUTIMG: int
  1138. DrawMatchesFlags_NOT_DRAW_SINGLE_POINTS: int
  1139. DRAW_MATCHES_FLAGS_NOT_DRAW_SINGLE_POINTS: int
  1140. DrawMatchesFlags_DRAW_RICH_KEYPOINTS: int
  1141. DRAW_MATCHES_FLAGS_DRAW_RICH_KEYPOINTS: int
  1142. DrawMatchesFlags = int
  1143. """One of [DrawMatchesFlags_DEFAULT, DRAW_MATCHES_FLAGS_DEFAULT, DrawMatchesFlags_DRAW_OVER_OUTIMG, DRAW_MATCHES_FLAGS_DRAW_OVER_OUTIMG, DrawMatchesFlags_NOT_DRAW_SINGLE_POINTS, DRAW_MATCHES_FLAGS_NOT_DRAW_SINGLE_POINTS, DrawMatchesFlags_DRAW_RICH_KEYPOINTS, DRAW_MATCHES_FLAGS_DRAW_RICH_KEYPOINTS]"""
  1144. IMREAD_UNCHANGED: int
  1145. IMREAD_GRAYSCALE: int
  1146. IMREAD_COLOR_BGR: int
  1147. IMREAD_COLOR: int
  1148. IMREAD_ANYDEPTH: int
  1149. IMREAD_ANYCOLOR: int
  1150. IMREAD_LOAD_GDAL: int
  1151. IMREAD_REDUCED_GRAYSCALE_2: int
  1152. IMREAD_REDUCED_COLOR_2: int
  1153. IMREAD_REDUCED_GRAYSCALE_4: int
  1154. IMREAD_REDUCED_COLOR_4: int
  1155. IMREAD_REDUCED_GRAYSCALE_8: int
  1156. IMREAD_REDUCED_COLOR_8: int
  1157. IMREAD_IGNORE_ORIENTATION: int
  1158. IMREAD_COLOR_RGB: int
  1159. ImreadModes = int
  1160. """One of [IMREAD_UNCHANGED, IMREAD_GRAYSCALE, IMREAD_COLOR_BGR, IMREAD_COLOR, IMREAD_ANYDEPTH, IMREAD_ANYCOLOR, IMREAD_LOAD_GDAL, IMREAD_REDUCED_GRAYSCALE_2, IMREAD_REDUCED_COLOR_2, IMREAD_REDUCED_GRAYSCALE_4, IMREAD_REDUCED_COLOR_4, IMREAD_REDUCED_GRAYSCALE_8, IMREAD_REDUCED_COLOR_8, IMREAD_IGNORE_ORIENTATION, IMREAD_COLOR_RGB]"""
  1161. IMWRITE_JPEG_QUALITY: int
  1162. IMWRITE_JPEG_PROGRESSIVE: int
  1163. IMWRITE_JPEG_OPTIMIZE: int
  1164. IMWRITE_JPEG_RST_INTERVAL: int
  1165. IMWRITE_JPEG_LUMA_QUALITY: int
  1166. IMWRITE_JPEG_CHROMA_QUALITY: int
  1167. IMWRITE_JPEG_SAMPLING_FACTOR: int
  1168. IMWRITE_PNG_COMPRESSION: int
  1169. IMWRITE_PNG_STRATEGY: int
  1170. IMWRITE_PNG_BILEVEL: int
  1171. IMWRITE_PNG_FILTER: int
  1172. IMWRITE_PNG_ZLIBBUFFER_SIZE: int
  1173. IMWRITE_PXM_BINARY: int
  1174. IMWRITE_EXR_TYPE: int
  1175. IMWRITE_EXR_COMPRESSION: int
  1176. IMWRITE_EXR_DWA_COMPRESSION_LEVEL: int
  1177. IMWRITE_WEBP_QUALITY: int
  1178. IMWRITE_HDR_COMPRESSION: int
  1179. IMWRITE_PAM_TUPLETYPE: int
  1180. IMWRITE_TIFF_RESUNIT: int
  1181. IMWRITE_TIFF_XDPI: int
  1182. IMWRITE_TIFF_YDPI: int
  1183. IMWRITE_TIFF_COMPRESSION: int
  1184. IMWRITE_TIFF_ROWSPERSTRIP: int
  1185. IMWRITE_TIFF_PREDICTOR: int
  1186. IMWRITE_JPEG2000_COMPRESSION_X1000: int
  1187. IMWRITE_AVIF_QUALITY: int
  1188. IMWRITE_AVIF_DEPTH: int
  1189. IMWRITE_AVIF_SPEED: int
  1190. IMWRITE_JPEGXL_QUALITY: int
  1191. IMWRITE_JPEGXL_EFFORT: int
  1192. IMWRITE_JPEGXL_DISTANCE: int
  1193. IMWRITE_JPEGXL_DECODING_SPEED: int
  1194. IMWRITE_BMP_COMPRESSION: int
  1195. IMWRITE_GIF_LOOP: int
  1196. IMWRITE_GIF_SPEED: int
  1197. IMWRITE_GIF_QUALITY: int
  1198. IMWRITE_GIF_DITHER: int
  1199. IMWRITE_GIF_TRANSPARENCY: int
  1200. IMWRITE_GIF_COLORTABLE: int
  1201. ImwriteFlags = int
  1202. """One of [IMWRITE_JPEG_QUALITY, IMWRITE_JPEG_PROGRESSIVE, IMWRITE_JPEG_OPTIMIZE, IMWRITE_JPEG_RST_INTERVAL, IMWRITE_JPEG_LUMA_QUALITY, IMWRITE_JPEG_CHROMA_QUALITY, IMWRITE_JPEG_SAMPLING_FACTOR, IMWRITE_PNG_COMPRESSION, IMWRITE_PNG_STRATEGY, IMWRITE_PNG_BILEVEL, IMWRITE_PNG_FILTER, IMWRITE_PNG_ZLIBBUFFER_SIZE, IMWRITE_PXM_BINARY, IMWRITE_EXR_TYPE, IMWRITE_EXR_COMPRESSION, IMWRITE_EXR_DWA_COMPRESSION_LEVEL, IMWRITE_WEBP_QUALITY, IMWRITE_HDR_COMPRESSION, IMWRITE_PAM_TUPLETYPE, IMWRITE_TIFF_RESUNIT, IMWRITE_TIFF_XDPI, IMWRITE_TIFF_YDPI, IMWRITE_TIFF_COMPRESSION, IMWRITE_TIFF_ROWSPERSTRIP, IMWRITE_TIFF_PREDICTOR, IMWRITE_JPEG2000_COMPRESSION_X1000, IMWRITE_AVIF_QUALITY, IMWRITE_AVIF_DEPTH, IMWRITE_AVIF_SPEED, IMWRITE_JPEGXL_QUALITY, IMWRITE_JPEGXL_EFFORT, IMWRITE_JPEGXL_DISTANCE, IMWRITE_JPEGXL_DECODING_SPEED, IMWRITE_BMP_COMPRESSION, IMWRITE_GIF_LOOP, IMWRITE_GIF_SPEED, IMWRITE_GIF_QUALITY, IMWRITE_GIF_DITHER, IMWRITE_GIF_TRANSPARENCY, IMWRITE_GIF_COLORTABLE]"""
  1203. IMWRITE_JPEG_SAMPLING_FACTOR_411: int
  1204. IMWRITE_JPEG_SAMPLING_FACTOR_420: int
  1205. IMWRITE_JPEG_SAMPLING_FACTOR_422: int
  1206. IMWRITE_JPEG_SAMPLING_FACTOR_440: int
  1207. IMWRITE_JPEG_SAMPLING_FACTOR_444: int
  1208. ImwriteJPEGSamplingFactorParams = int
  1209. """One of [IMWRITE_JPEG_SAMPLING_FACTOR_411, IMWRITE_JPEG_SAMPLING_FACTOR_420, IMWRITE_JPEG_SAMPLING_FACTOR_422, IMWRITE_JPEG_SAMPLING_FACTOR_440, IMWRITE_JPEG_SAMPLING_FACTOR_444]"""
  1210. IMWRITE_TIFF_COMPRESSION_NONE: int
  1211. IMWRITE_TIFF_COMPRESSION_CCITTRLE: int
  1212. IMWRITE_TIFF_COMPRESSION_CCITTFAX3: int
  1213. IMWRITE_TIFF_COMPRESSION_CCITT_T4: int
  1214. IMWRITE_TIFF_COMPRESSION_CCITTFAX4: int
  1215. IMWRITE_TIFF_COMPRESSION_CCITT_T6: int
  1216. IMWRITE_TIFF_COMPRESSION_LZW: int
  1217. IMWRITE_TIFF_COMPRESSION_OJPEG: int
  1218. IMWRITE_TIFF_COMPRESSION_JPEG: int
  1219. IMWRITE_TIFF_COMPRESSION_T85: int
  1220. IMWRITE_TIFF_COMPRESSION_T43: int
  1221. IMWRITE_TIFF_COMPRESSION_NEXT: int
  1222. IMWRITE_TIFF_COMPRESSION_CCITTRLEW: int
  1223. IMWRITE_TIFF_COMPRESSION_PACKBITS: int
  1224. IMWRITE_TIFF_COMPRESSION_THUNDERSCAN: int
  1225. IMWRITE_TIFF_COMPRESSION_IT8CTPAD: int
  1226. IMWRITE_TIFF_COMPRESSION_IT8LW: int
  1227. IMWRITE_TIFF_COMPRESSION_IT8MP: int
  1228. IMWRITE_TIFF_COMPRESSION_IT8BL: int
  1229. IMWRITE_TIFF_COMPRESSION_PIXARFILM: int
  1230. IMWRITE_TIFF_COMPRESSION_PIXARLOG: int
  1231. IMWRITE_TIFF_COMPRESSION_DEFLATE: int
  1232. IMWRITE_TIFF_COMPRESSION_ADOBE_DEFLATE: int
  1233. IMWRITE_TIFF_COMPRESSION_DCS: int
  1234. IMWRITE_TIFF_COMPRESSION_JBIG: int
  1235. IMWRITE_TIFF_COMPRESSION_SGILOG: int
  1236. IMWRITE_TIFF_COMPRESSION_SGILOG24: int
  1237. IMWRITE_TIFF_COMPRESSION_JP2000: int
  1238. IMWRITE_TIFF_COMPRESSION_LERC: int
  1239. IMWRITE_TIFF_COMPRESSION_LZMA: int
  1240. IMWRITE_TIFF_COMPRESSION_ZSTD: int
  1241. IMWRITE_TIFF_COMPRESSION_WEBP: int
  1242. IMWRITE_TIFF_COMPRESSION_JXL: int
  1243. ImwriteTiffCompressionFlags = int
  1244. """One of [IMWRITE_TIFF_COMPRESSION_NONE, IMWRITE_TIFF_COMPRESSION_CCITTRLE, IMWRITE_TIFF_COMPRESSION_CCITTFAX3, IMWRITE_TIFF_COMPRESSION_CCITT_T4, IMWRITE_TIFF_COMPRESSION_CCITTFAX4, IMWRITE_TIFF_COMPRESSION_CCITT_T6, IMWRITE_TIFF_COMPRESSION_LZW, IMWRITE_TIFF_COMPRESSION_OJPEG, IMWRITE_TIFF_COMPRESSION_JPEG, IMWRITE_TIFF_COMPRESSION_T85, IMWRITE_TIFF_COMPRESSION_T43, IMWRITE_TIFF_COMPRESSION_NEXT, IMWRITE_TIFF_COMPRESSION_CCITTRLEW, IMWRITE_TIFF_COMPRESSION_PACKBITS, IMWRITE_TIFF_COMPRESSION_THUNDERSCAN, IMWRITE_TIFF_COMPRESSION_IT8CTPAD, IMWRITE_TIFF_COMPRESSION_IT8LW, IMWRITE_TIFF_COMPRESSION_IT8MP, IMWRITE_TIFF_COMPRESSION_IT8BL, IMWRITE_TIFF_COMPRESSION_PIXARFILM, IMWRITE_TIFF_COMPRESSION_PIXARLOG, IMWRITE_TIFF_COMPRESSION_DEFLATE, IMWRITE_TIFF_COMPRESSION_ADOBE_DEFLATE, IMWRITE_TIFF_COMPRESSION_DCS, IMWRITE_TIFF_COMPRESSION_JBIG, IMWRITE_TIFF_COMPRESSION_SGILOG, IMWRITE_TIFF_COMPRESSION_SGILOG24, IMWRITE_TIFF_COMPRESSION_JP2000, IMWRITE_TIFF_COMPRESSION_LERC, IMWRITE_TIFF_COMPRESSION_LZMA, IMWRITE_TIFF_COMPRESSION_ZSTD, IMWRITE_TIFF_COMPRESSION_WEBP, IMWRITE_TIFF_COMPRESSION_JXL]"""
  1245. IMWRITE_TIFF_PREDICTOR_NONE: int
  1246. IMWRITE_TIFF_PREDICTOR_HORIZONTAL: int
  1247. IMWRITE_TIFF_PREDICTOR_FLOATINGPOINT: int
  1248. ImwriteTiffPredictorFlags = int
  1249. """One of [IMWRITE_TIFF_PREDICTOR_NONE, IMWRITE_TIFF_PREDICTOR_HORIZONTAL, IMWRITE_TIFF_PREDICTOR_FLOATINGPOINT]"""
  1250. IMWRITE_TIFF_RESOLUTION_UNIT_NONE: int
  1251. IMWRITE_TIFF_RESOLUTION_UNIT_INCH: int
  1252. IMWRITE_TIFF_RESOLUTION_UNIT_CENTIMETER: int
  1253. ImwriteTiffResolutionUnitFlags = int
  1254. """One of [IMWRITE_TIFF_RESOLUTION_UNIT_NONE, IMWRITE_TIFF_RESOLUTION_UNIT_INCH, IMWRITE_TIFF_RESOLUTION_UNIT_CENTIMETER]"""
  1255. IMWRITE_EXR_TYPE_HALF: int
  1256. IMWRITE_EXR_TYPE_FLOAT: int
  1257. ImwriteEXRTypeFlags = int
  1258. """One of [IMWRITE_EXR_TYPE_HALF, IMWRITE_EXR_TYPE_FLOAT]"""
  1259. IMWRITE_EXR_COMPRESSION_NO: int
  1260. IMWRITE_EXR_COMPRESSION_RLE: int
  1261. IMWRITE_EXR_COMPRESSION_ZIPS: int
  1262. IMWRITE_EXR_COMPRESSION_ZIP: int
  1263. IMWRITE_EXR_COMPRESSION_PIZ: int
  1264. IMWRITE_EXR_COMPRESSION_PXR24: int
  1265. IMWRITE_EXR_COMPRESSION_B44: int
  1266. IMWRITE_EXR_COMPRESSION_B44A: int
  1267. IMWRITE_EXR_COMPRESSION_DWAA: int
  1268. IMWRITE_EXR_COMPRESSION_DWAB: int
  1269. ImwriteEXRCompressionFlags = int
  1270. """One of [IMWRITE_EXR_COMPRESSION_NO, IMWRITE_EXR_COMPRESSION_RLE, IMWRITE_EXR_COMPRESSION_ZIPS, IMWRITE_EXR_COMPRESSION_ZIP, IMWRITE_EXR_COMPRESSION_PIZ, IMWRITE_EXR_COMPRESSION_PXR24, IMWRITE_EXR_COMPRESSION_B44, IMWRITE_EXR_COMPRESSION_B44A, IMWRITE_EXR_COMPRESSION_DWAA, IMWRITE_EXR_COMPRESSION_DWAB]"""
  1271. IMWRITE_PNG_STRATEGY_DEFAULT: int
  1272. IMWRITE_PNG_STRATEGY_FILTERED: int
  1273. IMWRITE_PNG_STRATEGY_HUFFMAN_ONLY: int
  1274. IMWRITE_PNG_STRATEGY_RLE: int
  1275. IMWRITE_PNG_STRATEGY_FIXED: int
  1276. ImwritePNGFlags = int
  1277. """One of [IMWRITE_PNG_STRATEGY_DEFAULT, IMWRITE_PNG_STRATEGY_FILTERED, IMWRITE_PNG_STRATEGY_HUFFMAN_ONLY, IMWRITE_PNG_STRATEGY_RLE, IMWRITE_PNG_STRATEGY_FIXED]"""
  1278. IMWRITE_PNG_FILTER_NONE: int
  1279. IMWRITE_PNG_FILTER_SUB: int
  1280. IMWRITE_PNG_FILTER_UP: int
  1281. IMWRITE_PNG_FILTER_AVG: int
  1282. IMWRITE_PNG_FILTER_PAETH: int
  1283. IMWRITE_PNG_FAST_FILTERS: int
  1284. IMWRITE_PNG_ALL_FILTERS: int
  1285. ImwritePNGFilterFlags = int
  1286. """One of [IMWRITE_PNG_FILTER_NONE, IMWRITE_PNG_FILTER_SUB, IMWRITE_PNG_FILTER_UP, IMWRITE_PNG_FILTER_AVG, IMWRITE_PNG_FILTER_PAETH, IMWRITE_PNG_FAST_FILTERS, IMWRITE_PNG_ALL_FILTERS]"""
  1287. IMWRITE_PAM_FORMAT_NULL: int
  1288. IMWRITE_PAM_FORMAT_BLACKANDWHITE: int
  1289. IMWRITE_PAM_FORMAT_GRAYSCALE: int
  1290. IMWRITE_PAM_FORMAT_GRAYSCALE_ALPHA: int
  1291. IMWRITE_PAM_FORMAT_RGB: int
  1292. IMWRITE_PAM_FORMAT_RGB_ALPHA: int
  1293. ImwritePAMFlags = int
  1294. """One of [IMWRITE_PAM_FORMAT_NULL, IMWRITE_PAM_FORMAT_BLACKANDWHITE, IMWRITE_PAM_FORMAT_GRAYSCALE, IMWRITE_PAM_FORMAT_GRAYSCALE_ALPHA, IMWRITE_PAM_FORMAT_RGB, IMWRITE_PAM_FORMAT_RGB_ALPHA]"""
  1295. IMWRITE_HDR_COMPRESSION_NONE: int
  1296. IMWRITE_HDR_COMPRESSION_RLE: int
  1297. ImwriteHDRCompressionFlags = int
  1298. """One of [IMWRITE_HDR_COMPRESSION_NONE, IMWRITE_HDR_COMPRESSION_RLE]"""
  1299. IMWRITE_BMP_COMPRESSION_RGB: int
  1300. IMWRITE_BMP_COMPRESSION_BITFIELDS: int
  1301. ImwriteBMPCompressionFlags = int
  1302. """One of [IMWRITE_BMP_COMPRESSION_RGB, IMWRITE_BMP_COMPRESSION_BITFIELDS]"""
  1303. IMWRITE_GIF_FAST_NO_DITHER: int
  1304. IMWRITE_GIF_FAST_FLOYD_DITHER: int
  1305. IMWRITE_GIF_COLORTABLE_SIZE_8: int
  1306. IMWRITE_GIF_COLORTABLE_SIZE_16: int
  1307. IMWRITE_GIF_COLORTABLE_SIZE_32: int
  1308. IMWRITE_GIF_COLORTABLE_SIZE_64: int
  1309. IMWRITE_GIF_COLORTABLE_SIZE_128: int
  1310. IMWRITE_GIF_COLORTABLE_SIZE_256: int
  1311. ImwriteGIFCompressionFlags = int
  1312. """One of [IMWRITE_GIF_FAST_NO_DITHER, IMWRITE_GIF_FAST_FLOYD_DITHER, IMWRITE_GIF_COLORTABLE_SIZE_8, IMWRITE_GIF_COLORTABLE_SIZE_16, IMWRITE_GIF_COLORTABLE_SIZE_32, IMWRITE_GIF_COLORTABLE_SIZE_64, IMWRITE_GIF_COLORTABLE_SIZE_128, IMWRITE_GIF_COLORTABLE_SIZE_256]"""
  1313. IMAGE_METADATA_UNKNOWN: int
  1314. IMAGE_METADATA_EXIF: int
  1315. IMAGE_METADATA_XMP: int
  1316. IMAGE_METADATA_ICCP: int
  1317. IMAGE_METADATA_CICP: int
  1318. IMAGE_METADATA_MAX: int
  1319. ImageMetadataType = int
  1320. """One of [IMAGE_METADATA_UNKNOWN, IMAGE_METADATA_EXIF, IMAGE_METADATA_XMP, IMAGE_METADATA_ICCP, IMAGE_METADATA_CICP, IMAGE_METADATA_MAX]"""
  1321. CAP_ANY: int
  1322. CAP_VFW: int
  1323. CAP_V4L: int
  1324. CAP_V4L2: int
  1325. CAP_FIREWIRE: int
  1326. CAP_FIREWARE: int
  1327. CAP_IEEE1394: int
  1328. CAP_DC1394: int
  1329. CAP_CMU1394: int
  1330. CAP_QT: int
  1331. CAP_UNICAP: int
  1332. CAP_DSHOW: int
  1333. CAP_PVAPI: int
  1334. CAP_OPENNI: int
  1335. CAP_OPENNI_ASUS: int
  1336. CAP_ANDROID: int
  1337. CAP_XIAPI: int
  1338. CAP_AVFOUNDATION: int
  1339. CAP_GIGANETIX: int
  1340. CAP_MSMF: int
  1341. CAP_WINRT: int
  1342. CAP_INTELPERC: int
  1343. CAP_REALSENSE: int
  1344. CAP_OPENNI2: int
  1345. CAP_OPENNI2_ASUS: int
  1346. CAP_OPENNI2_ASTRA: int
  1347. CAP_GPHOTO2: int
  1348. CAP_GSTREAMER: int
  1349. CAP_FFMPEG: int
  1350. CAP_IMAGES: int
  1351. CAP_ARAVIS: int
  1352. CAP_OPENCV_MJPEG: int
  1353. CAP_INTEL_MFX: int
  1354. CAP_XINE: int
  1355. CAP_UEYE: int
  1356. CAP_OBSENSOR: int
  1357. VideoCaptureAPIs = int
  1358. """One of [CAP_ANY, CAP_VFW, CAP_V4L, CAP_V4L2, CAP_FIREWIRE, CAP_FIREWARE, CAP_IEEE1394, CAP_DC1394, CAP_CMU1394, CAP_QT, CAP_UNICAP, CAP_DSHOW, CAP_PVAPI, CAP_OPENNI, CAP_OPENNI_ASUS, CAP_ANDROID, CAP_XIAPI, CAP_AVFOUNDATION, CAP_GIGANETIX, CAP_MSMF, CAP_WINRT, CAP_INTELPERC, CAP_REALSENSE, CAP_OPENNI2, CAP_OPENNI2_ASUS, CAP_OPENNI2_ASTRA, CAP_GPHOTO2, CAP_GSTREAMER, CAP_FFMPEG, CAP_IMAGES, CAP_ARAVIS, CAP_OPENCV_MJPEG, CAP_INTEL_MFX, CAP_XINE, CAP_UEYE, CAP_OBSENSOR]"""
  1359. CAP_PROP_POS_MSEC: int
  1360. CAP_PROP_POS_FRAMES: int
  1361. CAP_PROP_POS_AVI_RATIO: int
  1362. CAP_PROP_FRAME_WIDTH: int
  1363. CAP_PROP_FRAME_HEIGHT: int
  1364. CAP_PROP_FPS: int
  1365. CAP_PROP_FOURCC: int
  1366. CAP_PROP_FRAME_COUNT: int
  1367. CAP_PROP_FORMAT: int
  1368. CAP_PROP_MODE: int
  1369. CAP_PROP_BRIGHTNESS: int
  1370. CAP_PROP_CONTRAST: int
  1371. CAP_PROP_SATURATION: int
  1372. CAP_PROP_HUE: int
  1373. CAP_PROP_GAIN: int
  1374. CAP_PROP_EXPOSURE: int
  1375. CAP_PROP_CONVERT_RGB: int
  1376. CAP_PROP_WHITE_BALANCE_BLUE_U: int
  1377. CAP_PROP_RECTIFICATION: int
  1378. CAP_PROP_MONOCHROME: int
  1379. CAP_PROP_SHARPNESS: int
  1380. CAP_PROP_AUTO_EXPOSURE: int
  1381. CAP_PROP_GAMMA: int
  1382. CAP_PROP_TEMPERATURE: int
  1383. CAP_PROP_TRIGGER: int
  1384. CAP_PROP_TRIGGER_DELAY: int
  1385. CAP_PROP_WHITE_BALANCE_RED_V: int
  1386. CAP_PROP_ZOOM: int
  1387. CAP_PROP_FOCUS: int
  1388. CAP_PROP_GUID: int
  1389. CAP_PROP_ISO_SPEED: int
  1390. CAP_PROP_BACKLIGHT: int
  1391. CAP_PROP_PAN: int
  1392. CAP_PROP_TILT: int
  1393. CAP_PROP_ROLL: int
  1394. CAP_PROP_IRIS: int
  1395. CAP_PROP_SETTINGS: int
  1396. CAP_PROP_BUFFERSIZE: int
  1397. CAP_PROP_AUTOFOCUS: int
  1398. CAP_PROP_SAR_NUM: int
  1399. CAP_PROP_SAR_DEN: int
  1400. CAP_PROP_BACKEND: int
  1401. CAP_PROP_CHANNEL: int
  1402. CAP_PROP_AUTO_WB: int
  1403. CAP_PROP_WB_TEMPERATURE: int
  1404. CAP_PROP_CODEC_PIXEL_FORMAT: int
  1405. CAP_PROP_BITRATE: int
  1406. CAP_PROP_ORIENTATION_META: int
  1407. CAP_PROP_ORIENTATION_AUTO: int
  1408. CAP_PROP_HW_ACCELERATION: int
  1409. CAP_PROP_HW_DEVICE: int
  1410. CAP_PROP_HW_ACCELERATION_USE_OPENCL: int
  1411. CAP_PROP_OPEN_TIMEOUT_MSEC: int
  1412. CAP_PROP_READ_TIMEOUT_MSEC: int
  1413. CAP_PROP_STREAM_OPEN_TIME_USEC: int
  1414. CAP_PROP_VIDEO_TOTAL_CHANNELS: int
  1415. CAP_PROP_VIDEO_STREAM: int
  1416. CAP_PROP_AUDIO_STREAM: int
  1417. CAP_PROP_AUDIO_POS: int
  1418. CAP_PROP_AUDIO_SHIFT_NSEC: int
  1419. CAP_PROP_AUDIO_DATA_DEPTH: int
  1420. CAP_PROP_AUDIO_SAMPLES_PER_SECOND: int
  1421. CAP_PROP_AUDIO_BASE_INDEX: int
  1422. CAP_PROP_AUDIO_TOTAL_CHANNELS: int
  1423. CAP_PROP_AUDIO_TOTAL_STREAMS: int
  1424. CAP_PROP_AUDIO_SYNCHRONIZE: int
  1425. CAP_PROP_LRF_HAS_KEY_FRAME: int
  1426. CAP_PROP_CODEC_EXTRADATA_INDEX: int
  1427. CAP_PROP_FRAME_TYPE: int
  1428. CAP_PROP_N_THREADS: int
  1429. CAP_PROP_PTS: int
  1430. CAP_PROP_DTS_DELAY: int
  1431. VideoCaptureProperties = int
  1432. """One of [CAP_PROP_POS_MSEC, CAP_PROP_POS_FRAMES, CAP_PROP_POS_AVI_RATIO, CAP_PROP_FRAME_WIDTH, CAP_PROP_FRAME_HEIGHT, CAP_PROP_FPS, CAP_PROP_FOURCC, CAP_PROP_FRAME_COUNT, CAP_PROP_FORMAT, CAP_PROP_MODE, CAP_PROP_BRIGHTNESS, CAP_PROP_CONTRAST, CAP_PROP_SATURATION, CAP_PROP_HUE, CAP_PROP_GAIN, CAP_PROP_EXPOSURE, CAP_PROP_CONVERT_RGB, CAP_PROP_WHITE_BALANCE_BLUE_U, CAP_PROP_RECTIFICATION, CAP_PROP_MONOCHROME, CAP_PROP_SHARPNESS, CAP_PROP_AUTO_EXPOSURE, CAP_PROP_GAMMA, CAP_PROP_TEMPERATURE, CAP_PROP_TRIGGER, CAP_PROP_TRIGGER_DELAY, CAP_PROP_WHITE_BALANCE_RED_V, CAP_PROP_ZOOM, CAP_PROP_FOCUS, CAP_PROP_GUID, CAP_PROP_ISO_SPEED, CAP_PROP_BACKLIGHT, CAP_PROP_PAN, CAP_PROP_TILT, CAP_PROP_ROLL, CAP_PROP_IRIS, CAP_PROP_SETTINGS, CAP_PROP_BUFFERSIZE, CAP_PROP_AUTOFOCUS, CAP_PROP_SAR_NUM, CAP_PROP_SAR_DEN, CAP_PROP_BACKEND, CAP_PROP_CHANNEL, CAP_PROP_AUTO_WB, CAP_PROP_WB_TEMPERATURE, CAP_PROP_CODEC_PIXEL_FORMAT, CAP_PROP_BITRATE, CAP_PROP_ORIENTATION_META, CAP_PROP_ORIENTATION_AUTO, CAP_PROP_HW_ACCELERATION, CAP_PROP_HW_DEVICE, CAP_PROP_HW_ACCELERATION_USE_OPENCL, CAP_PROP_OPEN_TIMEOUT_MSEC, CAP_PROP_READ_TIMEOUT_MSEC, CAP_PROP_STREAM_OPEN_TIME_USEC, CAP_PROP_VIDEO_TOTAL_CHANNELS, CAP_PROP_VIDEO_STREAM, CAP_PROP_AUDIO_STREAM, CAP_PROP_AUDIO_POS, CAP_PROP_AUDIO_SHIFT_NSEC, CAP_PROP_AUDIO_DATA_DEPTH, CAP_PROP_AUDIO_SAMPLES_PER_SECOND, CAP_PROP_AUDIO_BASE_INDEX, CAP_PROP_AUDIO_TOTAL_CHANNELS, CAP_PROP_AUDIO_TOTAL_STREAMS, CAP_PROP_AUDIO_SYNCHRONIZE, CAP_PROP_LRF_HAS_KEY_FRAME, CAP_PROP_CODEC_EXTRADATA_INDEX, CAP_PROP_FRAME_TYPE, CAP_PROP_N_THREADS, CAP_PROP_PTS, CAP_PROP_DTS_DELAY]"""
  1433. VIDEOWRITER_PROP_QUALITY: int
  1434. VIDEOWRITER_PROP_FRAMEBYTES: int
  1435. VIDEOWRITER_PROP_NSTRIPES: int
  1436. VIDEOWRITER_PROP_IS_COLOR: int
  1437. VIDEOWRITER_PROP_DEPTH: int
  1438. VIDEOWRITER_PROP_HW_ACCELERATION: int
  1439. VIDEOWRITER_PROP_HW_DEVICE: int
  1440. VIDEOWRITER_PROP_HW_ACCELERATION_USE_OPENCL: int
  1441. VIDEOWRITER_PROP_RAW_VIDEO: int
  1442. VIDEOWRITER_PROP_KEY_INTERVAL: int
  1443. VIDEOWRITER_PROP_KEY_FLAG: int
  1444. VIDEOWRITER_PROP_PTS: int
  1445. VIDEOWRITER_PROP_DTS_DELAY: int
  1446. VideoWriterProperties = int
  1447. """One of [VIDEOWRITER_PROP_QUALITY, VIDEOWRITER_PROP_FRAMEBYTES, VIDEOWRITER_PROP_NSTRIPES, VIDEOWRITER_PROP_IS_COLOR, VIDEOWRITER_PROP_DEPTH, VIDEOWRITER_PROP_HW_ACCELERATION, VIDEOWRITER_PROP_HW_DEVICE, VIDEOWRITER_PROP_HW_ACCELERATION_USE_OPENCL, VIDEOWRITER_PROP_RAW_VIDEO, VIDEOWRITER_PROP_KEY_INTERVAL, VIDEOWRITER_PROP_KEY_FLAG, VIDEOWRITER_PROP_PTS, VIDEOWRITER_PROP_DTS_DELAY]"""
  1448. VIDEO_ACCELERATION_NONE: int
  1449. VIDEO_ACCELERATION_ANY: int
  1450. VIDEO_ACCELERATION_D3D11: int
  1451. VIDEO_ACCELERATION_VAAPI: int
  1452. VIDEO_ACCELERATION_MFX: int
  1453. VIDEO_ACCELERATION_DRM: int
  1454. VideoAccelerationType = int
  1455. """One of [VIDEO_ACCELERATION_NONE, VIDEO_ACCELERATION_ANY, VIDEO_ACCELERATION_D3D11, VIDEO_ACCELERATION_VAAPI, VIDEO_ACCELERATION_MFX, VIDEO_ACCELERATION_DRM]"""
  1456. CAP_OBSENSOR_DEPTH_MAP: int
  1457. CAP_OBSENSOR_BGR_IMAGE: int
  1458. CAP_OBSENSOR_IR_IMAGE: int
  1459. VideoCaptureOBSensorDataType = int
  1460. """One of [CAP_OBSENSOR_DEPTH_MAP, CAP_OBSENSOR_BGR_IMAGE, CAP_OBSENSOR_IR_IMAGE]"""
  1461. CAP_OBSENSOR_DEPTH_GENERATOR: int
  1462. CAP_OBSENSOR_IMAGE_GENERATOR: int
  1463. CAP_OBSENSOR_IR_GENERATOR: int
  1464. CAP_OBSENSOR_GENERATORS_MASK: int
  1465. VideoCaptureOBSensorGenerators = int
  1466. """One of [CAP_OBSENSOR_DEPTH_GENERATOR, CAP_OBSENSOR_IMAGE_GENERATOR, CAP_OBSENSOR_IR_GENERATOR, CAP_OBSENSOR_GENERATORS_MASK]"""
  1467. CAP_PROP_OBSENSOR_INTRINSIC_FX: int
  1468. CAP_PROP_OBSENSOR_INTRINSIC_FY: int
  1469. CAP_PROP_OBSENSOR_INTRINSIC_CX: int
  1470. CAP_PROP_OBSENSOR_INTRINSIC_CY: int
  1471. CAP_PROP_OBSENSOR_RGB_POS_MSEC: int
  1472. CAP_PROP_OBSENSOR_DEPTH_POS_MSEC: int
  1473. CAP_PROP_OBSENSOR_DEPTH_WIDTH: int
  1474. CAP_PROP_OBSENSOR_DEPTH_HEIGHT: int
  1475. CAP_PROP_OBSENSOR_DEPTH_FPS: int
  1476. CAP_PROP_OBSENSOR_COLOR_DISTORTION_K1: int
  1477. CAP_PROP_OBSENSOR_COLOR_DISTORTION_K2: int
  1478. CAP_PROP_OBSENSOR_COLOR_DISTORTION_K3: int
  1479. CAP_PROP_OBSENSOR_COLOR_DISTORTION_K4: int
  1480. CAP_PROP_OBSENSOR_COLOR_DISTORTION_K5: int
  1481. CAP_PROP_OBSENSOR_COLOR_DISTORTION_K6: int
  1482. CAP_PROP_OBSENSOR_COLOR_DISTORTION_P1: int
  1483. CAP_PROP_OBSENSOR_COLOR_DISTORTION_P2: int
  1484. VideoCaptureOBSensorProperties = int
  1485. """One of [CAP_PROP_OBSENSOR_INTRINSIC_FX, CAP_PROP_OBSENSOR_INTRINSIC_FY, CAP_PROP_OBSENSOR_INTRINSIC_CX, CAP_PROP_OBSENSOR_INTRINSIC_CY, CAP_PROP_OBSENSOR_RGB_POS_MSEC, CAP_PROP_OBSENSOR_DEPTH_POS_MSEC, CAP_PROP_OBSENSOR_DEPTH_WIDTH, CAP_PROP_OBSENSOR_DEPTH_HEIGHT, CAP_PROP_OBSENSOR_DEPTH_FPS, CAP_PROP_OBSENSOR_COLOR_DISTORTION_K1, CAP_PROP_OBSENSOR_COLOR_DISTORTION_K2, CAP_PROP_OBSENSOR_COLOR_DISTORTION_K3, CAP_PROP_OBSENSOR_COLOR_DISTORTION_K4, CAP_PROP_OBSENSOR_COLOR_DISTORTION_K5, CAP_PROP_OBSENSOR_COLOR_DISTORTION_K6, CAP_PROP_OBSENSOR_COLOR_DISTORTION_P1, CAP_PROP_OBSENSOR_COLOR_DISTORTION_P2]"""
  1486. SOLVEPNP_ITERATIVE: int
  1487. SOLVEPNP_EPNP: int
  1488. SOLVEPNP_P3P: int
  1489. SOLVEPNP_DLS: int
  1490. SOLVEPNP_UPNP: int
  1491. SOLVEPNP_AP3P: int
  1492. SOLVEPNP_IPPE: int
  1493. SOLVEPNP_IPPE_SQUARE: int
  1494. SOLVEPNP_SQPNP: int
  1495. SOLVEPNP_MAX_COUNT: int
  1496. SolvePnPMethod = int
  1497. """One of [SOLVEPNP_ITERATIVE, SOLVEPNP_EPNP, SOLVEPNP_P3P, SOLVEPNP_DLS, SOLVEPNP_UPNP, SOLVEPNP_AP3P, SOLVEPNP_IPPE, SOLVEPNP_IPPE_SQUARE, SOLVEPNP_SQPNP, SOLVEPNP_MAX_COUNT]"""
  1498. CALIB_HAND_EYE_TSAI: int
  1499. CALIB_HAND_EYE_PARK: int
  1500. CALIB_HAND_EYE_HORAUD: int
  1501. CALIB_HAND_EYE_ANDREFF: int
  1502. CALIB_HAND_EYE_DANIILIDIS: int
  1503. HandEyeCalibrationMethod = int
  1504. """One of [CALIB_HAND_EYE_TSAI, CALIB_HAND_EYE_PARK, CALIB_HAND_EYE_HORAUD, CALIB_HAND_EYE_ANDREFF, CALIB_HAND_EYE_DANIILIDIS]"""
  1505. CALIB_ROBOT_WORLD_HAND_EYE_SHAH: int
  1506. CALIB_ROBOT_WORLD_HAND_EYE_LI: int
  1507. RobotWorldHandEyeCalibrationMethod = int
  1508. """One of [CALIB_ROBOT_WORLD_HAND_EYE_SHAH, CALIB_ROBOT_WORLD_HAND_EYE_LI]"""
  1509. SAMPLING_UNIFORM: int
  1510. SAMPLING_PROGRESSIVE_NAPSAC: int
  1511. SAMPLING_NAPSAC: int
  1512. SAMPLING_PROSAC: int
  1513. SamplingMethod = int
  1514. """One of [SAMPLING_UNIFORM, SAMPLING_PROGRESSIVE_NAPSAC, SAMPLING_NAPSAC, SAMPLING_PROSAC]"""
  1515. LOCAL_OPTIM_NULL: int
  1516. LOCAL_OPTIM_INNER_LO: int
  1517. LOCAL_OPTIM_INNER_AND_ITER_LO: int
  1518. LOCAL_OPTIM_GC: int
  1519. LOCAL_OPTIM_SIGMA: int
  1520. LocalOptimMethod = int
  1521. """One of [LOCAL_OPTIM_NULL, LOCAL_OPTIM_INNER_LO, LOCAL_OPTIM_INNER_AND_ITER_LO, LOCAL_OPTIM_GC, LOCAL_OPTIM_SIGMA]"""
  1522. SCORE_METHOD_RANSAC: int
  1523. SCORE_METHOD_MSAC: int
  1524. SCORE_METHOD_MAGSAC: int
  1525. SCORE_METHOD_LMEDS: int
  1526. ScoreMethod = int
  1527. """One of [SCORE_METHOD_RANSAC, SCORE_METHOD_MSAC, SCORE_METHOD_MAGSAC, SCORE_METHOD_LMEDS]"""
  1528. NEIGH_FLANN_KNN: int
  1529. NEIGH_GRID: int
  1530. NEIGH_FLANN_RADIUS: int
  1531. NeighborSearchMethod = int
  1532. """One of [NEIGH_FLANN_KNN, NEIGH_GRID, NEIGH_FLANN_RADIUS]"""
  1533. NONE_POLISHER: int
  1534. LSQ_POLISHER: int
  1535. MAGSAC: int
  1536. COV_POLISHER: int
  1537. PolishingMethod = int
  1538. """One of [NONE_POLISHER, LSQ_POLISHER, MAGSAC, COV_POLISHER]"""
  1539. PROJ_SPHERICAL_ORTHO: int
  1540. PROJ_SPHERICAL_EQRECT: int
  1541. UndistortTypes = int
  1542. """One of [PROJ_SPHERICAL_ORTHO, PROJ_SPHERICAL_EQRECT]"""
  1543. WINDOW_NORMAL: int
  1544. WINDOW_AUTOSIZE: int
  1545. WINDOW_OPENGL: int
  1546. WINDOW_FULLSCREEN: int
  1547. WINDOW_FREERATIO: int
  1548. WINDOW_KEEPRATIO: int
  1549. WINDOW_GUI_EXPANDED: int
  1550. WINDOW_GUI_NORMAL: int
  1551. WindowFlags = int
  1552. """One of [WINDOW_NORMAL, WINDOW_AUTOSIZE, WINDOW_OPENGL, WINDOW_FULLSCREEN, WINDOW_FREERATIO, WINDOW_KEEPRATIO, WINDOW_GUI_EXPANDED, WINDOW_GUI_NORMAL]"""
  1553. WND_PROP_FULLSCREEN: int
  1554. WND_PROP_AUTOSIZE: int
  1555. WND_PROP_ASPECT_RATIO: int
  1556. WND_PROP_OPENGL: int
  1557. WND_PROP_VISIBLE: int
  1558. WND_PROP_TOPMOST: int
  1559. WND_PROP_VSYNC: int
  1560. WindowPropertyFlags = int
  1561. """One of [WND_PROP_FULLSCREEN, WND_PROP_AUTOSIZE, WND_PROP_ASPECT_RATIO, WND_PROP_OPENGL, WND_PROP_VISIBLE, WND_PROP_TOPMOST, WND_PROP_VSYNC]"""
  1562. EVENT_MOUSEMOVE: int
  1563. EVENT_LBUTTONDOWN: int
  1564. EVENT_RBUTTONDOWN: int
  1565. EVENT_MBUTTONDOWN: int
  1566. EVENT_LBUTTONUP: int
  1567. EVENT_RBUTTONUP: int
  1568. EVENT_MBUTTONUP: int
  1569. EVENT_LBUTTONDBLCLK: int
  1570. EVENT_RBUTTONDBLCLK: int
  1571. EVENT_MBUTTONDBLCLK: int
  1572. EVENT_MOUSEWHEEL: int
  1573. EVENT_MOUSEHWHEEL: int
  1574. MouseEventTypes = int
  1575. """One of [EVENT_MOUSEMOVE, EVENT_LBUTTONDOWN, EVENT_RBUTTONDOWN, EVENT_MBUTTONDOWN, EVENT_LBUTTONUP, EVENT_RBUTTONUP, EVENT_MBUTTONUP, EVENT_LBUTTONDBLCLK, EVENT_RBUTTONDBLCLK, EVENT_MBUTTONDBLCLK, EVENT_MOUSEWHEEL, EVENT_MOUSEHWHEEL]"""
  1576. EVENT_FLAG_LBUTTON: int
  1577. EVENT_FLAG_RBUTTON: int
  1578. EVENT_FLAG_MBUTTON: int
  1579. EVENT_FLAG_CTRLKEY: int
  1580. EVENT_FLAG_SHIFTKEY: int
  1581. EVENT_FLAG_ALTKEY: int
  1582. MouseEventFlags = int
  1583. """One of [EVENT_FLAG_LBUTTON, EVENT_FLAG_RBUTTON, EVENT_FLAG_MBUTTON, EVENT_FLAG_CTRLKEY, EVENT_FLAG_SHIFTKEY, EVENT_FLAG_ALTKEY]"""
  1584. QT_FONT_LIGHT: int
  1585. QT_FONT_NORMAL: int
  1586. QT_FONT_DEMIBOLD: int
  1587. QT_FONT_BOLD: int
  1588. QT_FONT_BLACK: int
  1589. QtFontWeights = int
  1590. """One of [QT_FONT_LIGHT, QT_FONT_NORMAL, QT_FONT_DEMIBOLD, QT_FONT_BOLD, QT_FONT_BLACK]"""
  1591. QT_STYLE_NORMAL: int
  1592. QT_STYLE_ITALIC: int
  1593. QT_STYLE_OBLIQUE: int
  1594. QtFontStyles = int
  1595. """One of [QT_STYLE_NORMAL, QT_STYLE_ITALIC, QT_STYLE_OBLIQUE]"""
  1596. QT_PUSH_BUTTON: int
  1597. QT_CHECKBOX: int
  1598. QT_RADIOBOX: int
  1599. QT_NEW_BUTTONBAR: int
  1600. QtButtonTypes = int
  1601. """One of [QT_PUSH_BUTTON, QT_CHECKBOX, QT_RADIOBOX, QT_NEW_BUTTONBAR]"""
  1602. GShape_GMAT: int
  1603. GSHAPE_GMAT: int
  1604. GShape_GSCALAR: int
  1605. GSHAPE_GSCALAR: int
  1606. GShape_GARRAY: int
  1607. GSHAPE_GARRAY: int
  1608. GShape_GOPAQUE: int
  1609. GSHAPE_GOPAQUE: int
  1610. GShape_GFRAME: int
  1611. GSHAPE_GFRAME: int
  1612. GShape = int
  1613. """One of [GShape_GMAT, GSHAPE_GMAT, GShape_GSCALAR, GSHAPE_GSCALAR, GShape_GARRAY, GSHAPE_GARRAY, GShape_GOPAQUE, GSHAPE_GOPAQUE, GShape_GFRAME, GSHAPE_GFRAME]"""
  1614. MediaFormat_BGR: int
  1615. MEDIA_FORMAT_BGR: int
  1616. MediaFormat_NV12: int
  1617. MEDIA_FORMAT_NV12: int
  1618. MediaFormat_GRAY: int
  1619. MEDIA_FORMAT_GRAY: int
  1620. MediaFormat = int
  1621. """One of [MediaFormat_BGR, MEDIA_FORMAT_BGR, MediaFormat_NV12, MEDIA_FORMAT_NV12, MediaFormat_GRAY, MEDIA_FORMAT_GRAY]"""
  1622. FileStorage_READ: int
  1623. FILE_STORAGE_READ: int
  1624. FileStorage_WRITE: int
  1625. FILE_STORAGE_WRITE: int
  1626. FileStorage_APPEND: int
  1627. FILE_STORAGE_APPEND: int
  1628. FileStorage_MEMORY: int
  1629. FILE_STORAGE_MEMORY: int
  1630. FileStorage_FORMAT_MASK: int
  1631. FILE_STORAGE_FORMAT_MASK: int
  1632. FileStorage_FORMAT_AUTO: int
  1633. FILE_STORAGE_FORMAT_AUTO: int
  1634. FileStorage_FORMAT_XML: int
  1635. FILE_STORAGE_FORMAT_XML: int
  1636. FileStorage_FORMAT_YAML: int
  1637. FILE_STORAGE_FORMAT_YAML: int
  1638. FileStorage_FORMAT_JSON: int
  1639. FILE_STORAGE_FORMAT_JSON: int
  1640. FileStorage_BASE64: int
  1641. FILE_STORAGE_BASE64: int
  1642. FileStorage_WRITE_BASE64: int
  1643. FILE_STORAGE_WRITE_BASE64: int
  1644. FileStorage_Mode = int
  1645. """One of [FileStorage_READ, FILE_STORAGE_READ, FileStorage_WRITE, FILE_STORAGE_WRITE, FileStorage_APPEND, FILE_STORAGE_APPEND, FileStorage_MEMORY, FILE_STORAGE_MEMORY, FileStorage_FORMAT_MASK, FILE_STORAGE_FORMAT_MASK, FileStorage_FORMAT_AUTO, FILE_STORAGE_FORMAT_AUTO, FileStorage_FORMAT_XML, FILE_STORAGE_FORMAT_XML, FileStorage_FORMAT_YAML, FILE_STORAGE_FORMAT_YAML, FileStorage_FORMAT_JSON, FILE_STORAGE_FORMAT_JSON, FileStorage_BASE64, FILE_STORAGE_BASE64, FileStorage_WRITE_BASE64, FILE_STORAGE_WRITE_BASE64]"""
  1646. FileStorage_UNDEFINED: int
  1647. FILE_STORAGE_UNDEFINED: int
  1648. FileStorage_VALUE_EXPECTED: int
  1649. FILE_STORAGE_VALUE_EXPECTED: int
  1650. FileStorage_NAME_EXPECTED: int
  1651. FILE_STORAGE_NAME_EXPECTED: int
  1652. FileStorage_INSIDE_MAP: int
  1653. FILE_STORAGE_INSIDE_MAP: int
  1654. FileStorage_State = int
  1655. """One of [FileStorage_UNDEFINED, FILE_STORAGE_UNDEFINED, FileStorage_VALUE_EXPECTED, FILE_STORAGE_VALUE_EXPECTED, FileStorage_NAME_EXPECTED, FILE_STORAGE_NAME_EXPECTED, FileStorage_INSIDE_MAP, FILE_STORAGE_INSIDE_MAP]"""
  1656. FileNode_NONE: int
  1657. FILE_NODE_NONE: int
  1658. FileNode_INT: int
  1659. FILE_NODE_INT: int
  1660. FileNode_REAL: int
  1661. FILE_NODE_REAL: int
  1662. FileNode_FLOAT: int
  1663. FILE_NODE_FLOAT: int
  1664. FileNode_STR: int
  1665. FILE_NODE_STR: int
  1666. FileNode_STRING: int
  1667. FILE_NODE_STRING: int
  1668. FileNode_SEQ: int
  1669. FILE_NODE_SEQ: int
  1670. FileNode_MAP: int
  1671. FILE_NODE_MAP: int
  1672. FileNode_TYPE_MASK: int
  1673. FILE_NODE_TYPE_MASK: int
  1674. FileNode_FLOW: int
  1675. FILE_NODE_FLOW: int
  1676. FileNode_UNIFORM: int
  1677. FILE_NODE_UNIFORM: int
  1678. FileNode_EMPTY: int
  1679. FILE_NODE_EMPTY: int
  1680. FileNode_NAMED: int
  1681. FILE_NODE_NAMED: int
  1682. UMat_MAGIC_VAL: int
  1683. UMAT_MAGIC_VAL: int
  1684. UMat_AUTO_STEP: int
  1685. UMAT_AUTO_STEP: int
  1686. UMat_CONTINUOUS_FLAG: int
  1687. UMAT_CONTINUOUS_FLAG: int
  1688. UMat_SUBMATRIX_FLAG: int
  1689. UMAT_SUBMATRIX_FLAG: int
  1690. UMat_MAGIC_MASK: int
  1691. UMAT_MAGIC_MASK: int
  1692. UMat_TYPE_MASK: int
  1693. UMAT_TYPE_MASK: int
  1694. UMat_DEPTH_MASK: int
  1695. UMAT_DEPTH_MASK: int
  1696. Subdiv2D_PTLOC_ERROR: int
  1697. SUBDIV2D_PTLOC_ERROR: int
  1698. Subdiv2D_PTLOC_OUTSIDE_RECT: int
  1699. SUBDIV2D_PTLOC_OUTSIDE_RECT: int
  1700. Subdiv2D_PTLOC_INSIDE: int
  1701. SUBDIV2D_PTLOC_INSIDE: int
  1702. Subdiv2D_PTLOC_VERTEX: int
  1703. SUBDIV2D_PTLOC_VERTEX: int
  1704. Subdiv2D_PTLOC_ON_EDGE: int
  1705. SUBDIV2D_PTLOC_ON_EDGE: int
  1706. Subdiv2D_NEXT_AROUND_ORG: int
  1707. SUBDIV2D_NEXT_AROUND_ORG: int
  1708. Subdiv2D_NEXT_AROUND_DST: int
  1709. SUBDIV2D_NEXT_AROUND_DST: int
  1710. Subdiv2D_PREV_AROUND_ORG: int
  1711. SUBDIV2D_PREV_AROUND_ORG: int
  1712. Subdiv2D_PREV_AROUND_DST: int
  1713. SUBDIV2D_PREV_AROUND_DST: int
  1714. Subdiv2D_NEXT_AROUND_LEFT: int
  1715. SUBDIV2D_NEXT_AROUND_LEFT: int
  1716. Subdiv2D_NEXT_AROUND_RIGHT: int
  1717. SUBDIV2D_NEXT_AROUND_RIGHT: int
  1718. Subdiv2D_PREV_AROUND_LEFT: int
  1719. SUBDIV2D_PREV_AROUND_LEFT: int
  1720. Subdiv2D_PREV_AROUND_RIGHT: int
  1721. SUBDIV2D_PREV_AROUND_RIGHT: int
  1722. ORB_HARRIS_SCORE: int
  1723. ORB_FAST_SCORE: int
  1724. ORB_ScoreType = int
  1725. """One of [ORB_HARRIS_SCORE, ORB_FAST_SCORE]"""
  1726. FastFeatureDetector_TYPE_5_8: int
  1727. FAST_FEATURE_DETECTOR_TYPE_5_8: int
  1728. FastFeatureDetector_TYPE_7_12: int
  1729. FAST_FEATURE_DETECTOR_TYPE_7_12: int
  1730. FastFeatureDetector_TYPE_9_16: int
  1731. FAST_FEATURE_DETECTOR_TYPE_9_16: int
  1732. FastFeatureDetector_DetectorType = int
  1733. """One of [FastFeatureDetector_TYPE_5_8, FAST_FEATURE_DETECTOR_TYPE_5_8, FastFeatureDetector_TYPE_7_12, FAST_FEATURE_DETECTOR_TYPE_7_12, FastFeatureDetector_TYPE_9_16, FAST_FEATURE_DETECTOR_TYPE_9_16]"""
  1734. FastFeatureDetector_THRESHOLD: int
  1735. FAST_FEATURE_DETECTOR_THRESHOLD: int
  1736. FastFeatureDetector_NONMAX_SUPPRESSION: int
  1737. FAST_FEATURE_DETECTOR_NONMAX_SUPPRESSION: int
  1738. FastFeatureDetector_FAST_N: int
  1739. FAST_FEATURE_DETECTOR_FAST_N: int
  1740. AgastFeatureDetector_AGAST_5_8: int
  1741. AGAST_FEATURE_DETECTOR_AGAST_5_8: int
  1742. AgastFeatureDetector_AGAST_7_12d: int
  1743. AGAST_FEATURE_DETECTOR_AGAST_7_12D: int
  1744. AgastFeatureDetector_AGAST_7_12s: int
  1745. AGAST_FEATURE_DETECTOR_AGAST_7_12S: int
  1746. AgastFeatureDetector_OAST_9_16: int
  1747. AGAST_FEATURE_DETECTOR_OAST_9_16: int
  1748. AgastFeatureDetector_DetectorType = int
  1749. """One of [AgastFeatureDetector_AGAST_5_8, AGAST_FEATURE_DETECTOR_AGAST_5_8, AgastFeatureDetector_AGAST_7_12d, AGAST_FEATURE_DETECTOR_AGAST_7_12D, AgastFeatureDetector_AGAST_7_12s, AGAST_FEATURE_DETECTOR_AGAST_7_12S, AgastFeatureDetector_OAST_9_16, AGAST_FEATURE_DETECTOR_OAST_9_16]"""
  1750. AgastFeatureDetector_THRESHOLD: int
  1751. AGAST_FEATURE_DETECTOR_THRESHOLD: int
  1752. AgastFeatureDetector_NONMAX_SUPPRESSION: int
  1753. AGAST_FEATURE_DETECTOR_NONMAX_SUPPRESSION: int
  1754. KAZE_DIFF_PM_G1: int
  1755. KAZE_DIFF_PM_G2: int
  1756. KAZE_DIFF_WEICKERT: int
  1757. KAZE_DIFF_CHARBONNIER: int
  1758. KAZE_DiffusivityType = int
  1759. """One of [KAZE_DIFF_PM_G1, KAZE_DIFF_PM_G2, KAZE_DIFF_WEICKERT, KAZE_DIFF_CHARBONNIER]"""
  1760. AKAZE_DESCRIPTOR_KAZE_UPRIGHT: int
  1761. AKAZE_DESCRIPTOR_KAZE: int
  1762. AKAZE_DESCRIPTOR_MLDB_UPRIGHT: int
  1763. AKAZE_DESCRIPTOR_MLDB: int
  1764. AKAZE_DescriptorType = int
  1765. """One of [AKAZE_DESCRIPTOR_KAZE_UPRIGHT, AKAZE_DESCRIPTOR_KAZE, AKAZE_DESCRIPTOR_MLDB_UPRIGHT, AKAZE_DESCRIPTOR_MLDB]"""
  1766. DescriptorMatcher_FLANNBASED: int
  1767. DESCRIPTOR_MATCHER_FLANNBASED: int
  1768. DescriptorMatcher_BRUTEFORCE: int
  1769. DESCRIPTOR_MATCHER_BRUTEFORCE: int
  1770. DescriptorMatcher_BRUTEFORCE_L1: int
  1771. DESCRIPTOR_MATCHER_BRUTEFORCE_L1: int
  1772. DescriptorMatcher_BRUTEFORCE_HAMMING: int
  1773. DESCRIPTOR_MATCHER_BRUTEFORCE_HAMMING: int
  1774. DescriptorMatcher_BRUTEFORCE_HAMMINGLUT: int
  1775. DESCRIPTOR_MATCHER_BRUTEFORCE_HAMMINGLUT: int
  1776. DescriptorMatcher_BRUTEFORCE_SL2: int
  1777. DESCRIPTOR_MATCHER_BRUTEFORCE_SL2: int
  1778. DescriptorMatcher_MatcherType = int
  1779. """One of [DescriptorMatcher_FLANNBASED, DESCRIPTOR_MATCHER_FLANNBASED, DescriptorMatcher_BRUTEFORCE, DESCRIPTOR_MATCHER_BRUTEFORCE, DescriptorMatcher_BRUTEFORCE_L1, DESCRIPTOR_MATCHER_BRUTEFORCE_L1, DescriptorMatcher_BRUTEFORCE_HAMMING, DESCRIPTOR_MATCHER_BRUTEFORCE_HAMMING, DescriptorMatcher_BRUTEFORCE_HAMMINGLUT, DESCRIPTOR_MATCHER_BRUTEFORCE_HAMMINGLUT, DescriptorMatcher_BRUTEFORCE_SL2, DESCRIPTOR_MATCHER_BRUTEFORCE_SL2]"""
  1780. CirclesGridFinderParameters_SYMMETRIC_GRID: int
  1781. CIRCLES_GRID_FINDER_PARAMETERS_SYMMETRIC_GRID: int
  1782. CirclesGridFinderParameters_ASYMMETRIC_GRID: int
  1783. CIRCLES_GRID_FINDER_PARAMETERS_ASYMMETRIC_GRID: int
  1784. CirclesGridFinderParameters_GridType = int
  1785. """One of [CirclesGridFinderParameters_SYMMETRIC_GRID, CIRCLES_GRID_FINDER_PARAMETERS_SYMMETRIC_GRID, CirclesGridFinderParameters_ASYMMETRIC_GRID, CIRCLES_GRID_FINDER_PARAMETERS_ASYMMETRIC_GRID]"""
  1786. StereoMatcher_DISP_SHIFT: int
  1787. STEREO_MATCHER_DISP_SHIFT: int
  1788. StereoMatcher_DISP_SCALE: int
  1789. STEREO_MATCHER_DISP_SCALE: int
  1790. StereoBM_PREFILTER_NORMALIZED_RESPONSE: int
  1791. STEREO_BM_PREFILTER_NORMALIZED_RESPONSE: int
  1792. StereoBM_PREFILTER_XSOBEL: int
  1793. STEREO_BM_PREFILTER_XSOBEL: int
  1794. StereoSGBM_MODE_SGBM: int
  1795. STEREO_SGBM_MODE_SGBM: int
  1796. StereoSGBM_MODE_HH: int
  1797. STEREO_SGBM_MODE_HH: int
  1798. StereoSGBM_MODE_SGBM_3WAY: int
  1799. STEREO_SGBM_MODE_SGBM_3WAY: int
  1800. StereoSGBM_MODE_HH4: int
  1801. STEREO_SGBM_MODE_HH4: int
  1802. HOGDescriptor_L2Hys: int
  1803. HOGDESCRIPTOR_L2HYS: int
  1804. HOGDescriptor_HistogramNormType = int
  1805. """One of [HOGDescriptor_L2Hys, HOGDESCRIPTOR_L2HYS]"""
  1806. HOGDescriptor_DEFAULT_NLEVELS: int
  1807. HOGDESCRIPTOR_DEFAULT_NLEVELS: int
  1808. HOGDescriptor_DESCR_FORMAT_COL_BY_COL: int
  1809. HOGDESCRIPTOR_DESCR_FORMAT_COL_BY_COL: int
  1810. HOGDescriptor_DESCR_FORMAT_ROW_BY_ROW: int
  1811. HOGDESCRIPTOR_DESCR_FORMAT_ROW_BY_ROW: int
  1812. HOGDescriptor_DescriptorStorageFormat = int
  1813. """One of [HOGDescriptor_DESCR_FORMAT_COL_BY_COL, HOGDESCRIPTOR_DESCR_FORMAT_COL_BY_COL, HOGDescriptor_DESCR_FORMAT_ROW_BY_ROW, HOGDESCRIPTOR_DESCR_FORMAT_ROW_BY_ROW]"""
  1814. QRCodeEncoder_MODE_AUTO: int
  1815. QRCODE_ENCODER_MODE_AUTO: int
  1816. QRCodeEncoder_MODE_NUMERIC: int
  1817. QRCODE_ENCODER_MODE_NUMERIC: int
  1818. QRCodeEncoder_MODE_ALPHANUMERIC: int
  1819. QRCODE_ENCODER_MODE_ALPHANUMERIC: int
  1820. QRCodeEncoder_MODE_BYTE: int
  1821. QRCODE_ENCODER_MODE_BYTE: int
  1822. QRCodeEncoder_MODE_ECI: int
  1823. QRCODE_ENCODER_MODE_ECI: int
  1824. QRCodeEncoder_MODE_KANJI: int
  1825. QRCODE_ENCODER_MODE_KANJI: int
  1826. QRCodeEncoder_MODE_STRUCTURED_APPEND: int
  1827. QRCODE_ENCODER_MODE_STRUCTURED_APPEND: int
  1828. QRCodeEncoder_EncodeMode = int
  1829. """One of [QRCodeEncoder_MODE_AUTO, QRCODE_ENCODER_MODE_AUTO, QRCodeEncoder_MODE_NUMERIC, QRCODE_ENCODER_MODE_NUMERIC, QRCodeEncoder_MODE_ALPHANUMERIC, QRCODE_ENCODER_MODE_ALPHANUMERIC, QRCodeEncoder_MODE_BYTE, QRCODE_ENCODER_MODE_BYTE, QRCodeEncoder_MODE_ECI, QRCODE_ENCODER_MODE_ECI, QRCodeEncoder_MODE_KANJI, QRCODE_ENCODER_MODE_KANJI, QRCodeEncoder_MODE_STRUCTURED_APPEND, QRCODE_ENCODER_MODE_STRUCTURED_APPEND]"""
  1830. QRCodeEncoder_CORRECT_LEVEL_L: int
  1831. QRCODE_ENCODER_CORRECT_LEVEL_L: int
  1832. QRCodeEncoder_CORRECT_LEVEL_M: int
  1833. QRCODE_ENCODER_CORRECT_LEVEL_M: int
  1834. QRCodeEncoder_CORRECT_LEVEL_Q: int
  1835. QRCODE_ENCODER_CORRECT_LEVEL_Q: int
  1836. QRCodeEncoder_CORRECT_LEVEL_H: int
  1837. QRCODE_ENCODER_CORRECT_LEVEL_H: int
  1838. QRCodeEncoder_CorrectionLevel = int
  1839. """One of [QRCodeEncoder_CORRECT_LEVEL_L, QRCODE_ENCODER_CORRECT_LEVEL_L, QRCodeEncoder_CORRECT_LEVEL_M, QRCODE_ENCODER_CORRECT_LEVEL_M, QRCodeEncoder_CORRECT_LEVEL_Q, QRCODE_ENCODER_CORRECT_LEVEL_Q, QRCodeEncoder_CORRECT_LEVEL_H, QRCODE_ENCODER_CORRECT_LEVEL_H]"""
  1840. QRCodeEncoder_ECI_SHIFT_JIS: int
  1841. QRCODE_ENCODER_ECI_SHIFT_JIS: int
  1842. QRCodeEncoder_ECI_UTF8: int
  1843. QRCODE_ENCODER_ECI_UTF8: int
  1844. QRCodeEncoder_ECIEncodings = int
  1845. """One of [QRCodeEncoder_ECI_SHIFT_JIS, QRCODE_ENCODER_ECI_SHIFT_JIS, QRCodeEncoder_ECI_UTF8, QRCODE_ENCODER_ECI_UTF8]"""
  1846. FaceRecognizerSF_FR_COSINE: int
  1847. FACE_RECOGNIZER_SF_FR_COSINE: int
  1848. FaceRecognizerSF_FR_NORM_L2: int
  1849. FACE_RECOGNIZER_SF_FR_NORM_L2: int
  1850. FaceRecognizerSF_DisType = int
  1851. """One of [FaceRecognizerSF_FR_COSINE, FACE_RECOGNIZER_SF_FR_COSINE, FaceRecognizerSF_FR_NORM_L2, FACE_RECOGNIZER_SF_FR_NORM_L2]"""
  1852. DISOpticalFlow_PRESET_ULTRAFAST: int
  1853. DISOPTICAL_FLOW_PRESET_ULTRAFAST: int
  1854. DISOpticalFlow_PRESET_FAST: int
  1855. DISOPTICAL_FLOW_PRESET_FAST: int
  1856. DISOpticalFlow_PRESET_MEDIUM: int
  1857. DISOPTICAL_FLOW_PRESET_MEDIUM: int
  1858. Stitcher_OK: int
  1859. STITCHER_OK: int
  1860. Stitcher_ERR_NEED_MORE_IMGS: int
  1861. STITCHER_ERR_NEED_MORE_IMGS: int
  1862. Stitcher_ERR_HOMOGRAPHY_EST_FAIL: int
  1863. STITCHER_ERR_HOMOGRAPHY_EST_FAIL: int
  1864. Stitcher_ERR_CAMERA_PARAMS_ADJUST_FAIL: int
  1865. STITCHER_ERR_CAMERA_PARAMS_ADJUST_FAIL: int
  1866. Stitcher_Status = int
  1867. """One of [Stitcher_OK, STITCHER_OK, Stitcher_ERR_NEED_MORE_IMGS, STITCHER_ERR_NEED_MORE_IMGS, Stitcher_ERR_HOMOGRAPHY_EST_FAIL, STITCHER_ERR_HOMOGRAPHY_EST_FAIL, Stitcher_ERR_CAMERA_PARAMS_ADJUST_FAIL, STITCHER_ERR_CAMERA_PARAMS_ADJUST_FAIL]"""
  1868. Stitcher_PANORAMA: int
  1869. STITCHER_PANORAMA: int
  1870. Stitcher_SCANS: int
  1871. STITCHER_SCANS: int
  1872. Stitcher_Mode = int
  1873. """One of [Stitcher_PANORAMA, STITCHER_PANORAMA, Stitcher_SCANS, STITCHER_SCANS]"""
  1874. TrackerKCF_GRAY: int
  1875. TRACKER_KCF_GRAY: int
  1876. TrackerKCF_CN: int
  1877. TRACKER_KCF_CN: int
  1878. TrackerKCF_CUSTOM: int
  1879. TRACKER_KCF_CUSTOM: int
  1880. TrackerKCF_MODE = int
  1881. """One of [TrackerKCF_GRAY, TRACKER_KCF_GRAY, TrackerKCF_CN, TRACKER_KCF_CN, TrackerKCF_CUSTOM, TRACKER_KCF_CUSTOM]"""
  1882. PCA_DATA_AS_ROW: int
  1883. PCA_DATA_AS_COL: int
  1884. PCA_USE_AVG: int
  1885. PCA_Flags = int
  1886. """One of [PCA_DATA_AS_ROW, PCA_DATA_AS_COL, PCA_USE_AVG]"""
  1887. SVD_MODIFY_A: int
  1888. SVD_NO_UV: int
  1889. SVD_FULL_UV: int
  1890. SVD_Flags = int
  1891. """One of [SVD_MODIFY_A, SVD_NO_UV, SVD_FULL_UV]"""
  1892. RNG_UNIFORM: int
  1893. RNG_NORMAL: int
  1894. Formatter_FMT_DEFAULT: int
  1895. FORMATTER_FMT_DEFAULT: int
  1896. Formatter_FMT_MATLAB: int
  1897. FORMATTER_FMT_MATLAB: int
  1898. Formatter_FMT_CSV: int
  1899. FORMATTER_FMT_CSV: int
  1900. Formatter_FMT_PYTHON: int
  1901. FORMATTER_FMT_PYTHON: int
  1902. Formatter_FMT_NUMPY: int
  1903. FORMATTER_FMT_NUMPY: int
  1904. Formatter_FMT_C: int
  1905. FORMATTER_FMT_C: int
  1906. Formatter_FormatType = int
  1907. """One of [Formatter_FMT_DEFAULT, FORMATTER_FMT_DEFAULT, Formatter_FMT_MATLAB, FORMATTER_FMT_MATLAB, Formatter_FMT_CSV, FORMATTER_FMT_CSV, Formatter_FMT_PYTHON, FORMATTER_FMT_PYTHON, Formatter_FMT_NUMPY, FORMATTER_FMT_NUMPY, Formatter_FMT_C, FORMATTER_FMT_C]"""
  1908. _InputArray_KIND_SHIFT: int
  1909. _INPUT_ARRAY_KIND_SHIFT: int
  1910. _InputArray_FIXED_TYPE: int
  1911. _INPUT_ARRAY_FIXED_TYPE: int
  1912. _InputArray_FIXED_SIZE: int
  1913. _INPUT_ARRAY_FIXED_SIZE: int
  1914. _InputArray_KIND_MASK: int
  1915. _INPUT_ARRAY_KIND_MASK: int
  1916. _InputArray_NONE: int
  1917. _INPUT_ARRAY_NONE: int
  1918. _InputArray_MAT: int
  1919. _INPUT_ARRAY_MAT: int
  1920. _InputArray_MATX: int
  1921. _INPUT_ARRAY_MATX: int
  1922. _InputArray_STD_VECTOR: int
  1923. _INPUT_ARRAY_STD_VECTOR: int
  1924. _InputArray_STD_VECTOR_VECTOR: int
  1925. _INPUT_ARRAY_STD_VECTOR_VECTOR: int
  1926. _InputArray_STD_VECTOR_MAT: int
  1927. _INPUT_ARRAY_STD_VECTOR_MAT: int
  1928. _InputArray_EXPR: int
  1929. _INPUT_ARRAY_EXPR: int
  1930. _InputArray_OPENGL_BUFFER: int
  1931. _INPUT_ARRAY_OPENGL_BUFFER: int
  1932. _InputArray_CUDA_HOST_MEM: int
  1933. _INPUT_ARRAY_CUDA_HOST_MEM: int
  1934. _InputArray_CUDA_GPU_MAT: int
  1935. _INPUT_ARRAY_CUDA_GPU_MAT: int
  1936. _InputArray_UMAT: int
  1937. _INPUT_ARRAY_UMAT: int
  1938. _InputArray_STD_VECTOR_UMAT: int
  1939. _INPUT_ARRAY_STD_VECTOR_UMAT: int
  1940. _InputArray_STD_BOOL_VECTOR: int
  1941. _INPUT_ARRAY_STD_BOOL_VECTOR: int
  1942. _InputArray_STD_VECTOR_CUDA_GPU_MAT: int
  1943. _INPUT_ARRAY_STD_VECTOR_CUDA_GPU_MAT: int
  1944. _InputArray_STD_ARRAY: int
  1945. _INPUT_ARRAY_STD_ARRAY: int
  1946. _InputArray_STD_ARRAY_MAT: int
  1947. _INPUT_ARRAY_STD_ARRAY_MAT: int
  1948. _InputArray_CUDA_GPU_MATND: int
  1949. _INPUT_ARRAY_CUDA_GPU_MATND: int
  1950. _InputArray_KindFlag = int
  1951. """One of [_InputArray_KIND_SHIFT, _INPUT_ARRAY_KIND_SHIFT, _InputArray_FIXED_TYPE, _INPUT_ARRAY_FIXED_TYPE, _InputArray_FIXED_SIZE, _INPUT_ARRAY_FIXED_SIZE, _InputArray_KIND_MASK, _INPUT_ARRAY_KIND_MASK, _InputArray_NONE, _INPUT_ARRAY_NONE, _InputArray_MAT, _INPUT_ARRAY_MAT, _InputArray_MATX, _INPUT_ARRAY_MATX, _InputArray_STD_VECTOR, _INPUT_ARRAY_STD_VECTOR, _InputArray_STD_VECTOR_VECTOR, _INPUT_ARRAY_STD_VECTOR_VECTOR, _InputArray_STD_VECTOR_MAT, _INPUT_ARRAY_STD_VECTOR_MAT, _InputArray_EXPR, _INPUT_ARRAY_EXPR, _InputArray_OPENGL_BUFFER, _INPUT_ARRAY_OPENGL_BUFFER, _InputArray_CUDA_HOST_MEM, _INPUT_ARRAY_CUDA_HOST_MEM, _InputArray_CUDA_GPU_MAT, _INPUT_ARRAY_CUDA_GPU_MAT, _InputArray_UMAT, _INPUT_ARRAY_UMAT, _InputArray_STD_VECTOR_UMAT, _INPUT_ARRAY_STD_VECTOR_UMAT, _InputArray_STD_BOOL_VECTOR, _INPUT_ARRAY_STD_BOOL_VECTOR, _InputArray_STD_VECTOR_CUDA_GPU_MAT, _INPUT_ARRAY_STD_VECTOR_CUDA_GPU_MAT, _InputArray_STD_ARRAY, _INPUT_ARRAY_STD_ARRAY, _InputArray_STD_ARRAY_MAT, _INPUT_ARRAY_STD_ARRAY_MAT, _InputArray_CUDA_GPU_MATND, _INPUT_ARRAY_CUDA_GPU_MATND]"""
  1952. _OutputArray_DEPTH_MASK_8U: int
  1953. _OUTPUT_ARRAY_DEPTH_MASK_8U: int
  1954. _OutputArray_DEPTH_MASK_8S: int
  1955. _OUTPUT_ARRAY_DEPTH_MASK_8S: int
  1956. _OutputArray_DEPTH_MASK_16U: int
  1957. _OUTPUT_ARRAY_DEPTH_MASK_16U: int
  1958. _OutputArray_DEPTH_MASK_16S: int
  1959. _OUTPUT_ARRAY_DEPTH_MASK_16S: int
  1960. _OutputArray_DEPTH_MASK_32S: int
  1961. _OUTPUT_ARRAY_DEPTH_MASK_32S: int
  1962. _OutputArray_DEPTH_MASK_32F: int
  1963. _OUTPUT_ARRAY_DEPTH_MASK_32F: int
  1964. _OutputArray_DEPTH_MASK_64F: int
  1965. _OUTPUT_ARRAY_DEPTH_MASK_64F: int
  1966. _OutputArray_DEPTH_MASK_16F: int
  1967. _OUTPUT_ARRAY_DEPTH_MASK_16F: int
  1968. _OutputArray_DEPTH_MASK_ALL: int
  1969. _OUTPUT_ARRAY_DEPTH_MASK_ALL: int
  1970. _OutputArray_DEPTH_MASK_ALL_BUT_8S: int
  1971. _OUTPUT_ARRAY_DEPTH_MASK_ALL_BUT_8S: int
  1972. _OutputArray_DEPTH_MASK_ALL_16F: int
  1973. _OUTPUT_ARRAY_DEPTH_MASK_ALL_16F: int
  1974. _OutputArray_DEPTH_MASK_FLT: int
  1975. _OUTPUT_ARRAY_DEPTH_MASK_FLT: int
  1976. _OutputArray_DepthMask = int
  1977. """One of [_OutputArray_DEPTH_MASK_8U, _OUTPUT_ARRAY_DEPTH_MASK_8U, _OutputArray_DEPTH_MASK_8S, _OUTPUT_ARRAY_DEPTH_MASK_8S, _OutputArray_DEPTH_MASK_16U, _OUTPUT_ARRAY_DEPTH_MASK_16U, _OutputArray_DEPTH_MASK_16S, _OUTPUT_ARRAY_DEPTH_MASK_16S, _OutputArray_DEPTH_MASK_32S, _OUTPUT_ARRAY_DEPTH_MASK_32S, _OutputArray_DEPTH_MASK_32F, _OUTPUT_ARRAY_DEPTH_MASK_32F, _OutputArray_DEPTH_MASK_64F, _OUTPUT_ARRAY_DEPTH_MASK_64F, _OutputArray_DEPTH_MASK_16F, _OUTPUT_ARRAY_DEPTH_MASK_16F, _OutputArray_DEPTH_MASK_ALL, _OUTPUT_ARRAY_DEPTH_MASK_ALL, _OutputArray_DEPTH_MASK_ALL_BUT_8S, _OUTPUT_ARRAY_DEPTH_MASK_ALL_BUT_8S, _OutputArray_DEPTH_MASK_ALL_16F, _OUTPUT_ARRAY_DEPTH_MASK_ALL_16F, _OutputArray_DEPTH_MASK_FLT, _OUTPUT_ARRAY_DEPTH_MASK_FLT]"""
  1978. UMatData_COPY_ON_MAP: int
  1979. UMAT_DATA_COPY_ON_MAP: int
  1980. UMatData_HOST_COPY_OBSOLETE: int
  1981. UMAT_DATA_HOST_COPY_OBSOLETE: int
  1982. UMatData_DEVICE_COPY_OBSOLETE: int
  1983. UMAT_DATA_DEVICE_COPY_OBSOLETE: int
  1984. UMatData_TEMP_UMAT: int
  1985. UMAT_DATA_TEMP_UMAT: int
  1986. UMatData_TEMP_COPIED_UMAT: int
  1987. UMAT_DATA_TEMP_COPIED_UMAT: int
  1988. UMatData_USER_ALLOCATED: int
  1989. UMAT_DATA_USER_ALLOCATED: int
  1990. UMatData_DEVICE_MEM_MAPPED: int
  1991. UMAT_DATA_DEVICE_MEM_MAPPED: int
  1992. UMatData_ASYNC_CLEANUP: int
  1993. UMAT_DATA_ASYNC_CLEANUP: int
  1994. UMatData_MemoryFlag = int
  1995. """One of [UMatData_COPY_ON_MAP, UMAT_DATA_COPY_ON_MAP, UMatData_HOST_COPY_OBSOLETE, UMAT_DATA_HOST_COPY_OBSOLETE, UMatData_DEVICE_COPY_OBSOLETE, UMAT_DATA_DEVICE_COPY_OBSOLETE, UMatData_TEMP_UMAT, UMAT_DATA_TEMP_UMAT, UMatData_TEMP_COPIED_UMAT, UMAT_DATA_TEMP_COPIED_UMAT, UMatData_USER_ALLOCATED, UMAT_DATA_USER_ALLOCATED, UMatData_DEVICE_MEM_MAPPED, UMAT_DATA_DEVICE_MEM_MAPPED, UMatData_ASYNC_CLEANUP, UMAT_DATA_ASYNC_CLEANUP]"""
  1996. Mat_MAGIC_VAL: int
  1997. MAT_MAGIC_VAL: int
  1998. Mat_AUTO_STEP: int
  1999. MAT_AUTO_STEP: int
  2000. Mat_CONTINUOUS_FLAG: int
  2001. MAT_CONTINUOUS_FLAG: int
  2002. Mat_SUBMATRIX_FLAG: int
  2003. MAT_SUBMATRIX_FLAG: int
  2004. Mat_MAGIC_MASK: int
  2005. MAT_MAGIC_MASK: int
  2006. Mat_TYPE_MASK: int
  2007. MAT_TYPE_MASK: int
  2008. Mat_DEPTH_MASK: int
  2009. MAT_DEPTH_MASK: int
  2010. SparseMat_MAGIC_VAL: int
  2011. SPARSE_MAT_MAGIC_VAL: int
  2012. SparseMat_MAX_DIM: int
  2013. SPARSE_MAT_MAX_DIM: int
  2014. SparseMat_HASH_SCALE: int
  2015. SPARSE_MAT_HASH_SCALE: int
  2016. SparseMat_HASH_BIT: int
  2017. SPARSE_MAT_HASH_BIT: int
  2018. QuatEnum_INT_XYZ: int
  2019. QUAT_ENUM_INT_XYZ: int
  2020. QuatEnum_INT_XZY: int
  2021. QUAT_ENUM_INT_XZY: int
  2022. QuatEnum_INT_YXZ: int
  2023. QUAT_ENUM_INT_YXZ: int
  2024. QuatEnum_INT_YZX: int
  2025. QUAT_ENUM_INT_YZX: int
  2026. QuatEnum_INT_ZXY: int
  2027. QUAT_ENUM_INT_ZXY: int
  2028. QuatEnum_INT_ZYX: int
  2029. QUAT_ENUM_INT_ZYX: int
  2030. QuatEnum_INT_XYX: int
  2031. QUAT_ENUM_INT_XYX: int
  2032. QuatEnum_INT_XZX: int
  2033. QUAT_ENUM_INT_XZX: int
  2034. QuatEnum_INT_YXY: int
  2035. QUAT_ENUM_INT_YXY: int
  2036. QuatEnum_INT_YZY: int
  2037. QUAT_ENUM_INT_YZY: int
  2038. QuatEnum_INT_ZXZ: int
  2039. QUAT_ENUM_INT_ZXZ: int
  2040. QuatEnum_INT_ZYZ: int
  2041. QUAT_ENUM_INT_ZYZ: int
  2042. QuatEnum_EXT_XYZ: int
  2043. QUAT_ENUM_EXT_XYZ: int
  2044. QuatEnum_EXT_XZY: int
  2045. QUAT_ENUM_EXT_XZY: int
  2046. QuatEnum_EXT_YXZ: int
  2047. QUAT_ENUM_EXT_YXZ: int
  2048. QuatEnum_EXT_YZX: int
  2049. QUAT_ENUM_EXT_YZX: int
  2050. QuatEnum_EXT_ZXY: int
  2051. QUAT_ENUM_EXT_ZXY: int
  2052. QuatEnum_EXT_ZYX: int
  2053. QUAT_ENUM_EXT_ZYX: int
  2054. QuatEnum_EXT_XYX: int
  2055. QUAT_ENUM_EXT_XYX: int
  2056. QuatEnum_EXT_XZX: int
  2057. QUAT_ENUM_EXT_XZX: int
  2058. QuatEnum_EXT_YXY: int
  2059. QUAT_ENUM_EXT_YXY: int
  2060. QuatEnum_EXT_YZY: int
  2061. QUAT_ENUM_EXT_YZY: int
  2062. QuatEnum_EXT_ZXZ: int
  2063. QUAT_ENUM_EXT_ZXZ: int
  2064. QuatEnum_EXT_ZYZ: int
  2065. QUAT_ENUM_EXT_ZYZ: int
  2066. QuatEnum_EULER_ANGLES_MAX_VALUE: int
  2067. QUAT_ENUM_EULER_ANGLES_MAX_VALUE: int
  2068. QuatEnum_EulerAnglesType = int
  2069. """One of [QuatEnum_INT_XYZ, QUAT_ENUM_INT_XYZ, QuatEnum_INT_XZY, QUAT_ENUM_INT_XZY, QuatEnum_INT_YXZ, QUAT_ENUM_INT_YXZ, QuatEnum_INT_YZX, QUAT_ENUM_INT_YZX, QuatEnum_INT_ZXY, QUAT_ENUM_INT_ZXY, QuatEnum_INT_ZYX, QUAT_ENUM_INT_ZYX, QuatEnum_INT_XYX, QUAT_ENUM_INT_XYX, QuatEnum_INT_XZX, QUAT_ENUM_INT_XZX, QuatEnum_INT_YXY, QUAT_ENUM_INT_YXY, QuatEnum_INT_YZY, QUAT_ENUM_INT_YZY, QuatEnum_INT_ZXZ, QUAT_ENUM_INT_ZXZ, QuatEnum_INT_ZYZ, QUAT_ENUM_INT_ZYZ, QuatEnum_EXT_XYZ, QUAT_ENUM_EXT_XYZ, QuatEnum_EXT_XZY, QUAT_ENUM_EXT_XZY, QuatEnum_EXT_YXZ, QUAT_ENUM_EXT_YXZ, QuatEnum_EXT_YZX, QUAT_ENUM_EXT_YZX, QuatEnum_EXT_ZXY, QUAT_ENUM_EXT_ZXY, QuatEnum_EXT_ZYX, QUAT_ENUM_EXT_ZYX, QuatEnum_EXT_XYX, QUAT_ENUM_EXT_XYX, QuatEnum_EXT_XZX, QUAT_ENUM_EXT_XZX, QuatEnum_EXT_YXY, QUAT_ENUM_EXT_YXY, QuatEnum_EXT_YZY, QUAT_ENUM_EXT_YZY, QuatEnum_EXT_ZXZ, QUAT_ENUM_EXT_ZXZ, QuatEnum_EXT_ZYZ, QUAT_ENUM_EXT_ZYZ, QuatEnum_EULER_ANGLES_MAX_VALUE, QUAT_ENUM_EULER_ANGLES_MAX_VALUE]"""
  2070. TermCriteria_COUNT: int
  2071. TERM_CRITERIA_COUNT: int
  2072. TermCriteria_MAX_ITER: int
  2073. TERM_CRITERIA_MAX_ITER: int
  2074. TermCriteria_EPS: int
  2075. TERM_CRITERIA_EPS: int
  2076. TermCriteria_Type = int
  2077. """One of [TermCriteria_COUNT, TERM_CRITERIA_COUNT, TermCriteria_MAX_ITER, TERM_CRITERIA_MAX_ITER, TermCriteria_EPS, TERM_CRITERIA_EPS]"""
  2078. GFluidKernel_Kind_Filter: int
  2079. GFLUID_KERNEL_KIND_FILTER: int
  2080. GFluidKernel_Kind_Resize: int
  2081. GFLUID_KERNEL_KIND_RESIZE: int
  2082. GFluidKernel_Kind_YUV420toRGB: int
  2083. GFLUID_KERNEL_KIND_YUV420TO_RGB: int
  2084. GFluidKernel_Kind = int
  2085. """One of [GFluidKernel_Kind_Filter, GFLUID_KERNEL_KIND_FILTER, GFluidKernel_Kind_Resize, GFLUID_KERNEL_KIND_RESIZE, GFluidKernel_Kind_YUV420toRGB, GFLUID_KERNEL_KIND_YUV420TO_RGB]"""
  2086. MediaFrame_Access_R: int
  2087. MEDIA_FRAME_ACCESS_R: int
  2088. MediaFrame_Access_W: int
  2089. MEDIA_FRAME_ACCESS_W: int
  2090. MediaFrame_Access = int
  2091. """One of [MediaFrame_Access_R, MEDIA_FRAME_ACCESS_R, MediaFrame_Access_W, MEDIA_FRAME_ACCESS_W]"""
  2092. RMat_Access_R: int
  2093. RMAT_ACCESS_R: int
  2094. RMat_Access_W: int
  2095. RMAT_ACCESS_W: int
  2096. RMat_Access = int
  2097. """One of [RMat_Access_R, RMAT_ACCESS_R, RMat_Access_W, RMAT_ACCESS_W]"""
  2098. # Constants
  2099. CV_8U: int
  2100. CV_8UC1: int
  2101. CV_8UC2: int
  2102. CV_8UC3: int
  2103. CV_8UC4: int
  2104. CV_8S: int
  2105. CV_8SC1: int
  2106. CV_8SC2: int
  2107. CV_8SC3: int
  2108. CV_8SC4: int
  2109. CV_16U: int
  2110. CV_16UC1: int
  2111. CV_16UC2: int
  2112. CV_16UC3: int
  2113. CV_16UC4: int
  2114. CV_16S: int
  2115. CV_16SC1: int
  2116. CV_16SC2: int
  2117. CV_16SC3: int
  2118. CV_16SC4: int
  2119. CV_32S: int
  2120. CV_32SC1: int
  2121. CV_32SC2: int
  2122. CV_32SC3: int
  2123. CV_32SC4: int
  2124. CV_32F: int
  2125. CV_32FC1: int
  2126. CV_32FC2: int
  2127. CV_32FC3: int
  2128. CV_32FC4: int
  2129. CV_64F: int
  2130. CV_64FC1: int
  2131. CV_64FC2: int
  2132. CV_64FC3: int
  2133. CV_64FC4: int
  2134. CV_16F: int
  2135. CV_16FC1: int
  2136. CV_16FC2: int
  2137. CV_16FC3: int
  2138. CV_16FC4: int
  2139. __version__: str
  2140. # Classes
  2141. class Algorithm:
  2142. # Functions
  2143. def clear(self) -> None: ...
  2144. @_typing.overload
  2145. def write(self, fs: FileStorage) -> None: ...
  2146. @_typing.overload
  2147. def write(self, fs: FileStorage, name: str) -> None: ...
  2148. def read(self, fn: FileNode) -> None: ...
  2149. def empty(self) -> bool: ...
  2150. def save(self, filename: str | os.PathLike[str]) -> None: ...
  2151. def getDefaultName(self) -> str: ...
  2152. class AsyncArray:
  2153. # Functions
  2154. def __init__(self) -> None: ...
  2155. def release(self) -> None: ...
  2156. @_typing.overload
  2157. def get(self, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  2158. @_typing.overload
  2159. def get(self, dst: UMat | None = ...) -> UMat: ...
  2160. @_typing.overload
  2161. def get(self, timeoutNs: float, dst: cv2.typing.MatLike | None = ...) -> tuple[bool, cv2.typing.MatLike]: ...
  2162. @_typing.overload
  2163. def get(self, timeoutNs: float, dst: UMat | None = ...) -> tuple[bool, UMat]: ...
  2164. def wait_for(self, timeoutNs: float) -> bool: ...
  2165. def valid(self) -> bool: ...
  2166. class FileStorage:
  2167. # Functions
  2168. @_typing.overload
  2169. def __init__(self) -> None: ...
  2170. @_typing.overload
  2171. def __init__(self, filename: str | os.PathLike[str], flags: int, encoding: str = ...) -> None: ...
  2172. def open(self, filename: str | os.PathLike[str], flags: int, encoding: str = ...) -> bool: ...
  2173. def isOpened(self) -> bool: ...
  2174. def release(self) -> None: ...
  2175. def releaseAndGetString(self) -> str: ...
  2176. def getFirstTopLevelNode(self) -> FileNode: ...
  2177. def root(self, streamidx: int = ...) -> FileNode: ...
  2178. def getNode(self, nodename: str) -> FileNode: ...
  2179. @_typing.overload
  2180. def write(self, name: str, val: int) -> None: ...
  2181. @_typing.overload
  2182. def write(self, name: str, val: int) -> None: ...
  2183. @_typing.overload
  2184. def write(self, name: str, val: float) -> None: ...
  2185. @_typing.overload
  2186. def write(self, name: str, val: str) -> None: ...
  2187. @_typing.overload
  2188. def write(self, name: str, val: cv2.typing.MatLike) -> None: ...
  2189. @_typing.overload
  2190. def write(self, name: str, val: _typing.Sequence[str]) -> None: ...
  2191. def writeComment(self, comment: str, append: bool = ...) -> None: ...
  2192. def startWriteStruct(self, name: str, flags: int, typeName: str = ...) -> None: ...
  2193. def endWriteStruct(self) -> None: ...
  2194. def getFormat(self) -> int: ...
  2195. class FileNode:
  2196. # Functions
  2197. def __init__(self) -> None: ...
  2198. def getNode(self, nodename: str) -> FileNode: ...
  2199. def at(self, i: int) -> FileNode: ...
  2200. def keys(self) -> _typing.Sequence[str]: ...
  2201. def type(self) -> int: ...
  2202. def empty(self) -> bool: ...
  2203. def isNone(self) -> bool: ...
  2204. def isSeq(self) -> bool: ...
  2205. def isMap(self) -> bool: ...
  2206. def isInt(self) -> bool: ...
  2207. def isReal(self) -> bool: ...
  2208. def isString(self) -> bool: ...
  2209. def isNamed(self) -> bool: ...
  2210. def name(self) -> str: ...
  2211. def size(self) -> int: ...
  2212. def rawSize(self) -> int: ...
  2213. def real(self) -> float: ...
  2214. def string(self) -> str: ...
  2215. def mat(self) -> cv2.typing.MatLike: ...
  2216. class RotatedRect:
  2217. center: cv2.typing.Point2f
  2218. size: cv2.typing.Size2f
  2219. angle: float
  2220. # Functions
  2221. @_typing.overload
  2222. def __init__(self) -> None: ...
  2223. @_typing.overload
  2224. def __init__(self, center: cv2.typing.Point2f, size: cv2.typing.Size2f, angle: float) -> None: ...
  2225. @_typing.overload
  2226. def __init__(self, point1: cv2.typing.Point2f, point2: cv2.typing.Point2f, point3: cv2.typing.Point2f) -> None: ...
  2227. def points(self) -> _typing.Sequence[cv2.typing.Point2f]: ...
  2228. def boundingRect(self) -> cv2.typing.Rect: ...
  2229. def boundingRect2f(self) -> cv2.typing.Rect2f: ...
  2230. class KeyPoint:
  2231. pt: cv2.typing.Point2f
  2232. size: float
  2233. angle: float
  2234. response: float
  2235. octave: int
  2236. class_id: int
  2237. # Functions
  2238. @_typing.overload
  2239. def __init__(self) -> None: ...
  2240. @_typing.overload
  2241. def __init__(self, x: float, y: float, size: float, angle: float = ..., response: float = ..., octave: int = ..., class_id: int = ...) -> None: ...
  2242. @staticmethod
  2243. @_typing.overload
  2244. def convert(keypoints: _typing.Sequence[KeyPoint], keypointIndexes: _typing.Sequence[int] = ...) -> _typing.Sequence[cv2.typing.Point2f]: ...
  2245. @staticmethod
  2246. @_typing.overload
  2247. def convert(points2f: _typing.Sequence[cv2.typing.Point2f], size: float = ..., response: float = ..., octave: int = ..., class_id: int = ...) -> _typing.Sequence[KeyPoint]: ...
  2248. @staticmethod
  2249. def overlap(kp1: KeyPoint, kp2: KeyPoint) -> float: ...
  2250. class DMatch:
  2251. queryIdx: int
  2252. trainIdx: int
  2253. imgIdx: int
  2254. distance: float
  2255. # Functions
  2256. @_typing.overload
  2257. def __init__(self) -> None: ...
  2258. @_typing.overload
  2259. def __init__(self, _queryIdx: int, _trainIdx: int, _distance: float) -> None: ...
  2260. @_typing.overload
  2261. def __init__(self, _queryIdx: int, _trainIdx: int, _imgIdx: int, _distance: float) -> None: ...
  2262. class TickMeter:
  2263. # Functions
  2264. def __init__(self) -> None: ...
  2265. def start(self) -> None: ...
  2266. def stop(self) -> None: ...
  2267. def getTimeTicks(self) -> int: ...
  2268. def getTimeMicro(self) -> float: ...
  2269. def getTimeMilli(self) -> float: ...
  2270. def getTimeSec(self) -> float: ...
  2271. def getLastTimeTicks(self) -> int: ...
  2272. def getLastTimeMicro(self) -> float: ...
  2273. def getLastTimeMilli(self) -> float: ...
  2274. def getLastTimeSec(self) -> float: ...
  2275. def getCounter(self) -> int: ...
  2276. def getFPS(self) -> float: ...
  2277. def getAvgTimeSec(self) -> float: ...
  2278. def getAvgTimeMilli(self) -> float: ...
  2279. def reset(self) -> None: ...
  2280. class UMat:
  2281. offset: int
  2282. # Functions
  2283. @_typing.overload
  2284. def __init__(self, usageFlags: UMatUsageFlags = ...) -> None: ...
  2285. @_typing.overload
  2286. def __init__(self, rows: int, cols: int, type: int, usageFlags: UMatUsageFlags = ...) -> None: ...
  2287. @_typing.overload
  2288. def __init__(self, size: cv2.typing.Size, type: int, usageFlags: UMatUsageFlags = ...) -> None: ...
  2289. @_typing.overload
  2290. def __init__(self, rows: int, cols: int, type: int, s: cv2.typing.Scalar, usageFlags: UMatUsageFlags = ...) -> None: ...
  2291. @_typing.overload
  2292. def __init__(self, size: cv2.typing.Size, type: int, s: cv2.typing.Scalar, usageFlags: UMatUsageFlags = ...) -> None: ...
  2293. @_typing.overload
  2294. def __init__(self, m: UMat) -> None: ...
  2295. @_typing.overload
  2296. def __init__(self, m: UMat, rowRange: cv2.typing.Range, colRange: cv2.typing.Range = ...) -> None: ...
  2297. @_typing.overload
  2298. def __init__(self, m: UMat, roi: cv2.typing.Rect) -> None: ...
  2299. @_typing.overload
  2300. def __init__(self, m: UMat, ranges: _typing.Sequence[cv2.typing.Range]) -> None: ...
  2301. @staticmethod
  2302. def queue() -> cv2.typing.IntPointer: ...
  2303. @staticmethod
  2304. def context() -> cv2.typing.IntPointer: ...
  2305. def get(self) -> cv2.typing.MatLike: ...
  2306. def isContinuous(self) -> bool: ...
  2307. def isSubmatrix(self) -> bool: ...
  2308. def handle(self, accessFlags: AccessFlag) -> cv2.typing.IntPointer: ...
  2309. class GeneralizedHough(Algorithm):
  2310. # Functions
  2311. @_typing.overload
  2312. def setTemplate(self, templ: cv2.typing.MatLike, templCenter: cv2.typing.Point = ...) -> None: ...
  2313. @_typing.overload
  2314. def setTemplate(self, templ: UMat, templCenter: cv2.typing.Point = ...) -> None: ...
  2315. @_typing.overload
  2316. def setTemplate(self, edges: cv2.typing.MatLike, dx: cv2.typing.MatLike, dy: cv2.typing.MatLike, templCenter: cv2.typing.Point = ...) -> None: ...
  2317. @_typing.overload
  2318. def setTemplate(self, edges: UMat, dx: UMat, dy: UMat, templCenter: cv2.typing.Point = ...) -> None: ...
  2319. @_typing.overload
  2320. def detect(self, image: cv2.typing.MatLike, positions: cv2.typing.MatLike | None = ..., votes: cv2.typing.MatLike | None = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike]: ...
  2321. @_typing.overload
  2322. def detect(self, image: UMat, positions: UMat | None = ..., votes: UMat | None = ...) -> tuple[UMat, UMat]: ...
  2323. @_typing.overload
  2324. def detect(self, edges: cv2.typing.MatLike, dx: cv2.typing.MatLike, dy: cv2.typing.MatLike, positions: cv2.typing.MatLike | None = ..., votes: cv2.typing.MatLike | None = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike]: ...
  2325. @_typing.overload
  2326. def detect(self, edges: UMat, dx: UMat, dy: UMat, positions: UMat | None = ..., votes: UMat | None = ...) -> tuple[UMat, UMat]: ...
  2327. def setCannyLowThresh(self, cannyLowThresh: int) -> None: ...
  2328. def getCannyLowThresh(self) -> int: ...
  2329. def setCannyHighThresh(self, cannyHighThresh: int) -> None: ...
  2330. def getCannyHighThresh(self) -> int: ...
  2331. def setMinDist(self, minDist: float) -> None: ...
  2332. def getMinDist(self) -> float: ...
  2333. def setDp(self, dp: float) -> None: ...
  2334. def getDp(self) -> float: ...
  2335. def setMaxBufferSize(self, maxBufferSize: int) -> None: ...
  2336. def getMaxBufferSize(self) -> int: ...
  2337. class GeneralizedHoughBallard(GeneralizedHough):
  2338. # Functions
  2339. def setLevels(self, levels: int) -> None: ...
  2340. def getLevels(self) -> int: ...
  2341. def setVotesThreshold(self, votesThreshold: int) -> None: ...
  2342. def getVotesThreshold(self) -> int: ...
  2343. class GeneralizedHoughGuil(GeneralizedHough):
  2344. # Functions
  2345. def setXi(self, xi: float) -> None: ...
  2346. def getXi(self) -> float: ...
  2347. def setLevels(self, levels: int) -> None: ...
  2348. def getLevels(self) -> int: ...
  2349. def setAngleEpsilon(self, angleEpsilon: float) -> None: ...
  2350. def getAngleEpsilon(self) -> float: ...
  2351. def setMinAngle(self, minAngle: float) -> None: ...
  2352. def getMinAngle(self) -> float: ...
  2353. def setMaxAngle(self, maxAngle: float) -> None: ...
  2354. def getMaxAngle(self) -> float: ...
  2355. def setAngleStep(self, angleStep: float) -> None: ...
  2356. def getAngleStep(self) -> float: ...
  2357. def setAngleThresh(self, angleThresh: int) -> None: ...
  2358. def getAngleThresh(self) -> int: ...
  2359. def setMinScale(self, minScale: float) -> None: ...
  2360. def getMinScale(self) -> float: ...
  2361. def setMaxScale(self, maxScale: float) -> None: ...
  2362. def getMaxScale(self) -> float: ...
  2363. def setScaleStep(self, scaleStep: float) -> None: ...
  2364. def getScaleStep(self) -> float: ...
  2365. def setScaleThresh(self, scaleThresh: int) -> None: ...
  2366. def getScaleThresh(self) -> int: ...
  2367. def setPosThresh(self, posThresh: int) -> None: ...
  2368. def getPosThresh(self) -> int: ...
  2369. class CLAHE(Algorithm):
  2370. # Functions
  2371. @_typing.overload
  2372. def apply(self, src: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  2373. @_typing.overload
  2374. def apply(self, src: UMat, dst: UMat | None = ...) -> UMat: ...
  2375. def setClipLimit(self, clipLimit: float) -> None: ...
  2376. def getClipLimit(self) -> float: ...
  2377. def setTilesGridSize(self, tileGridSize: cv2.typing.Size) -> None: ...
  2378. def getTilesGridSize(self) -> cv2.typing.Size: ...
  2379. def setBitShift(self, bitShift: int) -> None: ...
  2380. def getBitShift(self) -> int: ...
  2381. def collectGarbage(self) -> None: ...
  2382. class Subdiv2D:
  2383. # Functions
  2384. @_typing.overload
  2385. def __init__(self) -> None: ...
  2386. @_typing.overload
  2387. def __init__(self, rect: cv2.typing.Rect) -> None: ...
  2388. @_typing.overload
  2389. def __init__(self, rect2f: cv2.typing.Rect2f) -> None: ...
  2390. def initDelaunay(self, rect: cv2.typing.Rect) -> None: ...
  2391. def initDelaunay2f(self, rect: cv2.typing.Rect2f) -> None: ...
  2392. @_typing.overload
  2393. def insert(self, pt: cv2.typing.Point2f) -> int: ...
  2394. @_typing.overload
  2395. def insert(self, ptvec: _typing.Sequence[cv2.typing.Point2f]) -> None: ...
  2396. def locate(self, pt: cv2.typing.Point2f) -> tuple[int, int, int]: ...
  2397. def findNearest(self, pt: cv2.typing.Point2f) -> tuple[int, cv2.typing.Point2f]: ...
  2398. def getEdgeList(self) -> _typing.Sequence[cv2.typing.Vec4f]: ...
  2399. def getLeadingEdgeList(self) -> _typing.Sequence[int]: ...
  2400. def getTriangleList(self) -> _typing.Sequence[cv2.typing.Vec6f]: ...
  2401. def getVoronoiFacetList(self, idx: _typing.Sequence[int]) -> tuple[_typing.Sequence[_typing.Sequence[cv2.typing.Point2f]], _typing.Sequence[cv2.typing.Point2f]]: ...
  2402. def getVertex(self, vertex: int) -> tuple[cv2.typing.Point2f, int]: ...
  2403. def getEdge(self, edge: int, nextEdgeType: int) -> int: ...
  2404. def nextEdge(self, edge: int) -> int: ...
  2405. def rotateEdge(self, edge: int, rotate: int) -> int: ...
  2406. def symEdge(self, edge: int) -> int: ...
  2407. def edgeOrg(self, edge: int) -> tuple[int, cv2.typing.Point2f]: ...
  2408. def edgeDst(self, edge: int) -> tuple[int, cv2.typing.Point2f]: ...
  2409. class LineSegmentDetector(Algorithm):
  2410. # Functions
  2411. @_typing.overload
  2412. def detect(self, image: cv2.typing.MatLike, lines: cv2.typing.MatLike | None = ..., width: cv2.typing.MatLike | None = ..., prec: cv2.typing.MatLike | None = ..., nfa: cv2.typing.MatLike | None = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike]: ...
  2413. @_typing.overload
  2414. def detect(self, image: UMat, lines: UMat | None = ..., width: UMat | None = ..., prec: UMat | None = ..., nfa: UMat | None = ...) -> tuple[UMat, UMat, UMat, UMat]: ...
  2415. @_typing.overload
  2416. def drawSegments(self, image: cv2.typing.MatLike, lines: cv2.typing.MatLike) -> cv2.typing.MatLike: ...
  2417. @_typing.overload
  2418. def drawSegments(self, image: UMat, lines: UMat) -> UMat: ...
  2419. @_typing.overload
  2420. def compareSegments(self, size: cv2.typing.Size, lines1: cv2.typing.MatLike, lines2: cv2.typing.MatLike, image: cv2.typing.MatLike | None = ...) -> tuple[int, cv2.typing.MatLike]: ...
  2421. @_typing.overload
  2422. def compareSegments(self, size: cv2.typing.Size, lines1: UMat, lines2: UMat, image: UMat | None = ...) -> tuple[int, UMat]: ...
  2423. class Tonemap(Algorithm):
  2424. # Functions
  2425. @_typing.overload
  2426. def process(self, src: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  2427. @_typing.overload
  2428. def process(self, src: UMat, dst: UMat | None = ...) -> UMat: ...
  2429. def getGamma(self) -> float: ...
  2430. def setGamma(self, gamma: float) -> None: ...
  2431. class TonemapDrago(Tonemap):
  2432. # Functions
  2433. def getSaturation(self) -> float: ...
  2434. def setSaturation(self, saturation: float) -> None: ...
  2435. def getBias(self) -> float: ...
  2436. def setBias(self, bias: float) -> None: ...
  2437. class TonemapReinhard(Tonemap):
  2438. # Functions
  2439. def getIntensity(self) -> float: ...
  2440. def setIntensity(self, intensity: float) -> None: ...
  2441. def getLightAdaptation(self) -> float: ...
  2442. def setLightAdaptation(self, light_adapt: float) -> None: ...
  2443. def getColorAdaptation(self) -> float: ...
  2444. def setColorAdaptation(self, color_adapt: float) -> None: ...
  2445. class TonemapMantiuk(Tonemap):
  2446. # Functions
  2447. def getScale(self) -> float: ...
  2448. def setScale(self, scale: float) -> None: ...
  2449. def getSaturation(self) -> float: ...
  2450. def setSaturation(self, saturation: float) -> None: ...
  2451. class AlignExposures(Algorithm):
  2452. # Functions
  2453. @_typing.overload
  2454. def process(self, src: _typing.Sequence[cv2.typing.MatLike], dst: _typing.Sequence[cv2.typing.MatLike], times: cv2.typing.MatLike, response: cv2.typing.MatLike) -> None: ...
  2455. @_typing.overload
  2456. def process(self, src: _typing.Sequence[UMat], dst: _typing.Sequence[cv2.typing.MatLike], times: UMat, response: UMat) -> None: ...
  2457. class AlignMTB(AlignExposures):
  2458. # Functions
  2459. @_typing.overload
  2460. def process(self, src: _typing.Sequence[cv2.typing.MatLike], dst: _typing.Sequence[cv2.typing.MatLike], times: cv2.typing.MatLike, response: cv2.typing.MatLike) -> None: ...
  2461. @_typing.overload
  2462. def process(self, src: _typing.Sequence[UMat], dst: _typing.Sequence[cv2.typing.MatLike], times: UMat, response: UMat) -> None: ...
  2463. @_typing.overload
  2464. def process(self, src: _typing.Sequence[cv2.typing.MatLike], dst: _typing.Sequence[cv2.typing.MatLike]) -> None: ...
  2465. @_typing.overload
  2466. def process(self, src: _typing.Sequence[UMat], dst: _typing.Sequence[cv2.typing.MatLike]) -> None: ...
  2467. @_typing.overload
  2468. def calculateShift(self, img0: cv2.typing.MatLike, img1: cv2.typing.MatLike) -> cv2.typing.Point: ...
  2469. @_typing.overload
  2470. def calculateShift(self, img0: UMat, img1: UMat) -> cv2.typing.Point: ...
  2471. @_typing.overload
  2472. def shiftMat(self, src: cv2.typing.MatLike, shift: cv2.typing.Point, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  2473. @_typing.overload
  2474. def shiftMat(self, src: UMat, shift: cv2.typing.Point, dst: UMat | None = ...) -> UMat: ...
  2475. @_typing.overload
  2476. def computeBitmaps(self, img: cv2.typing.MatLike, tb: cv2.typing.MatLike | None = ..., eb: cv2.typing.MatLike | None = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike]: ...
  2477. @_typing.overload
  2478. def computeBitmaps(self, img: UMat, tb: UMat | None = ..., eb: UMat | None = ...) -> tuple[UMat, UMat]: ...
  2479. def getMaxBits(self) -> int: ...
  2480. def setMaxBits(self, max_bits: int) -> None: ...
  2481. def getExcludeRange(self) -> int: ...
  2482. def setExcludeRange(self, exclude_range: int) -> None: ...
  2483. def getCut(self) -> bool: ...
  2484. def setCut(self, value: bool) -> None: ...
  2485. class CalibrateCRF(Algorithm):
  2486. # Functions
  2487. @_typing.overload
  2488. def process(self, src: _typing.Sequence[cv2.typing.MatLike], times: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  2489. @_typing.overload
  2490. def process(self, src: _typing.Sequence[UMat], times: UMat, dst: UMat | None = ...) -> UMat: ...
  2491. class CalibrateDebevec(CalibrateCRF):
  2492. # Functions
  2493. def getLambda(self) -> float: ...
  2494. def setLambda(self, lambda_: float) -> None: ...
  2495. def getSamples(self) -> int: ...
  2496. def setSamples(self, samples: int) -> None: ...
  2497. def getRandom(self) -> bool: ...
  2498. def setRandom(self, random: bool) -> None: ...
  2499. class CalibrateRobertson(CalibrateCRF):
  2500. # Functions
  2501. def getMaxIter(self) -> int: ...
  2502. def setMaxIter(self, max_iter: int) -> None: ...
  2503. def getThreshold(self) -> float: ...
  2504. def setThreshold(self, threshold: float) -> None: ...
  2505. def getRadiance(self) -> cv2.typing.MatLike: ...
  2506. class MergeExposures(Algorithm):
  2507. # Functions
  2508. @_typing.overload
  2509. def process(self, src: _typing.Sequence[cv2.typing.MatLike], times: cv2.typing.MatLike, response: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  2510. @_typing.overload
  2511. def process(self, src: _typing.Sequence[UMat], times: UMat, response: UMat, dst: UMat | None = ...) -> UMat: ...
  2512. class MergeDebevec(MergeExposures):
  2513. # Functions
  2514. @_typing.overload
  2515. def process(self, src: _typing.Sequence[cv2.typing.MatLike], times: cv2.typing.MatLike, response: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  2516. @_typing.overload
  2517. def process(self, src: _typing.Sequence[UMat], times: UMat, response: UMat, dst: UMat | None = ...) -> UMat: ...
  2518. @_typing.overload
  2519. def process(self, src: _typing.Sequence[cv2.typing.MatLike], times: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  2520. @_typing.overload
  2521. def process(self, src: _typing.Sequence[UMat], times: UMat, dst: UMat | None = ...) -> UMat: ...
  2522. class MergeMertens(MergeExposures):
  2523. # Functions
  2524. @_typing.overload
  2525. def process(self, src: _typing.Sequence[cv2.typing.MatLike], times: cv2.typing.MatLike, response: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  2526. @_typing.overload
  2527. def process(self, src: _typing.Sequence[UMat], times: UMat, response: UMat, dst: UMat | None = ...) -> UMat: ...
  2528. @_typing.overload
  2529. def process(self, src: _typing.Sequence[cv2.typing.MatLike], dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  2530. @_typing.overload
  2531. def process(self, src: _typing.Sequence[UMat], dst: UMat | None = ...) -> UMat: ...
  2532. def getContrastWeight(self) -> float: ...
  2533. def setContrastWeight(self, contrast_weiht: float) -> None: ...
  2534. def getSaturationWeight(self) -> float: ...
  2535. def setSaturationWeight(self, saturation_weight: float) -> None: ...
  2536. def getExposureWeight(self) -> float: ...
  2537. def setExposureWeight(self, exposure_weight: float) -> None: ...
  2538. class MergeRobertson(MergeExposures):
  2539. # Functions
  2540. @_typing.overload
  2541. def process(self, src: _typing.Sequence[cv2.typing.MatLike], times: cv2.typing.MatLike, response: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  2542. @_typing.overload
  2543. def process(self, src: _typing.Sequence[UMat], times: UMat, response: UMat, dst: UMat | None = ...) -> UMat: ...
  2544. @_typing.overload
  2545. def process(self, src: _typing.Sequence[cv2.typing.MatLike], times: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  2546. @_typing.overload
  2547. def process(self, src: _typing.Sequence[UMat], times: UMat, dst: UMat | None = ...) -> UMat: ...
  2548. class Feature2D(Algorithm):
  2549. # Functions
  2550. @_typing.overload
  2551. def detect(self, image: cv2.typing.MatLike, mask: cv2.typing.MatLike | None = ...) -> _typing.Sequence[KeyPoint]: ...
  2552. @_typing.overload
  2553. def detect(self, image: UMat, mask: UMat | None = ...) -> _typing.Sequence[KeyPoint]: ...
  2554. @_typing.overload
  2555. def detect(self, images: _typing.Sequence[cv2.typing.MatLike], masks: _typing.Sequence[cv2.typing.MatLike] | None = ...) -> _typing.Sequence[_typing.Sequence[KeyPoint]]: ...
  2556. @_typing.overload
  2557. def detect(self, images: _typing.Sequence[UMat], masks: _typing.Sequence[UMat] | None = ...) -> _typing.Sequence[_typing.Sequence[KeyPoint]]: ...
  2558. @_typing.overload
  2559. def compute(self, image: cv2.typing.MatLike, keypoints: _typing.Sequence[KeyPoint], descriptors: cv2.typing.MatLike | None = ...) -> tuple[_typing.Sequence[KeyPoint], cv2.typing.MatLike]: ...
  2560. @_typing.overload
  2561. def compute(self, image: UMat, keypoints: _typing.Sequence[KeyPoint], descriptors: UMat | None = ...) -> tuple[_typing.Sequence[KeyPoint], UMat]: ...
  2562. @_typing.overload
  2563. def compute(self, images: _typing.Sequence[cv2.typing.MatLike], keypoints: _typing.Sequence[_typing.Sequence[KeyPoint]], descriptors: _typing.Sequence[cv2.typing.MatLike] | None = ...) -> tuple[_typing.Sequence[_typing.Sequence[KeyPoint]], _typing.Sequence[cv2.typing.MatLike]]: ...
  2564. @_typing.overload
  2565. def compute(self, images: _typing.Sequence[UMat], keypoints: _typing.Sequence[_typing.Sequence[KeyPoint]], descriptors: _typing.Sequence[UMat] | None = ...) -> tuple[_typing.Sequence[_typing.Sequence[KeyPoint]], _typing.Sequence[UMat]]: ...
  2566. @_typing.overload
  2567. def detectAndCompute(self, image: cv2.typing.MatLike, mask: cv2.typing.MatLike | None, descriptors: cv2.typing.MatLike | None = ..., useProvidedKeypoints: bool = ...) -> tuple[_typing.Sequence[KeyPoint], cv2.typing.MatLike]: ...
  2568. @_typing.overload
  2569. def detectAndCompute(self, image: UMat, mask: UMat | None, descriptors: UMat | None = ..., useProvidedKeypoints: bool = ...) -> tuple[_typing.Sequence[KeyPoint], UMat]: ...
  2570. def descriptorSize(self) -> int: ...
  2571. def descriptorType(self) -> int: ...
  2572. def defaultNorm(self) -> int: ...
  2573. @_typing.overload
  2574. def write(self, fileName: str | os.PathLike[str]) -> None: ...
  2575. @_typing.overload
  2576. def write(self, fs: FileStorage, name: str) -> None: ...
  2577. @_typing.overload
  2578. def read(self, fileName: str | os.PathLike[str]) -> None: ...
  2579. @_typing.overload
  2580. def read(self, arg1: FileNode) -> None: ...
  2581. def empty(self) -> bool: ...
  2582. def getDefaultName(self) -> str: ...
  2583. class AffineFeature(Feature2D):
  2584. # Functions
  2585. @classmethod
  2586. def create(cls, backend: Feature2D, maxTilt: int = ..., minTilt: int = ..., tiltStep: float = ..., rotateStepBase: float = ...) -> AffineFeature: ...
  2587. def setViewParams(self, tilts: _typing.Sequence[float], rolls: _typing.Sequence[float]) -> None: ...
  2588. def getViewParams(self, tilts: _typing.Sequence[float], rolls: _typing.Sequence[float]) -> None: ...
  2589. def getDefaultName(self) -> str: ...
  2590. class SIFT(Feature2D):
  2591. # Functions
  2592. @classmethod
  2593. @_typing.overload
  2594. def create(cls, nfeatures: int = ..., nOctaveLayers: int = ..., contrastThreshold: float = ..., edgeThreshold: float = ..., sigma: float = ..., enable_precise_upscale: bool = ...) -> SIFT: ...
  2595. @classmethod
  2596. @_typing.overload
  2597. def create(cls, nfeatures: int, nOctaveLayers: int, contrastThreshold: float, edgeThreshold: float, sigma: float, descriptorType: int, enable_precise_upscale: bool = ...) -> SIFT: ...
  2598. def getDefaultName(self) -> str: ...
  2599. def setNFeatures(self, maxFeatures: int) -> None: ...
  2600. def getNFeatures(self) -> int: ...
  2601. def setNOctaveLayers(self, nOctaveLayers: int) -> None: ...
  2602. def getNOctaveLayers(self) -> int: ...
  2603. def setContrastThreshold(self, contrastThreshold: float) -> None: ...
  2604. def getContrastThreshold(self) -> float: ...
  2605. def setEdgeThreshold(self, edgeThreshold: float) -> None: ...
  2606. def getEdgeThreshold(self) -> float: ...
  2607. def setSigma(self, sigma: float) -> None: ...
  2608. def getSigma(self) -> float: ...
  2609. class BRISK(Feature2D):
  2610. # Functions
  2611. @classmethod
  2612. @_typing.overload
  2613. def create(cls, thresh: int = ..., octaves: int = ..., patternScale: float = ...) -> BRISK: ...
  2614. @classmethod
  2615. @_typing.overload
  2616. def create(cls, radiusList: _typing.Sequence[float], numberList: _typing.Sequence[int], dMax: float = ..., dMin: float = ..., indexChange: _typing.Sequence[int] = ...) -> BRISK: ...
  2617. @classmethod
  2618. @_typing.overload
  2619. def create(cls, thresh: int, octaves: int, radiusList: _typing.Sequence[float], numberList: _typing.Sequence[int], dMax: float = ..., dMin: float = ..., indexChange: _typing.Sequence[int] = ...) -> BRISK: ...
  2620. def getDefaultName(self) -> str: ...
  2621. def setThreshold(self, threshold: int) -> None: ...
  2622. def getThreshold(self) -> int: ...
  2623. def setOctaves(self, octaves: int) -> None: ...
  2624. def getOctaves(self) -> int: ...
  2625. def setPatternScale(self, patternScale: float) -> None: ...
  2626. def getPatternScale(self) -> float: ...
  2627. class ORB(Feature2D):
  2628. # Functions
  2629. @classmethod
  2630. def create(cls, nfeatures: int = ..., scaleFactor: float = ..., nlevels: int = ..., edgeThreshold: int = ..., firstLevel: int = ..., WTA_K: int = ..., scoreType: ORB_ScoreType = ..., patchSize: int = ..., fastThreshold: int = ...) -> ORB: ...
  2631. def setMaxFeatures(self, maxFeatures: int) -> None: ...
  2632. def getMaxFeatures(self) -> int: ...
  2633. def setScaleFactor(self, scaleFactor: float) -> None: ...
  2634. def getScaleFactor(self) -> float: ...
  2635. def setNLevels(self, nlevels: int) -> None: ...
  2636. def getNLevels(self) -> int: ...
  2637. def setEdgeThreshold(self, edgeThreshold: int) -> None: ...
  2638. def getEdgeThreshold(self) -> int: ...
  2639. def setFirstLevel(self, firstLevel: int) -> None: ...
  2640. def getFirstLevel(self) -> int: ...
  2641. def setWTA_K(self, wta_k: int) -> None: ...
  2642. def getWTA_K(self) -> int: ...
  2643. def setScoreType(self, scoreType: ORB_ScoreType) -> None: ...
  2644. def getScoreType(self) -> ORB_ScoreType: ...
  2645. def setPatchSize(self, patchSize: int) -> None: ...
  2646. def getPatchSize(self) -> int: ...
  2647. def setFastThreshold(self, fastThreshold: int) -> None: ...
  2648. def getFastThreshold(self) -> int: ...
  2649. def getDefaultName(self) -> str: ...
  2650. class MSER(Feature2D):
  2651. # Functions
  2652. @classmethod
  2653. def create(cls, delta: int = ..., min_area: int = ..., max_area: int = ..., max_variation: float = ..., min_diversity: float = ..., max_evolution: int = ..., area_threshold: float = ..., min_margin: float = ..., edge_blur_size: int = ...) -> MSER: ...
  2654. @_typing.overload
  2655. def detectRegions(self, image: cv2.typing.MatLike) -> tuple[_typing.Sequence[_typing.Sequence[cv2.typing.Point]], _typing.Sequence[cv2.typing.Rect]]: ...
  2656. @_typing.overload
  2657. def detectRegions(self, image: UMat) -> tuple[_typing.Sequence[_typing.Sequence[cv2.typing.Point]], _typing.Sequence[cv2.typing.Rect]]: ...
  2658. def setDelta(self, delta: int) -> None: ...
  2659. def getDelta(self) -> int: ...
  2660. def setMinArea(self, minArea: int) -> None: ...
  2661. def getMinArea(self) -> int: ...
  2662. def setMaxArea(self, maxArea: int) -> None: ...
  2663. def getMaxArea(self) -> int: ...
  2664. def setMaxVariation(self, maxVariation: float) -> None: ...
  2665. def getMaxVariation(self) -> float: ...
  2666. def setMinDiversity(self, minDiversity: float) -> None: ...
  2667. def getMinDiversity(self) -> float: ...
  2668. def setMaxEvolution(self, maxEvolution: int) -> None: ...
  2669. def getMaxEvolution(self) -> int: ...
  2670. def setAreaThreshold(self, areaThreshold: float) -> None: ...
  2671. def getAreaThreshold(self) -> float: ...
  2672. def setMinMargin(self, min_margin: float) -> None: ...
  2673. def getMinMargin(self) -> float: ...
  2674. def setEdgeBlurSize(self, edge_blur_size: int) -> None: ...
  2675. def getEdgeBlurSize(self) -> int: ...
  2676. def setPass2Only(self, f: bool) -> None: ...
  2677. def getPass2Only(self) -> bool: ...
  2678. def getDefaultName(self) -> str: ...
  2679. class FastFeatureDetector(Feature2D):
  2680. # Functions
  2681. @classmethod
  2682. def create(cls, threshold: int = ..., nonmaxSuppression: bool = ..., type: FastFeatureDetector_DetectorType = ...) -> FastFeatureDetector: ...
  2683. def setThreshold(self, threshold: int) -> None: ...
  2684. def getThreshold(self) -> int: ...
  2685. def setNonmaxSuppression(self, f: bool) -> None: ...
  2686. def getNonmaxSuppression(self) -> bool: ...
  2687. def setType(self, type: FastFeatureDetector_DetectorType) -> None: ...
  2688. def getType(self) -> FastFeatureDetector_DetectorType: ...
  2689. def getDefaultName(self) -> str: ...
  2690. class AgastFeatureDetector(Feature2D):
  2691. # Functions
  2692. @classmethod
  2693. def create(cls, threshold: int = ..., nonmaxSuppression: bool = ..., type: AgastFeatureDetector_DetectorType = ...) -> AgastFeatureDetector: ...
  2694. def setThreshold(self, threshold: int) -> None: ...
  2695. def getThreshold(self) -> int: ...
  2696. def setNonmaxSuppression(self, f: bool) -> None: ...
  2697. def getNonmaxSuppression(self) -> bool: ...
  2698. def setType(self, type: AgastFeatureDetector_DetectorType) -> None: ...
  2699. def getType(self) -> AgastFeatureDetector_DetectorType: ...
  2700. def getDefaultName(self) -> str: ...
  2701. class GFTTDetector(Feature2D):
  2702. # Functions
  2703. @classmethod
  2704. @_typing.overload
  2705. def create(cls, maxCorners: int = ..., qualityLevel: float = ..., minDistance: float = ..., blockSize: int = ..., useHarrisDetector: bool = ..., k: float = ...) -> GFTTDetector: ...
  2706. @classmethod
  2707. @_typing.overload
  2708. def create(cls, maxCorners: int, qualityLevel: float, minDistance: float, blockSize: int, gradientSize: int, useHarrisDetector: bool = ..., k: float = ...) -> GFTTDetector: ...
  2709. def setMaxFeatures(self, maxFeatures: int) -> None: ...
  2710. def getMaxFeatures(self) -> int: ...
  2711. def setQualityLevel(self, qlevel: float) -> None: ...
  2712. def getQualityLevel(self) -> float: ...
  2713. def setMinDistance(self, minDistance: float) -> None: ...
  2714. def getMinDistance(self) -> float: ...
  2715. def setBlockSize(self, blockSize: int) -> None: ...
  2716. def getBlockSize(self) -> int: ...
  2717. def setGradientSize(self, gradientSize_: int) -> None: ...
  2718. def getGradientSize(self) -> int: ...
  2719. def setHarrisDetector(self, val: bool) -> None: ...
  2720. def getHarrisDetector(self) -> bool: ...
  2721. def setK(self, k: float) -> None: ...
  2722. def getK(self) -> float: ...
  2723. def getDefaultName(self) -> str: ...
  2724. class SimpleBlobDetector(Feature2D):
  2725. # Classes
  2726. class Params:
  2727. thresholdStep: float
  2728. minThreshold: float
  2729. maxThreshold: float
  2730. minRepeatability: int
  2731. minDistBetweenBlobs: float
  2732. filterByColor: bool
  2733. blobColor: int
  2734. filterByArea: bool
  2735. minArea: float
  2736. maxArea: float
  2737. filterByCircularity: bool
  2738. minCircularity: float
  2739. maxCircularity: float
  2740. filterByInertia: bool
  2741. minInertiaRatio: float
  2742. maxInertiaRatio: float
  2743. filterByConvexity: bool
  2744. minConvexity: float
  2745. maxConvexity: float
  2746. collectContours: bool
  2747. # Functions
  2748. def __init__(self) -> None: ...
  2749. # Functions
  2750. @classmethod
  2751. def create(cls, parameters: SimpleBlobDetector.Params = ...) -> SimpleBlobDetector: ...
  2752. def setParams(self, params: SimpleBlobDetector.Params) -> None: ...
  2753. def getParams(self) -> SimpleBlobDetector.Params: ...
  2754. def getDefaultName(self) -> str: ...
  2755. def getBlobContours(self) -> _typing.Sequence[_typing.Sequence[cv2.typing.Point]]: ...
  2756. class KAZE(Feature2D):
  2757. # Functions
  2758. @classmethod
  2759. def create(cls, extended: bool = ..., upright: bool = ..., threshold: float = ..., nOctaves: int = ..., nOctaveLayers: int = ..., diffusivity: KAZE_DiffusivityType = ...) -> KAZE: ...
  2760. def setExtended(self, extended: bool) -> None: ...
  2761. def getExtended(self) -> bool: ...
  2762. def setUpright(self, upright: bool) -> None: ...
  2763. def getUpright(self) -> bool: ...
  2764. def setThreshold(self, threshold: float) -> None: ...
  2765. def getThreshold(self) -> float: ...
  2766. def setNOctaves(self, octaves: int) -> None: ...
  2767. def getNOctaves(self) -> int: ...
  2768. def setNOctaveLayers(self, octaveLayers: int) -> None: ...
  2769. def getNOctaveLayers(self) -> int: ...
  2770. def setDiffusivity(self, diff: KAZE_DiffusivityType) -> None: ...
  2771. def getDiffusivity(self) -> KAZE_DiffusivityType: ...
  2772. def getDefaultName(self) -> str: ...
  2773. class AKAZE(Feature2D):
  2774. # Functions
  2775. @classmethod
  2776. def create(cls, descriptor_type: AKAZE_DescriptorType = ..., descriptor_size: int = ..., descriptor_channels: int = ..., threshold: float = ..., nOctaves: int = ..., nOctaveLayers: int = ..., diffusivity: KAZE_DiffusivityType = ..., max_points: int = ...) -> AKAZE: ...
  2777. def setDescriptorType(self, dtype: AKAZE_DescriptorType) -> None: ...
  2778. def getDescriptorType(self) -> AKAZE_DescriptorType: ...
  2779. def setDescriptorSize(self, dsize: int) -> None: ...
  2780. def getDescriptorSize(self) -> int: ...
  2781. def setDescriptorChannels(self, dch: int) -> None: ...
  2782. def getDescriptorChannels(self) -> int: ...
  2783. def setThreshold(self, threshold: float) -> None: ...
  2784. def getThreshold(self) -> float: ...
  2785. def setNOctaves(self, octaves: int) -> None: ...
  2786. def getNOctaves(self) -> int: ...
  2787. def setNOctaveLayers(self, octaveLayers: int) -> None: ...
  2788. def getNOctaveLayers(self) -> int: ...
  2789. def setDiffusivity(self, diff: KAZE_DiffusivityType) -> None: ...
  2790. def getDiffusivity(self) -> KAZE_DiffusivityType: ...
  2791. def getDefaultName(self) -> str: ...
  2792. def setMaxPoints(self, max_points: int) -> None: ...
  2793. def getMaxPoints(self) -> int: ...
  2794. class DescriptorMatcher(Algorithm):
  2795. # Functions
  2796. @_typing.overload
  2797. def add(self, descriptors: _typing.Sequence[cv2.typing.MatLike]) -> None: ...
  2798. @_typing.overload
  2799. def add(self, descriptors: _typing.Sequence[UMat]) -> None: ...
  2800. def getTrainDescriptors(self) -> _typing.Sequence[cv2.typing.MatLike]: ...
  2801. def clear(self) -> None: ...
  2802. def empty(self) -> bool: ...
  2803. def isMaskSupported(self) -> bool: ...
  2804. def train(self) -> None: ...
  2805. @_typing.overload
  2806. def match(self, queryDescriptors: cv2.typing.MatLike, trainDescriptors: cv2.typing.MatLike, mask: cv2.typing.MatLike | None = ...) -> _typing.Sequence[DMatch]: ...
  2807. @_typing.overload
  2808. def match(self, queryDescriptors: UMat, trainDescriptors: UMat, mask: UMat | None = ...) -> _typing.Sequence[DMatch]: ...
  2809. @_typing.overload
  2810. def match(self, queryDescriptors: cv2.typing.MatLike, masks: _typing.Sequence[cv2.typing.MatLike] | None = ...) -> _typing.Sequence[DMatch]: ...
  2811. @_typing.overload
  2812. def match(self, queryDescriptors: UMat, masks: _typing.Sequence[UMat] | None = ...) -> _typing.Sequence[DMatch]: ...
  2813. @_typing.overload
  2814. def knnMatch(self, queryDescriptors: cv2.typing.MatLike, trainDescriptors: cv2.typing.MatLike, k: int, mask: cv2.typing.MatLike | None = ..., compactResult: bool = ...) -> _typing.Sequence[_typing.Sequence[DMatch]]: ...
  2815. @_typing.overload
  2816. def knnMatch(self, queryDescriptors: UMat, trainDescriptors: UMat, k: int, mask: UMat | None = ..., compactResult: bool = ...) -> _typing.Sequence[_typing.Sequence[DMatch]]: ...
  2817. @_typing.overload
  2818. def knnMatch(self, queryDescriptors: cv2.typing.MatLike, k: int, masks: _typing.Sequence[cv2.typing.MatLike] | None = ..., compactResult: bool = ...) -> _typing.Sequence[_typing.Sequence[DMatch]]: ...
  2819. @_typing.overload
  2820. def knnMatch(self, queryDescriptors: UMat, k: int, masks: _typing.Sequence[UMat] | None = ..., compactResult: bool = ...) -> _typing.Sequence[_typing.Sequence[DMatch]]: ...
  2821. @_typing.overload
  2822. def radiusMatch(self, queryDescriptors: cv2.typing.MatLike, trainDescriptors: cv2.typing.MatLike, maxDistance: float, mask: cv2.typing.MatLike | None = ..., compactResult: bool = ...) -> _typing.Sequence[_typing.Sequence[DMatch]]: ...
  2823. @_typing.overload
  2824. def radiusMatch(self, queryDescriptors: UMat, trainDescriptors: UMat, maxDistance: float, mask: UMat | None = ..., compactResult: bool = ...) -> _typing.Sequence[_typing.Sequence[DMatch]]: ...
  2825. @_typing.overload
  2826. def radiusMatch(self, queryDescriptors: cv2.typing.MatLike, maxDistance: float, masks: _typing.Sequence[cv2.typing.MatLike] | None = ..., compactResult: bool = ...) -> _typing.Sequence[_typing.Sequence[DMatch]]: ...
  2827. @_typing.overload
  2828. def radiusMatch(self, queryDescriptors: UMat, maxDistance: float, masks: _typing.Sequence[UMat] | None = ..., compactResult: bool = ...) -> _typing.Sequence[_typing.Sequence[DMatch]]: ...
  2829. @_typing.overload
  2830. def write(self, fileName: str | os.PathLike[str]) -> None: ...
  2831. @_typing.overload
  2832. def write(self, fs: FileStorage, name: str) -> None: ...
  2833. @_typing.overload
  2834. def read(self, fileName: str | os.PathLike[str]) -> None: ...
  2835. @_typing.overload
  2836. def read(self, arg1: FileNode) -> None: ...
  2837. def clone(self, emptyTrainData: bool = ...) -> DescriptorMatcher: ...
  2838. @classmethod
  2839. @_typing.overload
  2840. def create(cls, descriptorMatcherType: str) -> DescriptorMatcher: ...
  2841. @classmethod
  2842. @_typing.overload
  2843. def create(cls, matcherType: DescriptorMatcher_MatcherType) -> DescriptorMatcher: ...
  2844. class BFMatcher(DescriptorMatcher):
  2845. # Functions
  2846. def __init__(self, normType: int = ..., crossCheck: bool = ...) -> None: ...
  2847. @classmethod
  2848. def create(cls, normType: int = ..., crossCheck: bool = ...) -> BFMatcher: ...
  2849. class FlannBasedMatcher(DescriptorMatcher):
  2850. # Functions
  2851. def __init__(self, indexParams: cv2.typing.IndexParams = ..., searchParams: cv2.typing.SearchParams = ...) -> None: ...
  2852. @classmethod
  2853. def create(cls) -> FlannBasedMatcher: ...
  2854. class BOWTrainer:
  2855. # Functions
  2856. def add(self, descriptors: cv2.typing.MatLike) -> None: ...
  2857. def getDescriptors(self) -> _typing.Sequence[cv2.typing.MatLike]: ...
  2858. def descriptorsCount(self) -> int: ...
  2859. def clear(self) -> None: ...
  2860. @_typing.overload
  2861. def cluster(self) -> cv2.typing.MatLike: ...
  2862. @_typing.overload
  2863. def cluster(self, descriptors: cv2.typing.MatLike) -> cv2.typing.MatLike: ...
  2864. class BOWKMeansTrainer(BOWTrainer):
  2865. # Functions
  2866. def __init__(self, clusterCount: int, termcrit: cv2.typing.TermCriteria = ..., attempts: int = ..., flags: int = ...) -> None: ...
  2867. @_typing.overload
  2868. def cluster(self) -> cv2.typing.MatLike: ...
  2869. @_typing.overload
  2870. def cluster(self, descriptors: cv2.typing.MatLike) -> cv2.typing.MatLike: ...
  2871. class BOWImgDescriptorExtractor:
  2872. # Functions
  2873. def __init__(self, dextractor: Feature2D, dmatcher: DescriptorMatcher) -> None: ...
  2874. def setVocabulary(self, vocabulary: cv2.typing.MatLike) -> None: ...
  2875. def getVocabulary(self) -> cv2.typing.MatLike: ...
  2876. def compute(self, image: cv2.typing.MatLike, keypoints: _typing.Sequence[KeyPoint], imgDescriptor: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  2877. def descriptorSize(self) -> int: ...
  2878. def descriptorType(self) -> int: ...
  2879. class Animation:
  2880. loop_count: int
  2881. bgcolor: cv2.typing.Scalar
  2882. durations: _typing.Sequence[int]
  2883. frames: _typing.Sequence[cv2.typing.MatLike]
  2884. still_image: cv2.typing.MatLike
  2885. # Functions
  2886. def __init__(self, loopCount: int = ..., bgColor: cv2.typing.Scalar = ...) -> None: ...
  2887. class IStreamReader:
  2888. # Functions
  2889. def read(self, buffer: str, size: int) -> int: ...
  2890. def seek(self, offset: int, origin: int) -> int: ...
  2891. class VideoCapture:
  2892. # Functions
  2893. @_typing.overload
  2894. def __init__(self) -> None: ...
  2895. @_typing.overload
  2896. def __init__(self, filename: str | os.PathLike[str], apiPreference: int = ...) -> None: ...
  2897. @_typing.overload
  2898. def __init__(self, filename: str | os.PathLike[str], apiPreference: int, params: _typing.Sequence[int]) -> None: ...
  2899. @_typing.overload
  2900. def __init__(self, index: int, apiPreference: int = ...) -> None: ...
  2901. @_typing.overload
  2902. def __init__(self, index: int, apiPreference: int, params: _typing.Sequence[int]) -> None: ...
  2903. @_typing.overload
  2904. def __init__(self, source: IStreamReader, apiPreference: int, params: _typing.Sequence[int]) -> None: ...
  2905. @_typing.overload
  2906. def open(self, filename: str | os.PathLike[str], apiPreference: int = ...) -> bool: ...
  2907. @_typing.overload
  2908. def open(self, filename: str | os.PathLike[str], apiPreference: int, params: _typing.Sequence[int]) -> bool: ...
  2909. @_typing.overload
  2910. def open(self, index: int, apiPreference: int = ...) -> bool: ...
  2911. @_typing.overload
  2912. def open(self, index: int, apiPreference: int, params: _typing.Sequence[int]) -> bool: ...
  2913. @_typing.overload
  2914. def open(self, source: IStreamReader, apiPreference: int, params: _typing.Sequence[int]) -> bool: ...
  2915. def isOpened(self) -> bool: ...
  2916. def release(self) -> None: ...
  2917. def grab(self) -> bool: ...
  2918. @_typing.overload
  2919. def retrieve(self, image: cv2.typing.MatLike | None = ..., flag: int = ...) -> tuple[bool, cv2.typing.MatLike]: ...
  2920. @_typing.overload
  2921. def retrieve(self, image: UMat | None = ..., flag: int = ...) -> tuple[bool, UMat]: ...
  2922. @_typing.overload
  2923. def read(self, image: cv2.typing.MatLike | None = ...) -> tuple[bool, cv2.typing.MatLike]: ...
  2924. @_typing.overload
  2925. def read(self, image: UMat | None = ...) -> tuple[bool, UMat]: ...
  2926. def set(self, propId: int, value: float) -> bool: ...
  2927. def get(self, propId: int) -> float: ...
  2928. def getBackendName(self) -> str: ...
  2929. def setExceptionMode(self, enable: bool) -> None: ...
  2930. def getExceptionMode(self) -> bool: ...
  2931. @staticmethod
  2932. def waitAny(streams: _typing.Sequence[VideoCapture], timeoutNs: int = ...) -> tuple[bool, _typing.Sequence[int]]: ...
  2933. class VideoWriter:
  2934. # Functions
  2935. @_typing.overload
  2936. def __init__(self) -> None: ...
  2937. @_typing.overload
  2938. def __init__(self, filename: str | os.PathLike[str], fourcc: int, fps: float, frameSize: cv2.typing.Size, isColor: bool = ...) -> None: ...
  2939. @_typing.overload
  2940. def __init__(self, filename: str | os.PathLike[str], apiPreference: int, fourcc: int, fps: float, frameSize: cv2.typing.Size, isColor: bool = ...) -> None: ...
  2941. @_typing.overload
  2942. def __init__(self, filename: str | os.PathLike[str], fourcc: int, fps: float, frameSize: cv2.typing.Size, params: _typing.Sequence[int]) -> None: ...
  2943. @_typing.overload
  2944. def __init__(self, filename: str | os.PathLike[str], apiPreference: int, fourcc: int, fps: float, frameSize: cv2.typing.Size, params: _typing.Sequence[int]) -> None: ...
  2945. @_typing.overload
  2946. def open(self, filename: str | os.PathLike[str], fourcc: int, fps: float, frameSize: cv2.typing.Size, isColor: bool = ...) -> bool: ...
  2947. @_typing.overload
  2948. def open(self, filename: str | os.PathLike[str], apiPreference: int, fourcc: int, fps: float, frameSize: cv2.typing.Size, isColor: bool = ...) -> bool: ...
  2949. @_typing.overload
  2950. def open(self, filename: str | os.PathLike[str], fourcc: int, fps: float, frameSize: cv2.typing.Size, params: _typing.Sequence[int]) -> bool: ...
  2951. @_typing.overload
  2952. def open(self, filename: str | os.PathLike[str], apiPreference: int, fourcc: int, fps: float, frameSize: cv2.typing.Size, params: _typing.Sequence[int]) -> bool: ...
  2953. def isOpened(self) -> bool: ...
  2954. def release(self) -> None: ...
  2955. @_typing.overload
  2956. def write(self, image: cv2.typing.MatLike) -> None: ...
  2957. @_typing.overload
  2958. def write(self, image: UMat) -> None: ...
  2959. def set(self, propId: int, value: float) -> bool: ...
  2960. def get(self, propId: int) -> float: ...
  2961. @staticmethod
  2962. def fourcc(c1: str, c2: str, c3: str, c4: str) -> int: ...
  2963. def getBackendName(self) -> str: ...
  2964. class UsacParams:
  2965. confidence: float
  2966. isParallel: bool
  2967. loIterations: int
  2968. loMethod: LocalOptimMethod
  2969. loSampleSize: int
  2970. maxIterations: int
  2971. neighborsSearch: NeighborSearchMethod
  2972. randomGeneratorState: int
  2973. sampler: SamplingMethod
  2974. score: ScoreMethod
  2975. threshold: float
  2976. final_polisher: PolishingMethod
  2977. final_polisher_iterations: int
  2978. # Functions
  2979. def __init__(self) -> None: ...
  2980. class CirclesGridFinderParameters:
  2981. densityNeighborhoodSize: cv2.typing.Size2f
  2982. minDensity: float
  2983. kmeansAttempts: int
  2984. minDistanceToAddKeypoint: int
  2985. keypointScale: int
  2986. minGraphConfidence: float
  2987. vertexGain: float
  2988. vertexPenalty: float
  2989. existingVertexGain: float
  2990. edgeGain: float
  2991. edgePenalty: float
  2992. convexHullFactor: float
  2993. minRNGEdgeSwitchDist: float
  2994. gridType: CirclesGridFinderParameters_GridType
  2995. squareSize: float
  2996. maxRectifiedDistance: float
  2997. # Functions
  2998. def __init__(self) -> None: ...
  2999. class StereoMatcher(Algorithm):
  3000. # Functions
  3001. @_typing.overload
  3002. def compute(self, left: cv2.typing.MatLike, right: cv2.typing.MatLike, disparity: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  3003. @_typing.overload
  3004. def compute(self, left: UMat, right: UMat, disparity: UMat | None = ...) -> UMat: ...
  3005. def getMinDisparity(self) -> int: ...
  3006. def setMinDisparity(self, minDisparity: int) -> None: ...
  3007. def getNumDisparities(self) -> int: ...
  3008. def setNumDisparities(self, numDisparities: int) -> None: ...
  3009. def getBlockSize(self) -> int: ...
  3010. def setBlockSize(self, blockSize: int) -> None: ...
  3011. def getSpeckleWindowSize(self) -> int: ...
  3012. def setSpeckleWindowSize(self, speckleWindowSize: int) -> None: ...
  3013. def getSpeckleRange(self) -> int: ...
  3014. def setSpeckleRange(self, speckleRange: int) -> None: ...
  3015. def getDisp12MaxDiff(self) -> int: ...
  3016. def setDisp12MaxDiff(self, disp12MaxDiff: int) -> None: ...
  3017. class StereoBM(StereoMatcher):
  3018. # Functions
  3019. def getPreFilterType(self) -> int: ...
  3020. def setPreFilterType(self, preFilterType: int) -> None: ...
  3021. def getPreFilterSize(self) -> int: ...
  3022. def setPreFilterSize(self, preFilterSize: int) -> None: ...
  3023. def getPreFilterCap(self) -> int: ...
  3024. def setPreFilterCap(self, preFilterCap: int) -> None: ...
  3025. def getTextureThreshold(self) -> int: ...
  3026. def setTextureThreshold(self, textureThreshold: int) -> None: ...
  3027. def getUniquenessRatio(self) -> int: ...
  3028. def setUniquenessRatio(self, uniquenessRatio: int) -> None: ...
  3029. def getSmallerBlockSize(self) -> int: ...
  3030. def setSmallerBlockSize(self, blockSize: int) -> None: ...
  3031. def getROI1(self) -> cv2.typing.Rect: ...
  3032. def setROI1(self, roi1: cv2.typing.Rect) -> None: ...
  3033. def getROI2(self) -> cv2.typing.Rect: ...
  3034. def setROI2(self, roi2: cv2.typing.Rect) -> None: ...
  3035. @classmethod
  3036. def create(cls, numDisparities: int = ..., blockSize: int = ...) -> StereoBM: ...
  3037. class StereoSGBM(StereoMatcher):
  3038. # Functions
  3039. def getPreFilterCap(self) -> int: ...
  3040. def setPreFilterCap(self, preFilterCap: int) -> None: ...
  3041. def getUniquenessRatio(self) -> int: ...
  3042. def setUniquenessRatio(self, uniquenessRatio: int) -> None: ...
  3043. def getP1(self) -> int: ...
  3044. def setP1(self, P1: int) -> None: ...
  3045. def getP2(self) -> int: ...
  3046. def setP2(self, P2: int) -> None: ...
  3047. def getMode(self) -> int: ...
  3048. def setMode(self, mode: int) -> None: ...
  3049. @classmethod
  3050. def create(cls, minDisparity: int = ..., numDisparities: int = ..., blockSize: int = ..., P1: int = ..., P2: int = ..., disp12MaxDiff: int = ..., preFilterCap: int = ..., uniquenessRatio: int = ..., speckleWindowSize: int = ..., speckleRange: int = ..., mode: int = ...) -> StereoSGBM: ...
  3051. class BaseCascadeClassifier(Algorithm):
  3052. ...
  3053. class CascadeClassifier:
  3054. # Functions
  3055. @_typing.overload
  3056. def __init__(self) -> None: ...
  3057. @_typing.overload
  3058. def __init__(self, filename: str | os.PathLike[str]) -> None: ...
  3059. def empty(self) -> bool: ...
  3060. def load(self, filename: str | os.PathLike[str]) -> bool: ...
  3061. def read(self, node: FileNode) -> bool: ...
  3062. @_typing.overload
  3063. def detectMultiScale(self, image: cv2.typing.MatLike, scaleFactor: float = ..., minNeighbors: int = ..., flags: int = ..., minSize: cv2.typing.Size = ..., maxSize: cv2.typing.Size = ...) -> _typing.Sequence[cv2.typing.Rect]: ...
  3064. @_typing.overload
  3065. def detectMultiScale(self, image: UMat, scaleFactor: float = ..., minNeighbors: int = ..., flags: int = ..., minSize: cv2.typing.Size = ..., maxSize: cv2.typing.Size = ...) -> _typing.Sequence[cv2.typing.Rect]: ...
  3066. @_typing.overload
  3067. def detectMultiScale2(self, image: cv2.typing.MatLike, scaleFactor: float = ..., minNeighbors: int = ..., flags: int = ..., minSize: cv2.typing.Size = ..., maxSize: cv2.typing.Size = ...) -> tuple[_typing.Sequence[cv2.typing.Rect], _typing.Sequence[int]]: ...
  3068. @_typing.overload
  3069. def detectMultiScale2(self, image: UMat, scaleFactor: float = ..., minNeighbors: int = ..., flags: int = ..., minSize: cv2.typing.Size = ..., maxSize: cv2.typing.Size = ...) -> tuple[_typing.Sequence[cv2.typing.Rect], _typing.Sequence[int]]: ...
  3070. @_typing.overload
  3071. def detectMultiScale3(self, image: cv2.typing.MatLike, scaleFactor: float = ..., minNeighbors: int = ..., flags: int = ..., minSize: cv2.typing.Size = ..., maxSize: cv2.typing.Size = ..., outputRejectLevels: bool = ...) -> tuple[_typing.Sequence[cv2.typing.Rect], _typing.Sequence[int], _typing.Sequence[float]]: ...
  3072. @_typing.overload
  3073. def detectMultiScale3(self, image: UMat, scaleFactor: float = ..., minNeighbors: int = ..., flags: int = ..., minSize: cv2.typing.Size = ..., maxSize: cv2.typing.Size = ..., outputRejectLevels: bool = ...) -> tuple[_typing.Sequence[cv2.typing.Rect], _typing.Sequence[int], _typing.Sequence[float]]: ...
  3074. def isOldFormatCascade(self) -> bool: ...
  3075. def getOriginalWindowSize(self) -> cv2.typing.Size: ...
  3076. def getFeatureType(self) -> int: ...
  3077. @staticmethod
  3078. def convert(oldcascade: str, newcascade: str) -> bool: ...
  3079. class HOGDescriptor:
  3080. @property
  3081. def winSize(self) -> cv2.typing.Size: ...
  3082. @property
  3083. def blockSize(self) -> cv2.typing.Size: ...
  3084. @property
  3085. def blockStride(self) -> cv2.typing.Size: ...
  3086. @property
  3087. def cellSize(self) -> cv2.typing.Size: ...
  3088. @property
  3089. def nbins(self) -> int: ...
  3090. @property
  3091. def derivAperture(self) -> int: ...
  3092. @property
  3093. def winSigma(self) -> float: ...
  3094. @property
  3095. def histogramNormType(self) -> HOGDescriptor_HistogramNormType: ...
  3096. @property
  3097. def L2HysThreshold(self) -> float: ...
  3098. @property
  3099. def gammaCorrection(self) -> bool: ...
  3100. @property
  3101. def svmDetector(self) -> _typing.Sequence[float]: ...
  3102. @property
  3103. def nlevels(self) -> int: ...
  3104. @property
  3105. def signedGradient(self) -> bool: ...
  3106. # Functions
  3107. @_typing.overload
  3108. def __init__(self) -> None: ...
  3109. @_typing.overload
  3110. def __init__(self, _winSize: cv2.typing.Size, _blockSize: cv2.typing.Size, _blockStride: cv2.typing.Size, _cellSize: cv2.typing.Size, _nbins: int, _derivAperture: int = ..., _winSigma: float = ..., _histogramNormType: HOGDescriptor_HistogramNormType = ..., _L2HysThreshold: float = ..., _gammaCorrection: bool = ..., _nlevels: int = ..., _signedGradient: bool = ...) -> None: ...
  3111. @_typing.overload
  3112. def __init__(self, filename: str | os.PathLike[str]) -> None: ...
  3113. def getDescriptorSize(self) -> int: ...
  3114. def checkDetectorSize(self) -> bool: ...
  3115. def getWinSigma(self) -> float: ...
  3116. @_typing.overload
  3117. def setSVMDetector(self, svmdetector: cv2.typing.MatLike) -> None: ...
  3118. @_typing.overload
  3119. def setSVMDetector(self, svmdetector: UMat) -> None: ...
  3120. def load(self, filename: str | os.PathLike[str], objname: str = ...) -> bool: ...
  3121. def save(self, filename: str | os.PathLike[str], objname: str = ...) -> None: ...
  3122. @_typing.overload
  3123. def compute(self, img: cv2.typing.MatLike, winStride: cv2.typing.Size = ..., padding: cv2.typing.Size = ..., locations: _typing.Sequence[cv2.typing.Point] = ...) -> _typing.Sequence[float]: ...
  3124. @_typing.overload
  3125. def compute(self, img: UMat, winStride: cv2.typing.Size = ..., padding: cv2.typing.Size = ..., locations: _typing.Sequence[cv2.typing.Point] = ...) -> _typing.Sequence[float]: ...
  3126. @_typing.overload
  3127. def detect(self, img: cv2.typing.MatLike, hitThreshold: float = ..., winStride: cv2.typing.Size = ..., padding: cv2.typing.Size = ..., searchLocations: _typing.Sequence[cv2.typing.Point] = ...) -> tuple[_typing.Sequence[cv2.typing.Point], _typing.Sequence[float]]: ...
  3128. @_typing.overload
  3129. def detect(self, img: UMat, hitThreshold: float = ..., winStride: cv2.typing.Size = ..., padding: cv2.typing.Size = ..., searchLocations: _typing.Sequence[cv2.typing.Point] = ...) -> tuple[_typing.Sequence[cv2.typing.Point], _typing.Sequence[float]]: ...
  3130. @_typing.overload
  3131. def detectMultiScale(self, img: cv2.typing.MatLike, hitThreshold: float = ..., winStride: cv2.typing.Size = ..., padding: cv2.typing.Size = ..., scale: float = ..., groupThreshold: float = ..., useMeanshiftGrouping: bool = ...) -> tuple[_typing.Sequence[cv2.typing.Rect], _typing.Sequence[float]]: ...
  3132. @_typing.overload
  3133. def detectMultiScale(self, img: UMat, hitThreshold: float = ..., winStride: cv2.typing.Size = ..., padding: cv2.typing.Size = ..., scale: float = ..., groupThreshold: float = ..., useMeanshiftGrouping: bool = ...) -> tuple[_typing.Sequence[cv2.typing.Rect], _typing.Sequence[float]]: ...
  3134. @_typing.overload
  3135. def computeGradient(self, img: cv2.typing.MatLike, grad: cv2.typing.MatLike, angleOfs: cv2.typing.MatLike, paddingTL: cv2.typing.Size = ..., paddingBR: cv2.typing.Size = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike]: ...
  3136. @_typing.overload
  3137. def computeGradient(self, img: UMat, grad: UMat, angleOfs: UMat, paddingTL: cv2.typing.Size = ..., paddingBR: cv2.typing.Size = ...) -> tuple[UMat, UMat]: ...
  3138. @staticmethod
  3139. def getDefaultPeopleDetector() -> _typing.Sequence[float]: ...
  3140. @staticmethod
  3141. def getDaimlerPeopleDetector() -> _typing.Sequence[float]: ...
  3142. class QRCodeEncoder:
  3143. # Classes
  3144. class Params:
  3145. version: int
  3146. correction_level: QRCodeEncoder_CorrectionLevel
  3147. mode: QRCodeEncoder_EncodeMode
  3148. structure_number: int
  3149. # Functions
  3150. def __init__(self) -> None: ...
  3151. # Functions
  3152. @classmethod
  3153. def create(cls, parameters: QRCodeEncoder.Params = ...) -> QRCodeEncoder: ...
  3154. @_typing.overload
  3155. def encode(self, encoded_info: str, qrcode: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  3156. @_typing.overload
  3157. def encode(self, encoded_info: str, qrcode: UMat | None = ...) -> UMat: ...
  3158. @_typing.overload
  3159. def encodeStructuredAppend(self, encoded_info: str, qrcodes: _typing.Sequence[cv2.typing.MatLike] | None = ...) -> _typing.Sequence[cv2.typing.MatLike]: ...
  3160. @_typing.overload
  3161. def encodeStructuredAppend(self, encoded_info: str, qrcodes: _typing.Sequence[UMat] | None = ...) -> _typing.Sequence[UMat]: ...
  3162. class QRCodeDetector(GraphicalCodeDetector):
  3163. # Functions
  3164. def __init__(self) -> None: ...
  3165. def setEpsX(self, epsX: float) -> QRCodeDetector: ...
  3166. def setEpsY(self, epsY: float) -> QRCodeDetector: ...
  3167. def setUseAlignmentMarkers(self, useAlignmentMarkers: bool) -> QRCodeDetector: ...
  3168. @_typing.overload
  3169. def decodeCurved(self, img: cv2.typing.MatLike, points: cv2.typing.MatLike, straight_qrcode: cv2.typing.MatLike | None = ...) -> tuple[str, cv2.typing.MatLike]: ...
  3170. @_typing.overload
  3171. def decodeCurved(self, img: UMat, points: UMat, straight_qrcode: UMat | None = ...) -> tuple[str, UMat]: ...
  3172. @_typing.overload
  3173. def detectAndDecodeCurved(self, img: cv2.typing.MatLike, points: cv2.typing.MatLike | None = ..., straight_qrcode: cv2.typing.MatLike | None = ...) -> tuple[str, cv2.typing.MatLike, cv2.typing.MatLike]: ...
  3174. @_typing.overload
  3175. def detectAndDecodeCurved(self, img: UMat, points: UMat | None = ..., straight_qrcode: UMat | None = ...) -> tuple[str, UMat, UMat]: ...
  3176. def getEncoding(self, codeIdx: int = ...) -> QRCodeEncoder_ECIEncodings: ...
  3177. class GraphicalCodeDetector:
  3178. # Functions
  3179. @_typing.overload
  3180. def detect(self, img: cv2.typing.MatLike, points: cv2.typing.MatLike | None = ...) -> tuple[bool, cv2.typing.MatLike]: ...
  3181. @_typing.overload
  3182. def detect(self, img: UMat, points: UMat | None = ...) -> tuple[bool, UMat]: ...
  3183. @_typing.overload
  3184. def decode(self, img: cv2.typing.MatLike, points: cv2.typing.MatLike, straight_code: cv2.typing.MatLike | None = ...) -> tuple[str, cv2.typing.MatLike]: ...
  3185. @_typing.overload
  3186. def decode(self, img: UMat, points: UMat, straight_code: UMat | None = ...) -> tuple[str, UMat]: ...
  3187. @_typing.overload
  3188. def detectAndDecode(self, img: cv2.typing.MatLike, points: cv2.typing.MatLike | None = ..., straight_code: cv2.typing.MatLike | None = ...) -> tuple[str, cv2.typing.MatLike, cv2.typing.MatLike]: ...
  3189. @_typing.overload
  3190. def detectAndDecode(self, img: UMat, points: UMat | None = ..., straight_code: UMat | None = ...) -> tuple[str, UMat, UMat]: ...
  3191. @_typing.overload
  3192. def detectMulti(self, img: cv2.typing.MatLike, points: cv2.typing.MatLike | None = ...) -> tuple[bool, cv2.typing.MatLike]: ...
  3193. @_typing.overload
  3194. def detectMulti(self, img: UMat, points: UMat | None = ...) -> tuple[bool, UMat]: ...
  3195. @_typing.overload
  3196. def decodeMulti(self, img: cv2.typing.MatLike, points: cv2.typing.MatLike, straight_code: _typing.Sequence[cv2.typing.MatLike] | None = ...) -> tuple[bool, _typing.Sequence[str], _typing.Sequence[cv2.typing.MatLike]]: ...
  3197. @_typing.overload
  3198. def decodeMulti(self, img: UMat, points: UMat, straight_code: _typing.Sequence[UMat] | None = ...) -> tuple[bool, _typing.Sequence[str], _typing.Sequence[UMat]]: ...
  3199. @_typing.overload
  3200. def detectAndDecodeMulti(self, img: cv2.typing.MatLike, points: cv2.typing.MatLike | None = ..., straight_code: _typing.Sequence[cv2.typing.MatLike] | None = ...) -> tuple[bool, _typing.Sequence[str], cv2.typing.MatLike, _typing.Sequence[cv2.typing.MatLike]]: ...
  3201. @_typing.overload
  3202. def detectAndDecodeMulti(self, img: UMat, points: UMat | None = ..., straight_code: _typing.Sequence[UMat] | None = ...) -> tuple[bool, _typing.Sequence[str], UMat, _typing.Sequence[UMat]]: ...
  3203. @_typing.overload
  3204. def detectAndDecodeBytes(self, img: cv2.typing.MatLike, points: cv2.typing.MatLike | None = ..., straight_code: cv2.typing.MatLike | None = ...) -> tuple[bytes, cv2.typing.MatLike, cv2.typing.MatLike]: ...
  3205. @_typing.overload
  3206. def detectAndDecodeBytes(self, img: UMat, points: UMat | None = ..., straight_code: UMat | None = ...) -> tuple[bytes, UMat, UMat]: ...
  3207. @_typing.overload
  3208. def decodeBytes(self, img: cv2.typing.MatLike, points: cv2.typing.MatLike, straight_code: cv2.typing.MatLike | None = ...) -> tuple[bytes, cv2.typing.MatLike]: ...
  3209. @_typing.overload
  3210. def decodeBytes(self, img: UMat, points: UMat, straight_code: UMat | None = ...) -> tuple[bytes, UMat]: ...
  3211. @_typing.overload
  3212. def decodeBytesMulti(self, img: cv2.typing.MatLike, points: cv2.typing.MatLike, straight_code: _typing.Sequence[cv2.typing.MatLike] | None = ...) -> tuple[bool, _typing.Sequence[bytes], _typing.Sequence[cv2.typing.MatLike]]: ...
  3213. @_typing.overload
  3214. def decodeBytesMulti(self, img: UMat, points: UMat, straight_code: _typing.Sequence[UMat] | None = ...) -> tuple[bool, _typing.Sequence[bytes], _typing.Sequence[UMat]]: ...
  3215. @_typing.overload
  3216. def detectAndDecodeBytesMulti(self, img: cv2.typing.MatLike, points: cv2.typing.MatLike | None = ..., straight_code: _typing.Sequence[cv2.typing.MatLike] | None = ...) -> tuple[bool, _typing.Sequence[bytes], cv2.typing.MatLike, _typing.Sequence[cv2.typing.MatLike]]: ...
  3217. @_typing.overload
  3218. def detectAndDecodeBytesMulti(self, img: UMat, points: UMat | None = ..., straight_code: _typing.Sequence[UMat] | None = ...) -> tuple[bool, _typing.Sequence[bytes], UMat, _typing.Sequence[UMat]]: ...
  3219. class QRCodeDetectorAruco(GraphicalCodeDetector):
  3220. # Classes
  3221. class Params:
  3222. minModuleSizeInPyramid: float
  3223. maxRotation: float
  3224. maxModuleSizeMismatch: float
  3225. maxTimingPatternMismatch: float
  3226. maxPenalties: float
  3227. maxColorsMismatch: float
  3228. scaleTimingPatternScore: float
  3229. # Functions
  3230. def __init__(self) -> None: ...
  3231. # Functions
  3232. @_typing.overload
  3233. def __init__(self) -> None: ...
  3234. @_typing.overload
  3235. def __init__(self, params: QRCodeDetectorAruco.Params) -> None: ...
  3236. def getDetectorParameters(self) -> QRCodeDetectorAruco.Params: ...
  3237. def setDetectorParameters(self, params: QRCodeDetectorAruco.Params) -> QRCodeDetectorAruco: ...
  3238. def getArucoParameters(self) -> cv2.aruco.DetectorParameters: ...
  3239. def setArucoParameters(self, params: cv2.aruco.DetectorParameters) -> None: ...
  3240. class FaceDetectorYN:
  3241. # Functions
  3242. def setInputSize(self, input_size: cv2.typing.Size) -> None: ...
  3243. def getInputSize(self) -> cv2.typing.Size: ...
  3244. def setScoreThreshold(self, score_threshold: float) -> None: ...
  3245. def getScoreThreshold(self) -> float: ...
  3246. def setNMSThreshold(self, nms_threshold: float) -> None: ...
  3247. def getNMSThreshold(self) -> float: ...
  3248. def setTopK(self, top_k: int) -> None: ...
  3249. def getTopK(self) -> int: ...
  3250. @_typing.overload
  3251. def detect(self, image: cv2.typing.MatLike, faces: cv2.typing.MatLike | None = ...) -> tuple[int, cv2.typing.MatLike]: ...
  3252. @_typing.overload
  3253. def detect(self, image: UMat, faces: UMat | None = ...) -> tuple[int, UMat]: ...
  3254. @classmethod
  3255. @_typing.overload
  3256. def create(cls, model: str | os.PathLike[str], config: str | os.PathLike[str], input_size: cv2.typing.Size, score_threshold: float = ..., nms_threshold: float = ..., top_k: int = ..., backend_id: int = ..., target_id: int = ...) -> FaceDetectorYN: ...
  3257. @classmethod
  3258. @_typing.overload
  3259. def create(cls, framework: str, bufferModel: numpy.ndarray[_typing.Any, numpy.dtype[numpy.uint8]], bufferConfig: numpy.ndarray[_typing.Any, numpy.dtype[numpy.uint8]], input_size: cv2.typing.Size, score_threshold: float = ..., nms_threshold: float = ..., top_k: int = ..., backend_id: int = ..., target_id: int = ...) -> FaceDetectorYN: ...
  3260. class FaceRecognizerSF:
  3261. # Functions
  3262. @_typing.overload
  3263. def alignCrop(self, src_img: cv2.typing.MatLike, face_box: cv2.typing.MatLike, aligned_img: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  3264. @_typing.overload
  3265. def alignCrop(self, src_img: UMat, face_box: UMat, aligned_img: UMat | None = ...) -> UMat: ...
  3266. @_typing.overload
  3267. def feature(self, aligned_img: cv2.typing.MatLike, face_feature: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  3268. @_typing.overload
  3269. def feature(self, aligned_img: UMat, face_feature: UMat | None = ...) -> UMat: ...
  3270. @_typing.overload
  3271. def match(self, face_feature1: cv2.typing.MatLike, face_feature2: cv2.typing.MatLike, dis_type: int = ...) -> float: ...
  3272. @_typing.overload
  3273. def match(self, face_feature1: UMat, face_feature2: UMat, dis_type: int = ...) -> float: ...
  3274. @classmethod
  3275. @_typing.overload
  3276. def create(cls, model: str | os.PathLike[str], config: str | os.PathLike[str], backend_id: int = ..., target_id: int = ...) -> FaceRecognizerSF: ...
  3277. @classmethod
  3278. @_typing.overload
  3279. def create(cls, framework: str, bufferModel: numpy.ndarray[_typing.Any, numpy.dtype[numpy.uint8]], bufferConfig: numpy.ndarray[_typing.Any, numpy.dtype[numpy.uint8]], backend_id: int = ..., target_id: int = ...) -> FaceRecognizerSF: ...
  3280. class HistogramCostExtractor(Algorithm):
  3281. # Functions
  3282. @_typing.overload
  3283. def buildCostMatrix(self, descriptors1: cv2.typing.MatLike, descriptors2: cv2.typing.MatLike, costMatrix: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  3284. @_typing.overload
  3285. def buildCostMatrix(self, descriptors1: UMat, descriptors2: UMat, costMatrix: UMat | None = ...) -> UMat: ...
  3286. def setNDummies(self, nDummies: int) -> None: ...
  3287. def getNDummies(self) -> int: ...
  3288. def setDefaultCost(self, defaultCost: float) -> None: ...
  3289. def getDefaultCost(self) -> float: ...
  3290. class NormHistogramCostExtractor(HistogramCostExtractor):
  3291. # Functions
  3292. def setNormFlag(self, flag: int) -> None: ...
  3293. def getNormFlag(self) -> int: ...
  3294. class EMDHistogramCostExtractor(HistogramCostExtractor):
  3295. # Functions
  3296. def setNormFlag(self, flag: int) -> None: ...
  3297. def getNormFlag(self) -> int: ...
  3298. class ChiHistogramCostExtractor(HistogramCostExtractor):
  3299. ...
  3300. class EMDL1HistogramCostExtractor(HistogramCostExtractor):
  3301. ...
  3302. class ShapeDistanceExtractor(Algorithm):
  3303. # Functions
  3304. @_typing.overload
  3305. def computeDistance(self, contour1: cv2.typing.MatLike, contour2: cv2.typing.MatLike) -> float: ...
  3306. @_typing.overload
  3307. def computeDistance(self, contour1: UMat, contour2: UMat) -> float: ...
  3308. class ShapeContextDistanceExtractor(ShapeDistanceExtractor):
  3309. # Functions
  3310. def setAngularBins(self, nAngularBins: int) -> None: ...
  3311. def getAngularBins(self) -> int: ...
  3312. def setRadialBins(self, nRadialBins: int) -> None: ...
  3313. def getRadialBins(self) -> int: ...
  3314. def setInnerRadius(self, innerRadius: float) -> None: ...
  3315. def getInnerRadius(self) -> float: ...
  3316. def setOuterRadius(self, outerRadius: float) -> None: ...
  3317. def getOuterRadius(self) -> float: ...
  3318. def setRotationInvariant(self, rotationInvariant: bool) -> None: ...
  3319. def getRotationInvariant(self) -> bool: ...
  3320. def setShapeContextWeight(self, shapeContextWeight: float) -> None: ...
  3321. def getShapeContextWeight(self) -> float: ...
  3322. def setImageAppearanceWeight(self, imageAppearanceWeight: float) -> None: ...
  3323. def getImageAppearanceWeight(self) -> float: ...
  3324. def setBendingEnergyWeight(self, bendingEnergyWeight: float) -> None: ...
  3325. def getBendingEnergyWeight(self) -> float: ...
  3326. @_typing.overload
  3327. def setImages(self, image1: cv2.typing.MatLike, image2: cv2.typing.MatLike) -> None: ...
  3328. @_typing.overload
  3329. def setImages(self, image1: UMat, image2: UMat) -> None: ...
  3330. @_typing.overload
  3331. def getImages(self, image1: cv2.typing.MatLike | None = ..., image2: cv2.typing.MatLike | None = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike]: ...
  3332. @_typing.overload
  3333. def getImages(self, image1: UMat | None = ..., image2: UMat | None = ...) -> tuple[UMat, UMat]: ...
  3334. def setIterations(self, iterations: int) -> None: ...
  3335. def getIterations(self) -> int: ...
  3336. def setCostExtractor(self, comparer: HistogramCostExtractor) -> None: ...
  3337. def getCostExtractor(self) -> HistogramCostExtractor: ...
  3338. def setStdDev(self, sigma: float) -> None: ...
  3339. def getStdDev(self) -> float: ...
  3340. def setTransformAlgorithm(self, transformer: ShapeTransformer) -> None: ...
  3341. def getTransformAlgorithm(self) -> ShapeTransformer: ...
  3342. class HausdorffDistanceExtractor(ShapeDistanceExtractor):
  3343. # Functions
  3344. def setDistanceFlag(self, distanceFlag: int) -> None: ...
  3345. def getDistanceFlag(self) -> int: ...
  3346. def setRankProportion(self, rankProportion: float) -> None: ...
  3347. def getRankProportion(self) -> float: ...
  3348. class ShapeTransformer(Algorithm):
  3349. # Functions
  3350. @_typing.overload
  3351. def estimateTransformation(self, transformingShape: cv2.typing.MatLike, targetShape: cv2.typing.MatLike, matches: _typing.Sequence[DMatch]) -> None: ...
  3352. @_typing.overload
  3353. def estimateTransformation(self, transformingShape: UMat, targetShape: UMat, matches: _typing.Sequence[DMatch]) -> None: ...
  3354. @_typing.overload
  3355. def applyTransformation(self, input: cv2.typing.MatLike, output: cv2.typing.MatLike | None = ...) -> tuple[float, cv2.typing.MatLike]: ...
  3356. @_typing.overload
  3357. def applyTransformation(self, input: UMat, output: UMat | None = ...) -> tuple[float, UMat]: ...
  3358. @_typing.overload
  3359. def warpImage(self, transformingImage: cv2.typing.MatLike, output: cv2.typing.MatLike | None = ..., flags: int = ..., borderMode: int = ..., borderValue: cv2.typing.Scalar = ...) -> cv2.typing.MatLike: ...
  3360. @_typing.overload
  3361. def warpImage(self, transformingImage: UMat, output: UMat | None = ..., flags: int = ..., borderMode: int = ..., borderValue: cv2.typing.Scalar = ...) -> UMat: ...
  3362. class ThinPlateSplineShapeTransformer(ShapeTransformer):
  3363. # Functions
  3364. def setRegularizationParameter(self, beta: float) -> None: ...
  3365. def getRegularizationParameter(self) -> float: ...
  3366. class AffineTransformer(ShapeTransformer):
  3367. # Functions
  3368. def setFullAffine(self, fullAffine: bool) -> None: ...
  3369. def getFullAffine(self) -> bool: ...
  3370. class BackgroundSubtractor(Algorithm):
  3371. # Functions
  3372. @_typing.overload
  3373. def apply(self, image: cv2.typing.MatLike, fgmask: cv2.typing.MatLike | None = ..., learningRate: float = ...) -> cv2.typing.MatLike: ...
  3374. @_typing.overload
  3375. def apply(self, image: UMat, fgmask: UMat | None = ..., learningRate: float = ...) -> UMat: ...
  3376. @_typing.overload
  3377. def apply(self, image: cv2.typing.MatLike, knownForegroundMask: cv2.typing.MatLike, fgmask: cv2.typing.MatLike | None = ..., learningRate: float = ...) -> cv2.typing.MatLike: ...
  3378. @_typing.overload
  3379. def apply(self, image: UMat, knownForegroundMask: UMat, fgmask: UMat | None = ..., learningRate: float = ...) -> UMat: ...
  3380. @_typing.overload
  3381. def getBackgroundImage(self, backgroundImage: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  3382. @_typing.overload
  3383. def getBackgroundImage(self, backgroundImage: UMat | None = ...) -> UMat: ...
  3384. class BackgroundSubtractorMOG2(BackgroundSubtractor):
  3385. # Functions
  3386. def getHistory(self) -> int: ...
  3387. def setHistory(self, history: int) -> None: ...
  3388. def getNMixtures(self) -> int: ...
  3389. def setNMixtures(self, nmixtures: int) -> None: ...
  3390. def getBackgroundRatio(self) -> float: ...
  3391. def setBackgroundRatio(self, ratio: float) -> None: ...
  3392. def getVarThreshold(self) -> float: ...
  3393. def setVarThreshold(self, varThreshold: float) -> None: ...
  3394. def getVarThresholdGen(self) -> float: ...
  3395. def setVarThresholdGen(self, varThresholdGen: float) -> None: ...
  3396. def getVarInit(self) -> float: ...
  3397. def setVarInit(self, varInit: float) -> None: ...
  3398. def getVarMin(self) -> float: ...
  3399. def setVarMin(self, varMin: float) -> None: ...
  3400. def getVarMax(self) -> float: ...
  3401. def setVarMax(self, varMax: float) -> None: ...
  3402. def getComplexityReductionThreshold(self) -> float: ...
  3403. def setComplexityReductionThreshold(self, ct: float) -> None: ...
  3404. def getDetectShadows(self) -> bool: ...
  3405. def setDetectShadows(self, detectShadows: bool) -> None: ...
  3406. def getShadowValue(self) -> int: ...
  3407. def setShadowValue(self, value: int) -> None: ...
  3408. def getShadowThreshold(self) -> float: ...
  3409. def setShadowThreshold(self, threshold: float) -> None: ...
  3410. @_typing.overload
  3411. def apply(self, image: cv2.typing.MatLike, fgmask: cv2.typing.MatLike | None = ..., learningRate: float = ...) -> cv2.typing.MatLike: ...
  3412. @_typing.overload
  3413. def apply(self, image: UMat, fgmask: UMat | None = ..., learningRate: float = ...) -> UMat: ...
  3414. @_typing.overload
  3415. def apply(self, image: cv2.typing.MatLike, knownForegroundMask: cv2.typing.MatLike, fgmask: cv2.typing.MatLike | None = ..., learningRate: float = ...) -> cv2.typing.MatLike: ...
  3416. @_typing.overload
  3417. def apply(self, image: UMat, knownForegroundMask: UMat, fgmask: UMat | None = ..., learningRate: float = ...) -> UMat: ...
  3418. class BackgroundSubtractorKNN(BackgroundSubtractor):
  3419. # Functions
  3420. def getHistory(self) -> int: ...
  3421. def setHistory(self, history: int) -> None: ...
  3422. def getNSamples(self) -> int: ...
  3423. def setNSamples(self, _nN: int) -> None: ...
  3424. def getDist2Threshold(self) -> float: ...
  3425. def setDist2Threshold(self, _dist2Threshold: float) -> None: ...
  3426. def getkNNSamples(self) -> int: ...
  3427. def setkNNSamples(self, _nkNN: int) -> None: ...
  3428. def getDetectShadows(self) -> bool: ...
  3429. def setDetectShadows(self, detectShadows: bool) -> None: ...
  3430. def getShadowValue(self) -> int: ...
  3431. def setShadowValue(self, value: int) -> None: ...
  3432. def getShadowThreshold(self) -> float: ...
  3433. def setShadowThreshold(self, threshold: float) -> None: ...
  3434. class KalmanFilter:
  3435. statePre: cv2.typing.MatLike
  3436. statePost: cv2.typing.MatLike
  3437. transitionMatrix: cv2.typing.MatLike
  3438. controlMatrix: cv2.typing.MatLike
  3439. measurementMatrix: cv2.typing.MatLike
  3440. processNoiseCov: cv2.typing.MatLike
  3441. measurementNoiseCov: cv2.typing.MatLike
  3442. errorCovPre: cv2.typing.MatLike
  3443. gain: cv2.typing.MatLike
  3444. errorCovPost: cv2.typing.MatLike
  3445. # Functions
  3446. @_typing.overload
  3447. def __init__(self) -> None: ...
  3448. @_typing.overload
  3449. def __init__(self, dynamParams: int, measureParams: int, controlParams: int = ..., type: int = ...) -> None: ...
  3450. def predict(self, control: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  3451. def correct(self, measurement: cv2.typing.MatLike) -> cv2.typing.MatLike: ...
  3452. class DenseOpticalFlow(Algorithm):
  3453. # Functions
  3454. @_typing.overload
  3455. def calc(self, I0: cv2.typing.MatLike, I1: cv2.typing.MatLike, flow: cv2.typing.MatLike) -> cv2.typing.MatLike: ...
  3456. @_typing.overload
  3457. def calc(self, I0: UMat, I1: UMat, flow: UMat) -> UMat: ...
  3458. def collectGarbage(self) -> None: ...
  3459. class SparseOpticalFlow(Algorithm):
  3460. # Functions
  3461. @_typing.overload
  3462. def calc(self, prevImg: cv2.typing.MatLike, nextImg: cv2.typing.MatLike, prevPts: cv2.typing.MatLike, nextPts: cv2.typing.MatLike, status: cv2.typing.MatLike | None = ..., err: cv2.typing.MatLike | None = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike]: ...
  3463. @_typing.overload
  3464. def calc(self, prevImg: UMat, nextImg: UMat, prevPts: UMat, nextPts: UMat, status: UMat | None = ..., err: UMat | None = ...) -> tuple[UMat, UMat, UMat]: ...
  3465. class FarnebackOpticalFlow(DenseOpticalFlow):
  3466. # Functions
  3467. def getNumLevels(self) -> int: ...
  3468. def setNumLevels(self, numLevels: int) -> None: ...
  3469. def getPyrScale(self) -> float: ...
  3470. def setPyrScale(self, pyrScale: float) -> None: ...
  3471. def getFastPyramids(self) -> bool: ...
  3472. def setFastPyramids(self, fastPyramids: bool) -> None: ...
  3473. def getWinSize(self) -> int: ...
  3474. def setWinSize(self, winSize: int) -> None: ...
  3475. def getNumIters(self) -> int: ...
  3476. def setNumIters(self, numIters: int) -> None: ...
  3477. def getPolyN(self) -> int: ...
  3478. def setPolyN(self, polyN: int) -> None: ...
  3479. def getPolySigma(self) -> float: ...
  3480. def setPolySigma(self, polySigma: float) -> None: ...
  3481. def getFlags(self) -> int: ...
  3482. def setFlags(self, flags: int) -> None: ...
  3483. @classmethod
  3484. def create(cls, numLevels: int = ..., pyrScale: float = ..., fastPyramids: bool = ..., winSize: int = ..., numIters: int = ..., polyN: int = ..., polySigma: float = ..., flags: int = ...) -> FarnebackOpticalFlow: ...
  3485. class VariationalRefinement(DenseOpticalFlow):
  3486. # Functions
  3487. @_typing.overload
  3488. def calcUV(self, I0: cv2.typing.MatLike, I1: cv2.typing.MatLike, flow_u: cv2.typing.MatLike, flow_v: cv2.typing.MatLike) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike]: ...
  3489. @_typing.overload
  3490. def calcUV(self, I0: UMat, I1: UMat, flow_u: UMat, flow_v: UMat) -> tuple[UMat, UMat]: ...
  3491. def getFixedPointIterations(self) -> int: ...
  3492. def setFixedPointIterations(self, val: int) -> None: ...
  3493. def getSorIterations(self) -> int: ...
  3494. def setSorIterations(self, val: int) -> None: ...
  3495. def getOmega(self) -> float: ...
  3496. def setOmega(self, val: float) -> None: ...
  3497. def getAlpha(self) -> float: ...
  3498. def setAlpha(self, val: float) -> None: ...
  3499. def getDelta(self) -> float: ...
  3500. def setDelta(self, val: float) -> None: ...
  3501. def getGamma(self) -> float: ...
  3502. def setGamma(self, val: float) -> None: ...
  3503. def getEpsilon(self) -> float: ...
  3504. def setEpsilon(self, val: float) -> None: ...
  3505. @classmethod
  3506. def create(cls) -> VariationalRefinement: ...
  3507. class DISOpticalFlow(DenseOpticalFlow):
  3508. # Functions
  3509. def getFinestScale(self) -> int: ...
  3510. def setFinestScale(self, val: int) -> None: ...
  3511. def setCoarsestScale(self, val: int) -> None: ...
  3512. def getCoarsestScale(self) -> int: ...
  3513. def getPatchSize(self) -> int: ...
  3514. def setPatchSize(self, val: int) -> None: ...
  3515. def getPatchStride(self) -> int: ...
  3516. def setPatchStride(self, val: int) -> None: ...
  3517. def getGradientDescentIterations(self) -> int: ...
  3518. def setGradientDescentIterations(self, val: int) -> None: ...
  3519. def getVariationalRefinementIterations(self) -> int: ...
  3520. def setVariationalRefinementIterations(self, val: int) -> None: ...
  3521. def getVariationalRefinementAlpha(self) -> float: ...
  3522. def setVariationalRefinementAlpha(self, val: float) -> None: ...
  3523. def getVariationalRefinementDelta(self) -> float: ...
  3524. def setVariationalRefinementDelta(self, val: float) -> None: ...
  3525. def getVariationalRefinementGamma(self) -> float: ...
  3526. def setVariationalRefinementGamma(self, val: float) -> None: ...
  3527. def getVariationalRefinementEpsilon(self) -> float: ...
  3528. def setVariationalRefinementEpsilon(self, val: float) -> None: ...
  3529. def getUseMeanNormalization(self) -> bool: ...
  3530. def setUseMeanNormalization(self, val: bool) -> None: ...
  3531. def getUseSpatialPropagation(self) -> bool: ...
  3532. def setUseSpatialPropagation(self, val: bool) -> None: ...
  3533. @classmethod
  3534. def create(cls, preset: int = ...) -> DISOpticalFlow: ...
  3535. class SparsePyrLKOpticalFlow(SparseOpticalFlow):
  3536. # Functions
  3537. def getWinSize(self) -> cv2.typing.Size: ...
  3538. def setWinSize(self, winSize: cv2.typing.Size) -> None: ...
  3539. def getMaxLevel(self) -> int: ...
  3540. def setMaxLevel(self, maxLevel: int) -> None: ...
  3541. def getTermCriteria(self) -> cv2.typing.TermCriteria: ...
  3542. def setTermCriteria(self, crit: cv2.typing.TermCriteria) -> None: ...
  3543. def getFlags(self) -> int: ...
  3544. def setFlags(self, flags: int) -> None: ...
  3545. def getMinEigThreshold(self) -> float: ...
  3546. def setMinEigThreshold(self, minEigThreshold: float) -> None: ...
  3547. @classmethod
  3548. def create(cls, winSize: cv2.typing.Size = ..., maxLevel: int = ..., crit: cv2.typing.TermCriteria = ..., flags: int = ..., minEigThreshold: float = ...) -> SparsePyrLKOpticalFlow: ...
  3549. class Tracker:
  3550. # Functions
  3551. @_typing.overload
  3552. def init(self, image: cv2.typing.MatLike, boundingBox: cv2.typing.Rect) -> None: ...
  3553. @_typing.overload
  3554. def init(self, image: UMat, boundingBox: cv2.typing.Rect) -> None: ...
  3555. @_typing.overload
  3556. def update(self, image: cv2.typing.MatLike) -> tuple[bool, cv2.typing.Rect]: ...
  3557. @_typing.overload
  3558. def update(self, image: UMat) -> tuple[bool, cv2.typing.Rect]: ...
  3559. class TrackerMIL(Tracker):
  3560. # Classes
  3561. class Params:
  3562. samplerInitInRadius: float
  3563. samplerInitMaxNegNum: int
  3564. samplerSearchWinSize: float
  3565. samplerTrackInRadius: float
  3566. samplerTrackMaxPosNum: int
  3567. samplerTrackMaxNegNum: int
  3568. featureSetNumFeatures: int
  3569. # Functions
  3570. def __init__(self) -> None: ...
  3571. # Functions
  3572. @classmethod
  3573. def create(cls, parameters: TrackerMIL.Params = ...) -> TrackerMIL: ...
  3574. class TrackerGOTURN(Tracker):
  3575. # Classes
  3576. class Params:
  3577. modelTxt: str
  3578. modelBin: str
  3579. # Functions
  3580. def __init__(self) -> None: ...
  3581. # Functions
  3582. @classmethod
  3583. @_typing.overload
  3584. def create(cls, parameters: TrackerGOTURN.Params = ...) -> TrackerGOTURN: ...
  3585. @classmethod
  3586. @_typing.overload
  3587. def create(cls, model: cv2.dnn.Net) -> TrackerGOTURN: ...
  3588. class TrackerDaSiamRPN(Tracker):
  3589. # Classes
  3590. class Params:
  3591. model: str
  3592. kernel_cls1: str
  3593. kernel_r1: str
  3594. backend: int
  3595. target: int
  3596. # Functions
  3597. def __init__(self) -> None: ...
  3598. # Functions
  3599. @classmethod
  3600. @_typing.overload
  3601. def create(cls, parameters: TrackerDaSiamRPN.Params = ...) -> TrackerDaSiamRPN: ...
  3602. @classmethod
  3603. @_typing.overload
  3604. def create(cls, siam_rpn: cv2.dnn.Net, kernel_cls1: cv2.dnn.Net, kernel_r1: cv2.dnn.Net) -> TrackerDaSiamRPN: ...
  3605. def getTrackingScore(self) -> float: ...
  3606. class TrackerNano(Tracker):
  3607. # Classes
  3608. class Params:
  3609. backbone: str
  3610. neckhead: str
  3611. backend: int
  3612. target: int
  3613. # Functions
  3614. def __init__(self) -> None: ...
  3615. # Functions
  3616. @classmethod
  3617. @_typing.overload
  3618. def create(cls, parameters: TrackerNano.Params = ...) -> TrackerNano: ...
  3619. @classmethod
  3620. @_typing.overload
  3621. def create(cls, backbone: cv2.dnn.Net, neckhead: cv2.dnn.Net) -> TrackerNano: ...
  3622. def getTrackingScore(self) -> float: ...
  3623. class TrackerVit(Tracker):
  3624. # Classes
  3625. class Params:
  3626. net: str
  3627. backend: int
  3628. target: int
  3629. meanvalue: cv2.typing.Scalar
  3630. stdvalue: cv2.typing.Scalar
  3631. tracking_score_threshold: float
  3632. # Functions
  3633. def __init__(self) -> None: ...
  3634. # Functions
  3635. @classmethod
  3636. @_typing.overload
  3637. def create(cls, parameters: TrackerVit.Params = ...) -> TrackerVit: ...
  3638. @classmethod
  3639. @_typing.overload
  3640. def create(cls, model: cv2.dnn.Net, meanvalue: cv2.typing.Scalar = ..., stdvalue: cv2.typing.Scalar = ..., tracking_score_threshold: float = ...) -> TrackerVit: ...
  3641. def getTrackingScore(self) -> float: ...
  3642. class GArrayDesc:
  3643. ...
  3644. class GComputation:
  3645. # Functions
  3646. @_typing.overload
  3647. def __init__(self, ins: cv2.typing.GProtoInputArgs, outs: cv2.typing.GProtoOutputArgs) -> None: ...
  3648. @_typing.overload
  3649. def __init__(self, in_: GMat, out: GMat) -> None: ...
  3650. @_typing.overload
  3651. def __init__(self, in_: GMat, out: GScalar) -> None: ...
  3652. @_typing.overload
  3653. def __init__(self, in1: GMat, in2: GMat, out: GMat) -> None: ...
  3654. def apply(self, callback: cv2.typing.ExtractArgsCallback, args: _typing.Sequence[GCompileArg] = ...) -> _typing.Sequence[cv2.typing.GRunArg]: ...
  3655. @_typing.overload
  3656. def compileStreaming(self, in_metas: _typing.Sequence[cv2.typing.GMetaArg], args: _typing.Sequence[GCompileArg] = ...) -> GStreamingCompiled: ...
  3657. @_typing.overload
  3658. def compileStreaming(self, args: _typing.Sequence[GCompileArg] = ...) -> GStreamingCompiled: ...
  3659. @_typing.overload
  3660. def compileStreaming(self, callback: cv2.typing.ExtractMetaCallback, args: _typing.Sequence[GCompileArg] = ...) -> GStreamingCompiled: ...
  3661. class GFrame:
  3662. # Functions
  3663. def __init__(self) -> None: ...
  3664. class GKernelPackage:
  3665. # Functions
  3666. def size(self) -> int: ...
  3667. class GMat:
  3668. # Functions
  3669. @_typing.overload
  3670. def __init__(self) -> None: ...
  3671. @_typing.overload
  3672. def __init__(self, m: cv2.typing.MatLike) -> None: ...
  3673. class GMatDesc:
  3674. @property
  3675. def depth(self) -> int: ...
  3676. @property
  3677. def chan(self) -> int: ...
  3678. @property
  3679. def size(self) -> cv2.typing.Size: ...
  3680. @property
  3681. def planar(self) -> bool: ...
  3682. @property
  3683. def dims(self) -> _typing.Sequence[int]: ...
  3684. # Functions
  3685. @_typing.overload
  3686. def __init__(self, d: int, c: int, s: cv2.typing.Size, p: bool = ...) -> None: ...
  3687. @_typing.overload
  3688. def __init__(self, d: int, dd: _typing.Sequence[int]) -> None: ...
  3689. @_typing.overload
  3690. def __init__(self, d: int, dd: _typing.Sequence[int]) -> None: ...
  3691. @_typing.overload
  3692. def __init__(self) -> None: ...
  3693. @_typing.overload
  3694. def withSizeDelta(self, delta: cv2.typing.Size) -> GMatDesc: ...
  3695. @_typing.overload
  3696. def withSizeDelta(self, dx: int, dy: int) -> GMatDesc: ...
  3697. def withSize(self, sz: cv2.typing.Size) -> GMatDesc: ...
  3698. def withDepth(self, ddepth: int) -> GMatDesc: ...
  3699. def withType(self, ddepth: int, dchan: int) -> GMatDesc: ...
  3700. @_typing.overload
  3701. def asPlanar(self) -> GMatDesc: ...
  3702. @_typing.overload
  3703. def asPlanar(self, planes: int) -> GMatDesc: ...
  3704. def asInterleaved(self) -> GMatDesc: ...
  3705. class GOpaqueDesc:
  3706. ...
  3707. class GScalar:
  3708. # Functions
  3709. @_typing.overload
  3710. def __init__(self) -> None: ...
  3711. @_typing.overload
  3712. def __init__(self, s: cv2.typing.Scalar) -> None: ...
  3713. class GScalarDesc:
  3714. ...
  3715. class GStreamingCompiled:
  3716. # Functions
  3717. def __init__(self) -> None: ...
  3718. def setSource(self, callback: cv2.typing.ExtractArgsCallback) -> None: ...
  3719. def start(self) -> None: ...
  3720. def pull(self) -> tuple[bool, _typing.Sequence[cv2.typing.GRunArg] | _typing.Sequence[cv2.typing.GOptRunArg]]: ...
  3721. def stop(self) -> None: ...
  3722. def running(self) -> bool: ...
  3723. class GOpaqueT:
  3724. # Functions
  3725. def __init__(self, type: cv2.gapi.ArgType) -> None: ...
  3726. def type(self) -> cv2.gapi.ArgType: ...
  3727. class GArrayT:
  3728. # Functions
  3729. def __init__(self, type: cv2.gapi.ArgType) -> None: ...
  3730. def type(self) -> cv2.gapi.ArgType: ...
  3731. class GCompileArg:
  3732. # Functions
  3733. @_typing.overload
  3734. def __init__(self, arg: GKernelPackage) -> None: ...
  3735. @_typing.overload
  3736. def __init__(self, arg: cv2.gapi.GNetPackage) -> None: ...
  3737. @_typing.overload
  3738. def __init__(self, arg: cv2.gapi.streaming.queue_capacity) -> None: ...
  3739. @_typing.overload
  3740. def __init__(self, arg: cv2.gapi.ot.ObjectTrackerParams) -> None: ...
  3741. class GInferInputs:
  3742. # Functions
  3743. def __init__(self) -> None: ...
  3744. @_typing.overload
  3745. def setInput(self, name: str, value: GMat) -> GInferInputs: ...
  3746. @_typing.overload
  3747. def setInput(self, name: str, value: GFrame) -> GInferInputs: ...
  3748. class GInferListInputs:
  3749. # Functions
  3750. def __init__(self) -> None: ...
  3751. @_typing.overload
  3752. def setInput(self, name: str, value: GArrayT) -> GInferListInputs: ...
  3753. @_typing.overload
  3754. def setInput(self, name: str, value: GArrayT) -> GInferListInputs: ...
  3755. class GInferOutputs:
  3756. # Functions
  3757. def __init__(self) -> None: ...
  3758. def at(self, name: str) -> GMat: ...
  3759. class GInferListOutputs:
  3760. # Functions
  3761. def __init__(self) -> None: ...
  3762. def at(self, name: str) -> GArrayT: ...
  3763. class Stitcher:
  3764. # Functions
  3765. @classmethod
  3766. def create(cls, mode: Stitcher_Mode = ...) -> Stitcher: ...
  3767. def registrationResol(self) -> float: ...
  3768. def setRegistrationResol(self, resol_mpx: float) -> None: ...
  3769. def seamEstimationResol(self) -> float: ...
  3770. def setSeamEstimationResol(self, resol_mpx: float) -> None: ...
  3771. def compositingResol(self) -> float: ...
  3772. def setCompositingResol(self, resol_mpx: float) -> None: ...
  3773. def panoConfidenceThresh(self) -> float: ...
  3774. def setPanoConfidenceThresh(self, conf_thresh: float) -> None: ...
  3775. def waveCorrection(self) -> bool: ...
  3776. def setWaveCorrection(self, flag: bool) -> None: ...
  3777. def interpolationFlags(self) -> InterpolationFlags: ...
  3778. def setInterpolationFlags(self, interp_flags: InterpolationFlags) -> None: ...
  3779. @_typing.overload
  3780. def estimateTransform(self, images: _typing.Sequence[cv2.typing.MatLike], masks: _typing.Sequence[cv2.typing.MatLike] | None = ...) -> Stitcher_Status: ...
  3781. @_typing.overload
  3782. def estimateTransform(self, images: _typing.Sequence[UMat], masks: _typing.Sequence[UMat] | None = ...) -> Stitcher_Status: ...
  3783. @_typing.overload
  3784. def composePanorama(self, pano: cv2.typing.MatLike | None = ...) -> tuple[Stitcher_Status, cv2.typing.MatLike]: ...
  3785. @_typing.overload
  3786. def composePanorama(self, pano: UMat | None = ...) -> tuple[Stitcher_Status, UMat]: ...
  3787. @_typing.overload
  3788. def composePanorama(self, images: _typing.Sequence[cv2.typing.MatLike], pano: cv2.typing.MatLike | None = ...) -> tuple[Stitcher_Status, cv2.typing.MatLike]: ...
  3789. @_typing.overload
  3790. def composePanorama(self, images: _typing.Sequence[UMat], pano: UMat | None = ...) -> tuple[Stitcher_Status, UMat]: ...
  3791. @_typing.overload
  3792. def stitch(self, images: _typing.Sequence[cv2.typing.MatLike], pano: cv2.typing.MatLike | None = ...) -> tuple[Stitcher_Status, cv2.typing.MatLike]: ...
  3793. @_typing.overload
  3794. def stitch(self, images: _typing.Sequence[UMat], pano: UMat | None = ...) -> tuple[Stitcher_Status, UMat]: ...
  3795. @_typing.overload
  3796. def stitch(self, images: _typing.Sequence[cv2.typing.MatLike], masks: _typing.Sequence[cv2.typing.MatLike], pano: cv2.typing.MatLike | None = ...) -> tuple[Stitcher_Status, cv2.typing.MatLike]: ...
  3797. @_typing.overload
  3798. def stitch(self, images: _typing.Sequence[UMat], masks: _typing.Sequence[UMat], pano: UMat | None = ...) -> tuple[Stitcher_Status, UMat]: ...
  3799. def component(self) -> _typing.Sequence[int]: ...
  3800. def cameras(self) -> _typing.Sequence[cv2.detail.CameraParams]: ...
  3801. def workScale(self) -> float: ...
  3802. class PyRotationWarper:
  3803. # Functions
  3804. @_typing.overload
  3805. def __init__(self, type: str, scale: float) -> None: ...
  3806. @_typing.overload
  3807. def __init__(self) -> None: ...
  3808. @_typing.overload
  3809. def warpPoint(self, pt: cv2.typing.Point2f, K: cv2.typing.MatLike, R: cv2.typing.MatLike) -> cv2.typing.Point2f: ...
  3810. @_typing.overload
  3811. def warpPoint(self, pt: cv2.typing.Point2f, K: UMat, R: UMat) -> cv2.typing.Point2f: ...
  3812. @_typing.overload
  3813. def warpPointBackward(self, pt: cv2.typing.Point2f, K: cv2.typing.MatLike, R: cv2.typing.MatLike) -> cv2.typing.Point2f: ...
  3814. @_typing.overload
  3815. def warpPointBackward(self, pt: cv2.typing.Point2f, K: UMat, R: UMat) -> cv2.typing.Point2f: ...
  3816. @_typing.overload
  3817. def buildMaps(self, src_size: cv2.typing.Size, K: cv2.typing.MatLike, R: cv2.typing.MatLike, xmap: cv2.typing.MatLike | None = ..., ymap: cv2.typing.MatLike | None = ...) -> tuple[cv2.typing.Rect, cv2.typing.MatLike, cv2.typing.MatLike]: ...
  3818. @_typing.overload
  3819. def buildMaps(self, src_size: cv2.typing.Size, K: UMat, R: UMat, xmap: UMat | None = ..., ymap: UMat | None = ...) -> tuple[cv2.typing.Rect, UMat, UMat]: ...
  3820. @_typing.overload
  3821. def warp(self, src: cv2.typing.MatLike, K: cv2.typing.MatLike, R: cv2.typing.MatLike, interp_mode: int, border_mode: int, dst: cv2.typing.MatLike | None = ...) -> tuple[cv2.typing.Point, cv2.typing.MatLike]: ...
  3822. @_typing.overload
  3823. def warp(self, src: UMat, K: UMat, R: UMat, interp_mode: int, border_mode: int, dst: UMat | None = ...) -> tuple[cv2.typing.Point, UMat]: ...
  3824. @_typing.overload
  3825. def warpBackward(self, src: cv2.typing.MatLike, K: cv2.typing.MatLike, R: cv2.typing.MatLike, interp_mode: int, border_mode: int, dst_size: cv2.typing.Size, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  3826. @_typing.overload
  3827. def warpBackward(self, src: UMat, K: UMat, R: UMat, interp_mode: int, border_mode: int, dst_size: cv2.typing.Size, dst: UMat | None = ...) -> UMat: ...
  3828. @_typing.overload
  3829. def warpRoi(self, src_size: cv2.typing.Size, K: cv2.typing.MatLike, R: cv2.typing.MatLike) -> cv2.typing.Rect: ...
  3830. @_typing.overload
  3831. def warpRoi(self, src_size: cv2.typing.Size, K: UMat, R: UMat) -> cv2.typing.Rect: ...
  3832. def getScale(self) -> float: ...
  3833. def setScale(self, arg1: float) -> None: ...
  3834. class WarperCreator:
  3835. ...
  3836. class TrackerCSRT(Tracker):
  3837. # Classes
  3838. class Params:
  3839. use_hog: bool
  3840. use_color_names: bool
  3841. use_gray: bool
  3842. use_rgb: bool
  3843. use_channel_weights: bool
  3844. use_segmentation: bool
  3845. window_function: str
  3846. kaiser_alpha: float
  3847. cheb_attenuation: float
  3848. template_size: float
  3849. gsl_sigma: float
  3850. hog_orientations: float
  3851. hog_clip: float
  3852. padding: float
  3853. filter_lr: float
  3854. weights_lr: float
  3855. num_hog_channels_used: int
  3856. admm_iterations: int
  3857. histogram_bins: int
  3858. histogram_lr: float
  3859. background_ratio: int
  3860. number_of_scales: int
  3861. scale_sigma_factor: float
  3862. scale_model_max_area: float
  3863. scale_lr: float
  3864. scale_step: float
  3865. psr_threshold: float
  3866. # Functions
  3867. def __init__(self) -> None: ...
  3868. # Functions
  3869. @classmethod
  3870. def create(cls, parameters: TrackerCSRT.Params = ...) -> TrackerCSRT: ...
  3871. @_typing.overload
  3872. def setInitialMask(self, mask: cv2.typing.MatLike) -> None: ...
  3873. @_typing.overload
  3874. def setInitialMask(self, mask: UMat) -> None: ...
  3875. class TrackerKCF(Tracker):
  3876. # Classes
  3877. class Params:
  3878. detect_thresh: float
  3879. sigma: float
  3880. lambda_: float
  3881. interp_factor: float
  3882. output_sigma_factor: float
  3883. pca_learning_rate: float
  3884. resize: bool
  3885. split_coeff: bool
  3886. wrap_kernel: bool
  3887. compress_feature: bool
  3888. max_patch_size: int
  3889. compressed_size: int
  3890. desc_pca: int
  3891. desc_npca: int
  3892. # Functions
  3893. def __init__(self) -> None: ...
  3894. # Functions
  3895. @classmethod
  3896. def create(cls, parameters: TrackerKCF.Params = ...) -> TrackerKCF: ...
  3897. class error(Exception):
  3898. code: int
  3899. err: str
  3900. file: str
  3901. func: str
  3902. line: int
  3903. msg: str
  3904. # Functions
  3905. @_typing.overload
  3906. def CamShift(probImage: cv2.typing.MatLike, window: cv2.typing.Rect, criteria: cv2.typing.TermCriteria) -> tuple[cv2.typing.RotatedRect, cv2.typing.Rect]: ...
  3907. @_typing.overload
  3908. def CamShift(probImage: UMat, window: cv2.typing.Rect, criteria: cv2.typing.TermCriteria) -> tuple[cv2.typing.RotatedRect, cv2.typing.Rect]: ...
  3909. @_typing.overload
  3910. def Canny(image: cv2.typing.MatLike, threshold1: float, threshold2: float, edges: cv2.typing.MatLike | None = ..., apertureSize: int = ..., L2gradient: bool = ...) -> cv2.typing.MatLike: ...
  3911. @_typing.overload
  3912. def Canny(image: UMat, threshold1: float, threshold2: float, edges: UMat | None = ..., apertureSize: int = ..., L2gradient: bool = ...) -> UMat: ...
  3913. @_typing.overload
  3914. def Canny(dx: cv2.typing.MatLike, dy: cv2.typing.MatLike, threshold1: float, threshold2: float, edges: cv2.typing.MatLike | None = ..., L2gradient: bool = ...) -> cv2.typing.MatLike: ...
  3915. @_typing.overload
  3916. def Canny(dx: UMat, dy: UMat, threshold1: float, threshold2: float, edges: UMat | None = ..., L2gradient: bool = ...) -> UMat: ...
  3917. @_typing.overload
  3918. def EMD(signature1: cv2.typing.MatLike, signature2: cv2.typing.MatLike, distType: int, cost: cv2.typing.MatLike | None = ..., lowerBound: float | None = ..., flow: cv2.typing.MatLike | None = ...) -> tuple[float, float, cv2.typing.MatLike]: ...
  3919. @_typing.overload
  3920. def EMD(signature1: UMat, signature2: UMat, distType: int, cost: UMat | None = ..., lowerBound: float | None = ..., flow: UMat | None = ...) -> tuple[float, float, UMat]: ...
  3921. @_typing.overload
  3922. def GaussianBlur(src: cv2.typing.MatLike, ksize: cv2.typing.Size, sigmaX: float, dst: cv2.typing.MatLike | None = ..., sigmaY: float = ..., borderType: int = ..., hint: AlgorithmHint = ...) -> cv2.typing.MatLike: ...
  3923. @_typing.overload
  3924. def GaussianBlur(src: UMat, ksize: cv2.typing.Size, sigmaX: float, dst: UMat | None = ..., sigmaY: float = ..., borderType: int = ..., hint: AlgorithmHint = ...) -> UMat: ...
  3925. @_typing.overload
  3926. def HoughCircles(image: cv2.typing.MatLike, method: int, dp: float, minDist: float, circles: cv2.typing.MatLike | None = ..., param1: float = ..., param2: float = ..., minRadius: int = ..., maxRadius: int = ...) -> cv2.typing.MatLike: ...
  3927. @_typing.overload
  3928. def HoughCircles(image: UMat, method: int, dp: float, minDist: float, circles: UMat | None = ..., param1: float = ..., param2: float = ..., minRadius: int = ..., maxRadius: int = ...) -> UMat: ...
  3929. @_typing.overload
  3930. def HoughCirclesWithAccumulator(image: cv2.typing.MatLike, method: int, dp: float, minDist: float, circles: cv2.typing.MatLike | None = ..., param1: float = ..., param2: float = ..., minRadius: int = ..., maxRadius: int = ...) -> cv2.typing.MatLike: ...
  3931. @_typing.overload
  3932. def HoughCirclesWithAccumulator(image: UMat, method: int, dp: float, minDist: float, circles: UMat | None = ..., param1: float = ..., param2: float = ..., minRadius: int = ..., maxRadius: int = ...) -> UMat: ...
  3933. @_typing.overload
  3934. def HoughLines(image: cv2.typing.MatLike, rho: float, theta: float, threshold: int, lines: cv2.typing.MatLike | None = ..., srn: float = ..., stn: float = ..., min_theta: float = ..., max_theta: float = ..., use_edgeval: bool = ...) -> cv2.typing.MatLike: ...
  3935. @_typing.overload
  3936. def HoughLines(image: UMat, rho: float, theta: float, threshold: int, lines: UMat | None = ..., srn: float = ..., stn: float = ..., min_theta: float = ..., max_theta: float = ..., use_edgeval: bool = ...) -> UMat: ...
  3937. @_typing.overload
  3938. def HoughLinesP(image: cv2.typing.MatLike, rho: float, theta: float, threshold: int, lines: cv2.typing.MatLike | None = ..., minLineLength: float = ..., maxLineGap: float = ...) -> cv2.typing.MatLike: ...
  3939. @_typing.overload
  3940. def HoughLinesP(image: UMat, rho: float, theta: float, threshold: int, lines: UMat | None = ..., minLineLength: float = ..., maxLineGap: float = ...) -> UMat: ...
  3941. @_typing.overload
  3942. def HoughLinesPointSet(point: cv2.typing.MatLike, lines_max: int, threshold: int, min_rho: float, max_rho: float, rho_step: float, min_theta: float, max_theta: float, theta_step: float, lines: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  3943. @_typing.overload
  3944. def HoughLinesPointSet(point: UMat, lines_max: int, threshold: int, min_rho: float, max_rho: float, rho_step: float, min_theta: float, max_theta: float, theta_step: float, lines: UMat | None = ...) -> UMat: ...
  3945. @_typing.overload
  3946. def HoughLinesWithAccumulator(image: cv2.typing.MatLike, rho: float, theta: float, threshold: int, lines: cv2.typing.MatLike | None = ..., srn: float = ..., stn: float = ..., min_theta: float = ..., max_theta: float = ..., use_edgeval: bool = ...) -> cv2.typing.MatLike: ...
  3947. @_typing.overload
  3948. def HoughLinesWithAccumulator(image: UMat, rho: float, theta: float, threshold: int, lines: UMat | None = ..., srn: float = ..., stn: float = ..., min_theta: float = ..., max_theta: float = ..., use_edgeval: bool = ...) -> UMat: ...
  3949. @_typing.overload
  3950. def HuMoments(m: cv2.typing.Moments, hu: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  3951. @_typing.overload
  3952. def HuMoments(m: cv2.typing.Moments, hu: UMat | None = ...) -> UMat: ...
  3953. @_typing.overload
  3954. def LUT(src: cv2.typing.MatLike, lut: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  3955. @_typing.overload
  3956. def LUT(src: UMat, lut: UMat, dst: UMat | None = ...) -> UMat: ...
  3957. @_typing.overload
  3958. def Laplacian(src: cv2.typing.MatLike, ddepth: int, dst: cv2.typing.MatLike | None = ..., ksize: int = ..., scale: float = ..., delta: float = ..., borderType: int = ...) -> cv2.typing.MatLike: ...
  3959. @_typing.overload
  3960. def Laplacian(src: UMat, ddepth: int, dst: UMat | None = ..., ksize: int = ..., scale: float = ..., delta: float = ..., borderType: int = ...) -> UMat: ...
  3961. @_typing.overload
  3962. def Mahalanobis(v1: cv2.typing.MatLike, v2: cv2.typing.MatLike, icovar: cv2.typing.MatLike) -> float: ...
  3963. @_typing.overload
  3964. def Mahalanobis(v1: UMat, v2: UMat, icovar: UMat) -> float: ...
  3965. @_typing.overload
  3966. def PCABackProject(data: cv2.typing.MatLike, mean: cv2.typing.MatLike, eigenvectors: cv2.typing.MatLike, result: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  3967. @_typing.overload
  3968. def PCABackProject(data: UMat, mean: UMat, eigenvectors: UMat, result: UMat | None = ...) -> UMat: ...
  3969. @_typing.overload
  3970. def PCACompute(data: cv2.typing.MatLike, mean: cv2.typing.MatLike, eigenvectors: cv2.typing.MatLike | None = ..., maxComponents: int = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike]: ...
  3971. @_typing.overload
  3972. def PCACompute(data: UMat, mean: UMat, eigenvectors: UMat | None = ..., maxComponents: int = ...) -> tuple[UMat, UMat]: ...
  3973. @_typing.overload
  3974. def PCACompute(data: cv2.typing.MatLike, mean: cv2.typing.MatLike, retainedVariance: float, eigenvectors: cv2.typing.MatLike | None = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike]: ...
  3975. @_typing.overload
  3976. def PCACompute(data: UMat, mean: UMat, retainedVariance: float, eigenvectors: UMat | None = ...) -> tuple[UMat, UMat]: ...
  3977. @_typing.overload
  3978. def PCACompute2(data: cv2.typing.MatLike, mean: cv2.typing.MatLike, eigenvectors: cv2.typing.MatLike | None = ..., eigenvalues: cv2.typing.MatLike | None = ..., maxComponents: int = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike]: ...
  3979. @_typing.overload
  3980. def PCACompute2(data: UMat, mean: UMat, eigenvectors: UMat | None = ..., eigenvalues: UMat | None = ..., maxComponents: int = ...) -> tuple[UMat, UMat, UMat]: ...
  3981. @_typing.overload
  3982. def PCACompute2(data: cv2.typing.MatLike, mean: cv2.typing.MatLike, retainedVariance: float, eigenvectors: cv2.typing.MatLike | None = ..., eigenvalues: cv2.typing.MatLike | None = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike]: ...
  3983. @_typing.overload
  3984. def PCACompute2(data: UMat, mean: UMat, retainedVariance: float, eigenvectors: UMat | None = ..., eigenvalues: UMat | None = ...) -> tuple[UMat, UMat, UMat]: ...
  3985. @_typing.overload
  3986. def PCAProject(data: cv2.typing.MatLike, mean: cv2.typing.MatLike, eigenvectors: cv2.typing.MatLike, result: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  3987. @_typing.overload
  3988. def PCAProject(data: UMat, mean: UMat, eigenvectors: UMat, result: UMat | None = ...) -> UMat: ...
  3989. @_typing.overload
  3990. def PSNR(src1: cv2.typing.MatLike, src2: cv2.typing.MatLike, R: float = ...) -> float: ...
  3991. @_typing.overload
  3992. def PSNR(src1: UMat, src2: UMat, R: float = ...) -> float: ...
  3993. @_typing.overload
  3994. def RQDecomp3x3(src: cv2.typing.MatLike, mtxR: cv2.typing.MatLike | None = ..., mtxQ: cv2.typing.MatLike | None = ..., Qx: cv2.typing.MatLike | None = ..., Qy: cv2.typing.MatLike | None = ..., Qz: cv2.typing.MatLike | None = ...) -> tuple[cv2.typing.Vec3d, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike]: ...
  3995. @_typing.overload
  3996. def RQDecomp3x3(src: UMat, mtxR: UMat | None = ..., mtxQ: UMat | None = ..., Qx: UMat | None = ..., Qy: UMat | None = ..., Qz: UMat | None = ...) -> tuple[cv2.typing.Vec3d, UMat, UMat, UMat, UMat, UMat]: ...
  3997. @_typing.overload
  3998. def Rodrigues(src: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ..., jacobian: cv2.typing.MatLike | None = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike]: ...
  3999. @_typing.overload
  4000. def Rodrigues(src: UMat, dst: UMat | None = ..., jacobian: UMat | None = ...) -> tuple[UMat, UMat]: ...
  4001. @_typing.overload
  4002. def SVBackSubst(w: cv2.typing.MatLike, u: cv2.typing.MatLike, vt: cv2.typing.MatLike, rhs: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  4003. @_typing.overload
  4004. def SVBackSubst(w: UMat, u: UMat, vt: UMat, rhs: UMat, dst: UMat | None = ...) -> UMat: ...
  4005. @_typing.overload
  4006. def SVDecomp(src: cv2.typing.MatLike, w: cv2.typing.MatLike | None = ..., u: cv2.typing.MatLike | None = ..., vt: cv2.typing.MatLike | None = ..., flags: int = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike]: ...
  4007. @_typing.overload
  4008. def SVDecomp(src: UMat, w: UMat | None = ..., u: UMat | None = ..., vt: UMat | None = ..., flags: int = ...) -> tuple[UMat, UMat, UMat]: ...
  4009. @_typing.overload
  4010. def Scharr(src: cv2.typing.MatLike, ddepth: int, dx: int, dy: int, dst: cv2.typing.MatLike | None = ..., scale: float = ..., delta: float = ..., borderType: int = ...) -> cv2.typing.MatLike: ...
  4011. @_typing.overload
  4012. def Scharr(src: UMat, ddepth: int, dx: int, dy: int, dst: UMat | None = ..., scale: float = ..., delta: float = ..., borderType: int = ...) -> UMat: ...
  4013. @_typing.overload
  4014. def Sobel(src: cv2.typing.MatLike, ddepth: int, dx: int, dy: int, dst: cv2.typing.MatLike | None = ..., ksize: int = ..., scale: float = ..., delta: float = ..., borderType: int = ...) -> cv2.typing.MatLike: ...
  4015. @_typing.overload
  4016. def Sobel(src: UMat, ddepth: int, dx: int, dy: int, dst: UMat | None = ..., ksize: int = ..., scale: float = ..., delta: float = ..., borderType: int = ...) -> UMat: ...
  4017. @_typing.overload
  4018. def absdiff(src1: cv2.typing.MatLike, src2: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  4019. @_typing.overload
  4020. def absdiff(src1: UMat, src2: UMat, dst: UMat | None = ...) -> UMat: ...
  4021. @_typing.overload
  4022. def accumulate(src: cv2.typing.MatLike, dst: cv2.typing.MatLike, mask: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  4023. @_typing.overload
  4024. def accumulate(src: UMat, dst: UMat, mask: UMat | None = ...) -> UMat: ...
  4025. @_typing.overload
  4026. def accumulateProduct(src1: cv2.typing.MatLike, src2: cv2.typing.MatLike, dst: cv2.typing.MatLike, mask: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  4027. @_typing.overload
  4028. def accumulateProduct(src1: UMat, src2: UMat, dst: UMat, mask: UMat | None = ...) -> UMat: ...
  4029. @_typing.overload
  4030. def accumulateSquare(src: cv2.typing.MatLike, dst: cv2.typing.MatLike, mask: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  4031. @_typing.overload
  4032. def accumulateSquare(src: UMat, dst: UMat, mask: UMat | None = ...) -> UMat: ...
  4033. @_typing.overload
  4034. def accumulateWeighted(src: cv2.typing.MatLike, dst: cv2.typing.MatLike, alpha: float, mask: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  4035. @_typing.overload
  4036. def accumulateWeighted(src: UMat, dst: UMat, alpha: float, mask: UMat | None = ...) -> UMat: ...
  4037. @_typing.overload
  4038. def adaptiveThreshold(src: cv2.typing.MatLike, maxValue: float, adaptiveMethod: int, thresholdType: int, blockSize: int, C: float, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  4039. @_typing.overload
  4040. def adaptiveThreshold(src: UMat, maxValue: float, adaptiveMethod: int, thresholdType: int, blockSize: int, C: float, dst: UMat | None = ...) -> UMat: ...
  4041. @_typing.overload
  4042. def add(src1: cv2.typing.MatLike, src2: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ..., mask: cv2.typing.MatLike | None = ..., dtype: int = ...) -> cv2.typing.MatLike: ...
  4043. @_typing.overload
  4044. def add(src1: UMat, src2: UMat, dst: UMat | None = ..., mask: UMat | None = ..., dtype: int = ...) -> UMat: ...
  4045. def addText(img: cv2.typing.MatLike, text: str, org: cv2.typing.Point, nameFont: str, pointSize: int = ..., color: cv2.typing.Scalar = ..., weight: int = ..., style: int = ..., spacing: int = ...) -> None: ...
  4046. @_typing.overload
  4047. def addWeighted(src1: cv2.typing.MatLike, alpha: float, src2: cv2.typing.MatLike, beta: float, gamma: float, dst: cv2.typing.MatLike | None = ..., dtype: int = ...) -> cv2.typing.MatLike: ...
  4048. @_typing.overload
  4049. def addWeighted(src1: UMat, alpha: float, src2: UMat, beta: float, gamma: float, dst: UMat | None = ..., dtype: int = ...) -> UMat: ...
  4050. @_typing.overload
  4051. def applyColorMap(src: cv2.typing.MatLike, colormap: int, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  4052. @_typing.overload
  4053. def applyColorMap(src: UMat, colormap: int, dst: UMat | None = ...) -> UMat: ...
  4054. @_typing.overload
  4055. def applyColorMap(src: cv2.typing.MatLike, userColor: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  4056. @_typing.overload
  4057. def applyColorMap(src: UMat, userColor: UMat, dst: UMat | None = ...) -> UMat: ...
  4058. @_typing.overload
  4059. def approxPolyDP(curve: cv2.typing.MatLike, epsilon: float, closed: bool, approxCurve: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  4060. @_typing.overload
  4061. def approxPolyDP(curve: UMat, epsilon: float, closed: bool, approxCurve: UMat | None = ...) -> UMat: ...
  4062. @_typing.overload
  4063. def approxPolyN(curve: cv2.typing.MatLike, nsides: int, approxCurve: cv2.typing.MatLike | None = ..., epsilon_percentage: float = ..., ensure_convex: bool = ...) -> cv2.typing.MatLike: ...
  4064. @_typing.overload
  4065. def approxPolyN(curve: UMat, nsides: int, approxCurve: UMat | None = ..., epsilon_percentage: float = ..., ensure_convex: bool = ...) -> UMat: ...
  4066. @_typing.overload
  4067. def arcLength(curve: cv2.typing.MatLike, closed: bool) -> float: ...
  4068. @_typing.overload
  4069. def arcLength(curve: UMat, closed: bool) -> float: ...
  4070. @_typing.overload
  4071. def arrowedLine(img: cv2.typing.MatLike, pt1: cv2.typing.Point, pt2: cv2.typing.Point, color: cv2.typing.Scalar, thickness: int = ..., line_type: int = ..., shift: int = ..., tipLength: float = ...) -> cv2.typing.MatLike: ...
  4072. @_typing.overload
  4073. def arrowedLine(img: UMat, pt1: cv2.typing.Point, pt2: cv2.typing.Point, color: cv2.typing.Scalar, thickness: int = ..., line_type: int = ..., shift: int = ..., tipLength: float = ...) -> UMat: ...
  4074. @_typing.overload
  4075. def batchDistance(src1: cv2.typing.MatLike, src2: cv2.typing.MatLike, dtype: int, dist: cv2.typing.MatLike | None = ..., nidx: cv2.typing.MatLike | None = ..., normType: int = ..., K: int = ..., mask: cv2.typing.MatLike | None = ..., update: int = ..., crosscheck: bool = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike]: ...
  4076. @_typing.overload
  4077. def batchDistance(src1: UMat, src2: UMat, dtype: int, dist: UMat | None = ..., nidx: UMat | None = ..., normType: int = ..., K: int = ..., mask: UMat | None = ..., update: int = ..., crosscheck: bool = ...) -> tuple[UMat, UMat]: ...
  4078. @_typing.overload
  4079. def bilateralFilter(src: cv2.typing.MatLike, d: int, sigmaColor: float, sigmaSpace: float, dst: cv2.typing.MatLike | None = ..., borderType: int = ...) -> cv2.typing.MatLike: ...
  4080. @_typing.overload
  4081. def bilateralFilter(src: UMat, d: int, sigmaColor: float, sigmaSpace: float, dst: UMat | None = ..., borderType: int = ...) -> UMat: ...
  4082. @_typing.overload
  4083. def bitwise_and(src1: cv2.typing.MatLike, src2: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ..., mask: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  4084. @_typing.overload
  4085. def bitwise_and(src1: UMat, src2: UMat, dst: UMat | None = ..., mask: UMat | None = ...) -> UMat: ...
  4086. @_typing.overload
  4087. def bitwise_not(src: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ..., mask: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  4088. @_typing.overload
  4089. def bitwise_not(src: UMat, dst: UMat | None = ..., mask: UMat | None = ...) -> UMat: ...
  4090. @_typing.overload
  4091. def bitwise_or(src1: cv2.typing.MatLike, src2: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ..., mask: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  4092. @_typing.overload
  4093. def bitwise_or(src1: UMat, src2: UMat, dst: UMat | None = ..., mask: UMat | None = ...) -> UMat: ...
  4094. @_typing.overload
  4095. def bitwise_xor(src1: cv2.typing.MatLike, src2: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ..., mask: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  4096. @_typing.overload
  4097. def bitwise_xor(src1: UMat, src2: UMat, dst: UMat | None = ..., mask: UMat | None = ...) -> UMat: ...
  4098. @_typing.overload
  4099. def blendLinear(src1: cv2.typing.MatLike, src2: cv2.typing.MatLike, weights1: cv2.typing.MatLike, weights2: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  4100. @_typing.overload
  4101. def blendLinear(src1: UMat, src2: UMat, weights1: UMat, weights2: UMat, dst: UMat | None = ...) -> UMat: ...
  4102. @_typing.overload
  4103. def blur(src: cv2.typing.MatLike, ksize: cv2.typing.Size, dst: cv2.typing.MatLike | None = ..., anchor: cv2.typing.Point = ..., borderType: int = ...) -> cv2.typing.MatLike: ...
  4104. @_typing.overload
  4105. def blur(src: UMat, ksize: cv2.typing.Size, dst: UMat | None = ..., anchor: cv2.typing.Point = ..., borderType: int = ...) -> UMat: ...
  4106. def borderInterpolate(p: int, len: int, borderType: int) -> int: ...
  4107. @_typing.overload
  4108. def boundingRect(array: cv2.typing.MatLike) -> cv2.typing.Rect: ...
  4109. @_typing.overload
  4110. def boundingRect(array: UMat) -> cv2.typing.Rect: ...
  4111. @_typing.overload
  4112. def boxFilter(src: cv2.typing.MatLike, ddepth: int, ksize: cv2.typing.Size, dst: cv2.typing.MatLike | None = ..., anchor: cv2.typing.Point = ..., normalize: bool = ..., borderType: int = ...) -> cv2.typing.MatLike: ...
  4113. @_typing.overload
  4114. def boxFilter(src: UMat, ddepth: int, ksize: cv2.typing.Size, dst: UMat | None = ..., anchor: cv2.typing.Point = ..., normalize: bool = ..., borderType: int = ...) -> UMat: ...
  4115. @_typing.overload
  4116. def boxPoints(box: cv2.typing.RotatedRect, points: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  4117. @_typing.overload
  4118. def boxPoints(box: cv2.typing.RotatedRect, points: UMat | None = ...) -> UMat: ...
  4119. @_typing.overload
  4120. def broadcast(src: cv2.typing.MatLike, shape: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  4121. @_typing.overload
  4122. def broadcast(src: UMat, shape: UMat, dst: UMat | None = ...) -> UMat: ...
  4123. @_typing.overload
  4124. def buildOpticalFlowPyramid(img: cv2.typing.MatLike, winSize: cv2.typing.Size, maxLevel: int, pyramid: _typing.Sequence[cv2.typing.MatLike] | None = ..., withDerivatives: bool = ..., pyrBorder: int = ..., derivBorder: int = ..., tryReuseInputImage: bool = ...) -> tuple[int, _typing.Sequence[cv2.typing.MatLike]]: ...
  4125. @_typing.overload
  4126. def buildOpticalFlowPyramid(img: UMat, winSize: cv2.typing.Size, maxLevel: int, pyramid: _typing.Sequence[UMat] | None = ..., withDerivatives: bool = ..., pyrBorder: int = ..., derivBorder: int = ..., tryReuseInputImage: bool = ...) -> tuple[int, _typing.Sequence[UMat]]: ...
  4127. @_typing.overload
  4128. def calcBackProject(images: _typing.Sequence[cv2.typing.MatLike], channels: _typing.Sequence[int], hist: cv2.typing.MatLike, ranges: _typing.Sequence[float], scale: float, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  4129. @_typing.overload
  4130. def calcBackProject(images: _typing.Sequence[UMat], channels: _typing.Sequence[int], hist: UMat, ranges: _typing.Sequence[float], scale: float, dst: UMat | None = ...) -> UMat: ...
  4131. @_typing.overload
  4132. def calcCovarMatrix(samples: cv2.typing.MatLike, mean: cv2.typing.MatLike, flags: int, covar: cv2.typing.MatLike | None = ..., ctype: int = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike]: ...
  4133. @_typing.overload
  4134. def calcCovarMatrix(samples: UMat, mean: UMat, flags: int, covar: UMat | None = ..., ctype: int = ...) -> tuple[UMat, UMat]: ...
  4135. @_typing.overload
  4136. def calcHist(images: _typing.Sequence[cv2.typing.MatLike], channels: _typing.Sequence[int], mask: cv2.typing.MatLike | None, histSize: _typing.Sequence[int], ranges: _typing.Sequence[float], hist: cv2.typing.MatLike | None = ..., accumulate: bool = ...) -> cv2.typing.MatLike: ...
  4137. @_typing.overload
  4138. def calcHist(images: _typing.Sequence[UMat], channels: _typing.Sequence[int], mask: UMat | None, histSize: _typing.Sequence[int], ranges: _typing.Sequence[float], hist: UMat | None = ..., accumulate: bool = ...) -> UMat: ...
  4139. @_typing.overload
  4140. def calcOpticalFlowFarneback(prev: cv2.typing.MatLike, next: cv2.typing.MatLike, flow: cv2.typing.MatLike, pyr_scale: float, levels: int, winsize: int, iterations: int, poly_n: int, poly_sigma: float, flags: int) -> cv2.typing.MatLike: ...
  4141. @_typing.overload
  4142. def calcOpticalFlowFarneback(prev: UMat, next: UMat, flow: UMat, pyr_scale: float, levels: int, winsize: int, iterations: int, poly_n: int, poly_sigma: float, flags: int) -> UMat: ...
  4143. @_typing.overload
  4144. def calcOpticalFlowPyrLK(prevImg: cv2.typing.MatLike, nextImg: cv2.typing.MatLike, prevPts: cv2.typing.MatLike, nextPts: cv2.typing.MatLike, status: cv2.typing.MatLike | None = ..., err: cv2.typing.MatLike | None = ..., winSize: cv2.typing.Size = ..., maxLevel: int = ..., criteria: cv2.typing.TermCriteria = ..., flags: int = ..., minEigThreshold: float = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike]: ...
  4145. @_typing.overload
  4146. def calcOpticalFlowPyrLK(prevImg: UMat, nextImg: UMat, prevPts: UMat, nextPts: UMat, status: UMat | None = ..., err: UMat | None = ..., winSize: cv2.typing.Size = ..., maxLevel: int = ..., criteria: cv2.typing.TermCriteria = ..., flags: int = ..., minEigThreshold: float = ...) -> tuple[UMat, UMat, UMat]: ...
  4147. @_typing.overload
  4148. def calibrateCamera(objectPoints: _typing.Sequence[cv2.typing.MatLike], imagePoints: _typing.Sequence[cv2.typing.MatLike], imageSize: cv2.typing.Size, cameraMatrix: cv2.typing.MatLike, distCoeffs: cv2.typing.MatLike, rvecs: _typing.Sequence[cv2.typing.MatLike] | None = ..., tvecs: _typing.Sequence[cv2.typing.MatLike] | None = ..., flags: int = ..., criteria: cv2.typing.TermCriteria = ...) -> tuple[float, cv2.typing.MatLike, cv2.typing.MatLike, _typing.Sequence[cv2.typing.MatLike], _typing.Sequence[cv2.typing.MatLike]]: ...
  4149. @_typing.overload
  4150. def calibrateCamera(objectPoints: _typing.Sequence[UMat], imagePoints: _typing.Sequence[UMat], imageSize: cv2.typing.Size, cameraMatrix: UMat, distCoeffs: UMat, rvecs: _typing.Sequence[UMat] | None = ..., tvecs: _typing.Sequence[UMat] | None = ..., flags: int = ..., criteria: cv2.typing.TermCriteria = ...) -> tuple[float, UMat, UMat, _typing.Sequence[UMat], _typing.Sequence[UMat]]: ...
  4151. @_typing.overload
  4152. def calibrateCameraExtended(objectPoints: _typing.Sequence[cv2.typing.MatLike], imagePoints: _typing.Sequence[cv2.typing.MatLike], imageSize: cv2.typing.Size, cameraMatrix: cv2.typing.MatLike, distCoeffs: cv2.typing.MatLike, rvecs: _typing.Sequence[cv2.typing.MatLike] | None = ..., tvecs: _typing.Sequence[cv2.typing.MatLike] | None = ..., stdDeviationsIntrinsics: cv2.typing.MatLike | None = ..., stdDeviationsExtrinsics: cv2.typing.MatLike | None = ..., perViewErrors: cv2.typing.MatLike | None = ..., flags: int = ..., criteria: cv2.typing.TermCriteria = ...) -> tuple[float, cv2.typing.MatLike, cv2.typing.MatLike, _typing.Sequence[cv2.typing.MatLike], _typing.Sequence[cv2.typing.MatLike], cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike]: ...
  4153. @_typing.overload
  4154. def calibrateCameraExtended(objectPoints: _typing.Sequence[UMat], imagePoints: _typing.Sequence[UMat], imageSize: cv2.typing.Size, cameraMatrix: UMat, distCoeffs: UMat, rvecs: _typing.Sequence[UMat] | None = ..., tvecs: _typing.Sequence[UMat] | None = ..., stdDeviationsIntrinsics: UMat | None = ..., stdDeviationsExtrinsics: UMat | None = ..., perViewErrors: UMat | None = ..., flags: int = ..., criteria: cv2.typing.TermCriteria = ...) -> tuple[float, UMat, UMat, _typing.Sequence[UMat], _typing.Sequence[UMat], UMat, UMat, UMat]: ...
  4155. @_typing.overload
  4156. def calibrateCameraRO(objectPoints: _typing.Sequence[cv2.typing.MatLike], imagePoints: _typing.Sequence[cv2.typing.MatLike], imageSize: cv2.typing.Size, iFixedPoint: int, cameraMatrix: cv2.typing.MatLike, distCoeffs: cv2.typing.MatLike, rvecs: _typing.Sequence[cv2.typing.MatLike] | None = ..., tvecs: _typing.Sequence[cv2.typing.MatLike] | None = ..., newObjPoints: cv2.typing.MatLike | None = ..., flags: int = ..., criteria: cv2.typing.TermCriteria = ...) -> tuple[float, cv2.typing.MatLike, cv2.typing.MatLike, _typing.Sequence[cv2.typing.MatLike], _typing.Sequence[cv2.typing.MatLike], cv2.typing.MatLike]: ...
  4157. @_typing.overload
  4158. def calibrateCameraRO(objectPoints: _typing.Sequence[UMat], imagePoints: _typing.Sequence[UMat], imageSize: cv2.typing.Size, iFixedPoint: int, cameraMatrix: UMat, distCoeffs: UMat, rvecs: _typing.Sequence[UMat] | None = ..., tvecs: _typing.Sequence[UMat] | None = ..., newObjPoints: UMat | None = ..., flags: int = ..., criteria: cv2.typing.TermCriteria = ...) -> tuple[float, UMat, UMat, _typing.Sequence[UMat], _typing.Sequence[UMat], UMat]: ...
  4159. @_typing.overload
  4160. def calibrateCameraROExtended(objectPoints: _typing.Sequence[cv2.typing.MatLike], imagePoints: _typing.Sequence[cv2.typing.MatLike], imageSize: cv2.typing.Size, iFixedPoint: int, cameraMatrix: cv2.typing.MatLike, distCoeffs: cv2.typing.MatLike, rvecs: _typing.Sequence[cv2.typing.MatLike] | None = ..., tvecs: _typing.Sequence[cv2.typing.MatLike] | None = ..., newObjPoints: cv2.typing.MatLike | None = ..., stdDeviationsIntrinsics: cv2.typing.MatLike | None = ..., stdDeviationsExtrinsics: cv2.typing.MatLike | None = ..., stdDeviationsObjPoints: cv2.typing.MatLike | None = ..., perViewErrors: cv2.typing.MatLike | None = ..., flags: int = ..., criteria: cv2.typing.TermCriteria = ...) -> tuple[float, cv2.typing.MatLike, cv2.typing.MatLike, _typing.Sequence[cv2.typing.MatLike], _typing.Sequence[cv2.typing.MatLike], cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike]: ...
  4161. @_typing.overload
  4162. def calibrateCameraROExtended(objectPoints: _typing.Sequence[UMat], imagePoints: _typing.Sequence[UMat], imageSize: cv2.typing.Size, iFixedPoint: int, cameraMatrix: UMat, distCoeffs: UMat, rvecs: _typing.Sequence[UMat] | None = ..., tvecs: _typing.Sequence[UMat] | None = ..., newObjPoints: UMat | None = ..., stdDeviationsIntrinsics: UMat | None = ..., stdDeviationsExtrinsics: UMat | None = ..., stdDeviationsObjPoints: UMat | None = ..., perViewErrors: UMat | None = ..., flags: int = ..., criteria: cv2.typing.TermCriteria = ...) -> tuple[float, UMat, UMat, _typing.Sequence[UMat], _typing.Sequence[UMat], UMat, UMat, UMat, UMat, UMat]: ...
  4163. @_typing.overload
  4164. def calibrateHandEye(R_gripper2base: _typing.Sequence[cv2.typing.MatLike], t_gripper2base: _typing.Sequence[cv2.typing.MatLike], R_target2cam: _typing.Sequence[cv2.typing.MatLike], t_target2cam: _typing.Sequence[cv2.typing.MatLike], R_cam2gripper: cv2.typing.MatLike | None = ..., t_cam2gripper: cv2.typing.MatLike | None = ..., method: HandEyeCalibrationMethod = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike]: ...
  4165. @_typing.overload
  4166. def calibrateHandEye(R_gripper2base: _typing.Sequence[UMat], t_gripper2base: _typing.Sequence[UMat], R_target2cam: _typing.Sequence[UMat], t_target2cam: _typing.Sequence[UMat], R_cam2gripper: UMat | None = ..., t_cam2gripper: UMat | None = ..., method: HandEyeCalibrationMethod = ...) -> tuple[UMat, UMat]: ...
  4167. @_typing.overload
  4168. def calibrateRobotWorldHandEye(R_world2cam: _typing.Sequence[cv2.typing.MatLike], t_world2cam: _typing.Sequence[cv2.typing.MatLike], R_base2gripper: _typing.Sequence[cv2.typing.MatLike], t_base2gripper: _typing.Sequence[cv2.typing.MatLike], R_base2world: cv2.typing.MatLike | None = ..., t_base2world: cv2.typing.MatLike | None = ..., R_gripper2cam: cv2.typing.MatLike | None = ..., t_gripper2cam: cv2.typing.MatLike | None = ..., method: RobotWorldHandEyeCalibrationMethod = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike]: ...
  4169. @_typing.overload
  4170. def calibrateRobotWorldHandEye(R_world2cam: _typing.Sequence[UMat], t_world2cam: _typing.Sequence[UMat], R_base2gripper: _typing.Sequence[UMat], t_base2gripper: _typing.Sequence[UMat], R_base2world: UMat | None = ..., t_base2world: UMat | None = ..., R_gripper2cam: UMat | None = ..., t_gripper2cam: UMat | None = ..., method: RobotWorldHandEyeCalibrationMethod = ...) -> tuple[UMat, UMat, UMat, UMat]: ...
  4171. @_typing.overload
  4172. def calibrationMatrixValues(cameraMatrix: cv2.typing.MatLike, imageSize: cv2.typing.Size, apertureWidth: float, apertureHeight: float) -> tuple[float, float, float, cv2.typing.Point2d, float]: ...
  4173. @_typing.overload
  4174. def calibrationMatrixValues(cameraMatrix: UMat, imageSize: cv2.typing.Size, apertureWidth: float, apertureHeight: float) -> tuple[float, float, float, cv2.typing.Point2d, float]: ...
  4175. @_typing.overload
  4176. def cartToPolar(x: cv2.typing.MatLike, y: cv2.typing.MatLike, magnitude: cv2.typing.MatLike | None = ..., angle: cv2.typing.MatLike | None = ..., angleInDegrees: bool = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike]: ...
  4177. @_typing.overload
  4178. def cartToPolar(x: UMat, y: UMat, magnitude: UMat | None = ..., angle: UMat | None = ..., angleInDegrees: bool = ...) -> tuple[UMat, UMat]: ...
  4179. @_typing.overload
  4180. def checkChessboard(img: cv2.typing.MatLike, size: cv2.typing.Size) -> bool: ...
  4181. @_typing.overload
  4182. def checkChessboard(img: UMat, size: cv2.typing.Size) -> bool: ...
  4183. def checkHardwareSupport(feature: int) -> bool: ...
  4184. @_typing.overload
  4185. def checkRange(a: cv2.typing.MatLike, quiet: bool = ..., minVal: float = ..., maxVal: float = ...) -> tuple[bool, cv2.typing.Point]: ...
  4186. @_typing.overload
  4187. def checkRange(a: UMat, quiet: bool = ..., minVal: float = ..., maxVal: float = ...) -> tuple[bool, cv2.typing.Point]: ...
  4188. @_typing.overload
  4189. def circle(img: cv2.typing.MatLike, center: cv2.typing.Point, radius: int, color: cv2.typing.Scalar, thickness: int = ..., lineType: int = ..., shift: int = ...) -> cv2.typing.MatLike: ...
  4190. @_typing.overload
  4191. def circle(img: UMat, center: cv2.typing.Point, radius: int, color: cv2.typing.Scalar, thickness: int = ..., lineType: int = ..., shift: int = ...) -> UMat: ...
  4192. def clipLine(imgRect: cv2.typing.Rect, pt1: cv2.typing.Point, pt2: cv2.typing.Point) -> tuple[bool, cv2.typing.Point, cv2.typing.Point]: ...
  4193. @_typing.overload
  4194. def colorChange(src: cv2.typing.MatLike, mask: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ..., red_mul: float = ..., green_mul: float = ..., blue_mul: float = ...) -> cv2.typing.MatLike: ...
  4195. @_typing.overload
  4196. def colorChange(src: UMat, mask: UMat, dst: UMat | None = ..., red_mul: float = ..., green_mul: float = ..., blue_mul: float = ...) -> UMat: ...
  4197. @_typing.overload
  4198. def compare(src1: cv2.typing.MatLike, src2: cv2.typing.MatLike, cmpop: int, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  4199. @_typing.overload
  4200. def compare(src1: UMat, src2: UMat, cmpop: int, dst: UMat | None = ...) -> UMat: ...
  4201. @_typing.overload
  4202. def compareHist(H1: cv2.typing.MatLike, H2: cv2.typing.MatLike, method: int) -> float: ...
  4203. @_typing.overload
  4204. def compareHist(H1: UMat, H2: UMat, method: int) -> float: ...
  4205. @_typing.overload
  4206. def completeSymm(m: cv2.typing.MatLike, lowerToUpper: bool = ...) -> cv2.typing.MatLike: ...
  4207. @_typing.overload
  4208. def completeSymm(m: UMat, lowerToUpper: bool = ...) -> UMat: ...
  4209. @_typing.overload
  4210. def composeRT(rvec1: cv2.typing.MatLike, tvec1: cv2.typing.MatLike, rvec2: cv2.typing.MatLike, tvec2: cv2.typing.MatLike, rvec3: cv2.typing.MatLike | None = ..., tvec3: cv2.typing.MatLike | None = ..., dr3dr1: cv2.typing.MatLike | None = ..., dr3dt1: cv2.typing.MatLike | None = ..., dr3dr2: cv2.typing.MatLike | None = ..., dr3dt2: cv2.typing.MatLike | None = ..., dt3dr1: cv2.typing.MatLike | None = ..., dt3dt1: cv2.typing.MatLike | None = ..., dt3dr2: cv2.typing.MatLike | None = ..., dt3dt2: cv2.typing.MatLike | None = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike]: ...
  4211. @_typing.overload
  4212. def composeRT(rvec1: UMat, tvec1: UMat, rvec2: UMat, tvec2: UMat, rvec3: UMat | None = ..., tvec3: UMat | None = ..., dr3dr1: UMat | None = ..., dr3dt1: UMat | None = ..., dr3dr2: UMat | None = ..., dr3dt2: UMat | None = ..., dt3dr1: UMat | None = ..., dt3dt1: UMat | None = ..., dt3dr2: UMat | None = ..., dt3dt2: UMat | None = ...) -> tuple[UMat, UMat, UMat, UMat, UMat, UMat, UMat, UMat, UMat, UMat]: ...
  4213. @_typing.overload
  4214. def computeCorrespondEpilines(points: cv2.typing.MatLike, whichImage: int, F: cv2.typing.MatLike, lines: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  4215. @_typing.overload
  4216. def computeCorrespondEpilines(points: UMat, whichImage: int, F: UMat, lines: UMat | None = ...) -> UMat: ...
  4217. @_typing.overload
  4218. def computeECC(templateImage: cv2.typing.MatLike, inputImage: cv2.typing.MatLike, inputMask: cv2.typing.MatLike | None = ...) -> float: ...
  4219. @_typing.overload
  4220. def computeECC(templateImage: UMat, inputImage: UMat, inputMask: UMat | None = ...) -> float: ...
  4221. @_typing.overload
  4222. def connectedComponents(image: cv2.typing.MatLike, labels: cv2.typing.MatLike | None = ..., connectivity: int = ..., ltype: int = ...) -> tuple[int, cv2.typing.MatLike]: ...
  4223. @_typing.overload
  4224. def connectedComponents(image: UMat, labels: UMat | None = ..., connectivity: int = ..., ltype: int = ...) -> tuple[int, UMat]: ...
  4225. @_typing.overload
  4226. def connectedComponentsWithAlgorithm(image: cv2.typing.MatLike, connectivity: int, ltype: int, ccltype: int, labels: cv2.typing.MatLike | None = ...) -> tuple[int, cv2.typing.MatLike]: ...
  4227. @_typing.overload
  4228. def connectedComponentsWithAlgorithm(image: UMat, connectivity: int, ltype: int, ccltype: int, labels: UMat | None = ...) -> tuple[int, UMat]: ...
  4229. @_typing.overload
  4230. def connectedComponentsWithStats(image: cv2.typing.MatLike, labels: cv2.typing.MatLike | None = ..., stats: cv2.typing.MatLike | None = ..., centroids: cv2.typing.MatLike | None = ..., connectivity: int = ..., ltype: int = ...) -> tuple[int, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike]: ...
  4231. @_typing.overload
  4232. def connectedComponentsWithStats(image: UMat, labels: UMat | None = ..., stats: UMat | None = ..., centroids: UMat | None = ..., connectivity: int = ..., ltype: int = ...) -> tuple[int, UMat, UMat, UMat]: ...
  4233. @_typing.overload
  4234. def connectedComponentsWithStatsWithAlgorithm(image: cv2.typing.MatLike, connectivity: int, ltype: int, ccltype: int, labels: cv2.typing.MatLike | None = ..., stats: cv2.typing.MatLike | None = ..., centroids: cv2.typing.MatLike | None = ...) -> tuple[int, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike]: ...
  4235. @_typing.overload
  4236. def connectedComponentsWithStatsWithAlgorithm(image: UMat, connectivity: int, ltype: int, ccltype: int, labels: UMat | None = ..., stats: UMat | None = ..., centroids: UMat | None = ...) -> tuple[int, UMat, UMat, UMat]: ...
  4237. @_typing.overload
  4238. def contourArea(contour: cv2.typing.MatLike, oriented: bool = ...) -> float: ...
  4239. @_typing.overload
  4240. def contourArea(contour: UMat, oriented: bool = ...) -> float: ...
  4241. @_typing.overload
  4242. def convertFp16(src: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  4243. @_typing.overload
  4244. def convertFp16(src: UMat, dst: UMat | None = ...) -> UMat: ...
  4245. @_typing.overload
  4246. def convertMaps(map1: cv2.typing.MatLike, map2: cv2.typing.MatLike, dstmap1type: int, dstmap1: cv2.typing.MatLike | None = ..., dstmap2: cv2.typing.MatLike | None = ..., nninterpolation: bool = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike]: ...
  4247. @_typing.overload
  4248. def convertMaps(map1: UMat, map2: UMat, dstmap1type: int, dstmap1: UMat | None = ..., dstmap2: UMat | None = ..., nninterpolation: bool = ...) -> tuple[UMat, UMat]: ...
  4249. @_typing.overload
  4250. def convertPointsFromHomogeneous(src: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  4251. @_typing.overload
  4252. def convertPointsFromHomogeneous(src: UMat, dst: UMat | None = ...) -> UMat: ...
  4253. @_typing.overload
  4254. def convertPointsToHomogeneous(src: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  4255. @_typing.overload
  4256. def convertPointsToHomogeneous(src: UMat, dst: UMat | None = ...) -> UMat: ...
  4257. @_typing.overload
  4258. def convertScaleAbs(src: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ..., alpha: float = ..., beta: float = ...) -> cv2.typing.MatLike: ...
  4259. @_typing.overload
  4260. def convertScaleAbs(src: UMat, dst: UMat | None = ..., alpha: float = ..., beta: float = ...) -> UMat: ...
  4261. @_typing.overload
  4262. def convexHull(points: cv2.typing.MatLike, hull: cv2.typing.MatLike | None = ..., clockwise: bool = ..., returnPoints: bool = ...) -> cv2.typing.MatLike: ...
  4263. @_typing.overload
  4264. def convexHull(points: UMat, hull: UMat | None = ..., clockwise: bool = ..., returnPoints: bool = ...) -> UMat: ...
  4265. @_typing.overload
  4266. def convexityDefects(contour: cv2.typing.MatLike, convexhull: cv2.typing.MatLike, convexityDefects: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  4267. @_typing.overload
  4268. def convexityDefects(contour: UMat, convexhull: UMat, convexityDefects: UMat | None = ...) -> UMat: ...
  4269. @_typing.overload
  4270. def copyMakeBorder(src: cv2.typing.MatLike, top: int, bottom: int, left: int, right: int, borderType: int, dst: cv2.typing.MatLike | None = ..., value: cv2.typing.Scalar = ...) -> cv2.typing.MatLike: ...
  4271. @_typing.overload
  4272. def copyMakeBorder(src: UMat, top: int, bottom: int, left: int, right: int, borderType: int, dst: UMat | None = ..., value: cv2.typing.Scalar = ...) -> UMat: ...
  4273. @_typing.overload
  4274. def copyTo(src: cv2.typing.MatLike, mask: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  4275. @_typing.overload
  4276. def copyTo(src: UMat, mask: UMat, dst: UMat | None = ...) -> UMat: ...
  4277. @_typing.overload
  4278. def cornerEigenValsAndVecs(src: cv2.typing.MatLike, blockSize: int, ksize: int, dst: cv2.typing.MatLike | None = ..., borderType: int = ...) -> cv2.typing.MatLike: ...
  4279. @_typing.overload
  4280. def cornerEigenValsAndVecs(src: UMat, blockSize: int, ksize: int, dst: UMat | None = ..., borderType: int = ...) -> UMat: ...
  4281. @_typing.overload
  4282. def cornerHarris(src: cv2.typing.MatLike, blockSize: int, ksize: int, k: float, dst: cv2.typing.MatLike | None = ..., borderType: int = ...) -> cv2.typing.MatLike: ...
  4283. @_typing.overload
  4284. def cornerHarris(src: UMat, blockSize: int, ksize: int, k: float, dst: UMat | None = ..., borderType: int = ...) -> UMat: ...
  4285. @_typing.overload
  4286. def cornerMinEigenVal(src: cv2.typing.MatLike, blockSize: int, dst: cv2.typing.MatLike | None = ..., ksize: int = ..., borderType: int = ...) -> cv2.typing.MatLike: ...
  4287. @_typing.overload
  4288. def cornerMinEigenVal(src: UMat, blockSize: int, dst: UMat | None = ..., ksize: int = ..., borderType: int = ...) -> UMat: ...
  4289. @_typing.overload
  4290. def cornerSubPix(image: cv2.typing.MatLike, corners: cv2.typing.MatLike, winSize: cv2.typing.Size, zeroZone: cv2.typing.Size, criteria: cv2.typing.TermCriteria) -> cv2.typing.MatLike: ...
  4291. @_typing.overload
  4292. def cornerSubPix(image: UMat, corners: UMat, winSize: cv2.typing.Size, zeroZone: cv2.typing.Size, criteria: cv2.typing.TermCriteria) -> UMat: ...
  4293. @_typing.overload
  4294. def correctMatches(F: cv2.typing.MatLike, points1: cv2.typing.MatLike, points2: cv2.typing.MatLike, newPoints1: cv2.typing.MatLike | None = ..., newPoints2: cv2.typing.MatLike | None = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike]: ...
  4295. @_typing.overload
  4296. def correctMatches(F: UMat, points1: UMat, points2: UMat, newPoints1: UMat | None = ..., newPoints2: UMat | None = ...) -> tuple[UMat, UMat]: ...
  4297. @_typing.overload
  4298. def countNonZero(src: cv2.typing.MatLike) -> int: ...
  4299. @_typing.overload
  4300. def countNonZero(src: UMat) -> int: ...
  4301. def createAffineTransformer(fullAffine: bool) -> AffineTransformer: ...
  4302. def createAlignMTB(max_bits: int = ..., exclude_range: int = ..., cut: bool = ...) -> AlignMTB: ...
  4303. def createBackgroundSubtractorKNN(history: int = ..., dist2Threshold: float = ..., detectShadows: bool = ...) -> BackgroundSubtractorKNN: ...
  4304. def createBackgroundSubtractorMOG2(history: int = ..., varThreshold: float = ..., detectShadows: bool = ...) -> BackgroundSubtractorMOG2: ...
  4305. def createCLAHE(clipLimit: float = ..., tileGridSize: cv2.typing.Size = ...) -> CLAHE: ...
  4306. def createCalibrateDebevec(samples: int = ..., lambda_: float = ..., random: bool = ...) -> CalibrateDebevec: ...
  4307. def createCalibrateRobertson(max_iter: int = ..., threshold: float = ...) -> CalibrateRobertson: ...
  4308. def createChiHistogramCostExtractor(nDummies: int = ..., defaultCost: float = ...) -> HistogramCostExtractor: ...
  4309. def createEMDHistogramCostExtractor(flag: int = ..., nDummies: int = ..., defaultCost: float = ...) -> HistogramCostExtractor: ...
  4310. def createEMDL1HistogramCostExtractor(nDummies: int = ..., defaultCost: float = ...) -> HistogramCostExtractor: ...
  4311. def createGeneralizedHoughBallard() -> GeneralizedHoughBallard: ...
  4312. def createGeneralizedHoughGuil() -> GeneralizedHoughGuil: ...
  4313. @_typing.overload
  4314. def createHanningWindow(winSize: cv2.typing.Size, type: int, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  4315. @_typing.overload
  4316. def createHanningWindow(winSize: cv2.typing.Size, type: int, dst: UMat | None = ...) -> UMat: ...
  4317. def createHausdorffDistanceExtractor(distanceFlag: int = ..., rankProp: float = ...) -> HausdorffDistanceExtractor: ...
  4318. def createLineSegmentDetector(refine: int = ..., scale: float = ..., sigma_scale: float = ..., quant: float = ..., ang_th: float = ..., log_eps: float = ..., density_th: float = ..., n_bins: int = ...) -> LineSegmentDetector: ...
  4319. def createMergeDebevec() -> MergeDebevec: ...
  4320. def createMergeMertens(contrast_weight: float = ..., saturation_weight: float = ..., exposure_weight: float = ...) -> MergeMertens: ...
  4321. def createMergeRobertson() -> MergeRobertson: ...
  4322. def createNormHistogramCostExtractor(flag: int = ..., nDummies: int = ..., defaultCost: float = ...) -> HistogramCostExtractor: ...
  4323. def createShapeContextDistanceExtractor(nAngularBins: int = ..., nRadialBins: int = ..., innerRadius: float = ..., outerRadius: float = ..., iterations: int = ..., comparer: HistogramCostExtractor = ..., transformer: ShapeTransformer = ...) -> ShapeContextDistanceExtractor: ...
  4324. def createThinPlateSplineShapeTransformer(regularizationParameter: float = ...) -> ThinPlateSplineShapeTransformer: ...
  4325. def createTonemap(gamma: float = ...) -> Tonemap: ...
  4326. def createTonemapDrago(gamma: float = ..., saturation: float = ..., bias: float = ...) -> TonemapDrago: ...
  4327. def createTonemapMantiuk(gamma: float = ..., scale: float = ..., saturation: float = ...) -> TonemapMantiuk: ...
  4328. def createTonemapReinhard(gamma: float = ..., intensity: float = ..., light_adapt: float = ..., color_adapt: float = ...) -> TonemapReinhard: ...
  4329. def cubeRoot(val: float) -> float: ...
  4330. def currentUIFramework() -> str: ...
  4331. @_typing.overload
  4332. def cvtColor(src: cv2.typing.MatLike, code: int, dst: cv2.typing.MatLike | None = ..., dstCn: int = ..., hint: AlgorithmHint = ...) -> cv2.typing.MatLike: ...
  4333. @_typing.overload
  4334. def cvtColor(src: UMat, code: int, dst: UMat | None = ..., dstCn: int = ..., hint: AlgorithmHint = ...) -> UMat: ...
  4335. @_typing.overload
  4336. def cvtColorTwoPlane(src1: cv2.typing.MatLike, src2: cv2.typing.MatLike, code: int, dst: cv2.typing.MatLike | None = ..., hint: AlgorithmHint = ...) -> cv2.typing.MatLike: ...
  4337. @_typing.overload
  4338. def cvtColorTwoPlane(src1: UMat, src2: UMat, code: int, dst: UMat | None = ..., hint: AlgorithmHint = ...) -> UMat: ...
  4339. @_typing.overload
  4340. def dct(src: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ..., flags: int = ...) -> cv2.typing.MatLike: ...
  4341. @_typing.overload
  4342. def dct(src: UMat, dst: UMat | None = ..., flags: int = ...) -> UMat: ...
  4343. @_typing.overload
  4344. def decolor(src: cv2.typing.MatLike, grayscale: cv2.typing.MatLike | None = ..., color_boost: cv2.typing.MatLike | None = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike]: ...
  4345. @_typing.overload
  4346. def decolor(src: UMat, grayscale: UMat | None = ..., color_boost: UMat | None = ...) -> tuple[UMat, UMat]: ...
  4347. @_typing.overload
  4348. def decomposeEssentialMat(E: cv2.typing.MatLike, R1: cv2.typing.MatLike | None = ..., R2: cv2.typing.MatLike | None = ..., t: cv2.typing.MatLike | None = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike]: ...
  4349. @_typing.overload
  4350. def decomposeEssentialMat(E: UMat, R1: UMat | None = ..., R2: UMat | None = ..., t: UMat | None = ...) -> tuple[UMat, UMat, UMat]: ...
  4351. @_typing.overload
  4352. def decomposeHomographyMat(H: cv2.typing.MatLike, K: cv2.typing.MatLike, rotations: _typing.Sequence[cv2.typing.MatLike] | None = ..., translations: _typing.Sequence[cv2.typing.MatLike] | None = ..., normals: _typing.Sequence[cv2.typing.MatLike] | None = ...) -> tuple[int, _typing.Sequence[cv2.typing.MatLike], _typing.Sequence[cv2.typing.MatLike], _typing.Sequence[cv2.typing.MatLike]]: ...
  4353. @_typing.overload
  4354. def decomposeHomographyMat(H: UMat, K: UMat, rotations: _typing.Sequence[UMat] | None = ..., translations: _typing.Sequence[UMat] | None = ..., normals: _typing.Sequence[UMat] | None = ...) -> tuple[int, _typing.Sequence[UMat], _typing.Sequence[UMat], _typing.Sequence[UMat]]: ...
  4355. @_typing.overload
  4356. def decomposeProjectionMatrix(projMatrix: cv2.typing.MatLike, cameraMatrix: cv2.typing.MatLike | None = ..., rotMatrix: cv2.typing.MatLike | None = ..., transVect: cv2.typing.MatLike | None = ..., rotMatrixX: cv2.typing.MatLike | None = ..., rotMatrixY: cv2.typing.MatLike | None = ..., rotMatrixZ: cv2.typing.MatLike | None = ..., eulerAngles: cv2.typing.MatLike | None = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike]: ...
  4357. @_typing.overload
  4358. def decomposeProjectionMatrix(projMatrix: UMat, cameraMatrix: UMat | None = ..., rotMatrix: UMat | None = ..., transVect: UMat | None = ..., rotMatrixX: UMat | None = ..., rotMatrixY: UMat | None = ..., rotMatrixZ: UMat | None = ..., eulerAngles: UMat | None = ...) -> tuple[UMat, UMat, UMat, UMat, UMat, UMat, UMat]: ...
  4359. @_typing.overload
  4360. def demosaicing(src: cv2.typing.MatLike, code: int, dst: cv2.typing.MatLike | None = ..., dstCn: int = ...) -> cv2.typing.MatLike: ...
  4361. @_typing.overload
  4362. def demosaicing(src: UMat, code: int, dst: UMat | None = ..., dstCn: int = ...) -> UMat: ...
  4363. def denoise_TVL1(observations: _typing.Sequence[cv2.typing.MatLike], result: cv2.typing.MatLike, lambda_: float = ..., niters: int = ...) -> None: ...
  4364. def destroyAllWindows() -> None: ...
  4365. def destroyWindow(winname: str) -> None: ...
  4366. @_typing.overload
  4367. def detailEnhance(src: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ..., sigma_s: float = ..., sigma_r: float = ...) -> cv2.typing.MatLike: ...
  4368. @_typing.overload
  4369. def detailEnhance(src: UMat, dst: UMat | None = ..., sigma_s: float = ..., sigma_r: float = ...) -> UMat: ...
  4370. @_typing.overload
  4371. def determinant(mtx: cv2.typing.MatLike) -> float: ...
  4372. @_typing.overload
  4373. def determinant(mtx: UMat) -> float: ...
  4374. @_typing.overload
  4375. def dft(src: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ..., flags: int = ..., nonzeroRows: int = ...) -> cv2.typing.MatLike: ...
  4376. @_typing.overload
  4377. def dft(src: UMat, dst: UMat | None = ..., flags: int = ..., nonzeroRows: int = ...) -> UMat: ...
  4378. @_typing.overload
  4379. def dilate(src: cv2.typing.MatLike, kernel: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ..., anchor: cv2.typing.Point = ..., iterations: int = ..., borderType: int = ..., borderValue: cv2.typing.Scalar = ...) -> cv2.typing.MatLike: ...
  4380. @_typing.overload
  4381. def dilate(src: UMat, kernel: UMat, dst: UMat | None = ..., anchor: cv2.typing.Point = ..., iterations: int = ..., borderType: int = ..., borderValue: cv2.typing.Scalar = ...) -> UMat: ...
  4382. def displayOverlay(winname: str, text: str, delayms: int = ...) -> None: ...
  4383. def displayStatusBar(winname: str, text: str, delayms: int = ...) -> None: ...
  4384. @_typing.overload
  4385. def distanceTransform(src: cv2.typing.MatLike, distanceType: int, maskSize: int, dst: cv2.typing.MatLike | None = ..., dstType: int = ...) -> cv2.typing.MatLike: ...
  4386. @_typing.overload
  4387. def distanceTransform(src: UMat, distanceType: int, maskSize: int, dst: UMat | None = ..., dstType: int = ...) -> UMat: ...
  4388. @_typing.overload
  4389. def distanceTransformWithLabels(src: cv2.typing.MatLike, distanceType: int, maskSize: int, dst: cv2.typing.MatLike | None = ..., labels: cv2.typing.MatLike | None = ..., labelType: int = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike]: ...
  4390. @_typing.overload
  4391. def distanceTransformWithLabels(src: UMat, distanceType: int, maskSize: int, dst: UMat | None = ..., labels: UMat | None = ..., labelType: int = ...) -> tuple[UMat, UMat]: ...
  4392. @_typing.overload
  4393. def divSpectrums(a: cv2.typing.MatLike, b: cv2.typing.MatLike, flags: int, c: cv2.typing.MatLike | None = ..., conjB: bool = ...) -> cv2.typing.MatLike: ...
  4394. @_typing.overload
  4395. def divSpectrums(a: UMat, b: UMat, flags: int, c: UMat | None = ..., conjB: bool = ...) -> UMat: ...
  4396. @_typing.overload
  4397. def divide(src1: cv2.typing.MatLike, src2: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ..., scale: float = ..., dtype: int = ...) -> cv2.typing.MatLike: ...
  4398. @_typing.overload
  4399. def divide(src1: UMat, src2: UMat, dst: UMat | None = ..., scale: float = ..., dtype: int = ...) -> UMat: ...
  4400. @_typing.overload
  4401. def divide(scale: float, src2: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ..., dtype: int = ...) -> cv2.typing.MatLike: ...
  4402. @_typing.overload
  4403. def divide(scale: float, src2: UMat, dst: UMat | None = ..., dtype: int = ...) -> UMat: ...
  4404. @_typing.overload
  4405. def drawChessboardCorners(image: cv2.typing.MatLike, patternSize: cv2.typing.Size, corners: cv2.typing.MatLike, patternWasFound: bool) -> cv2.typing.MatLike: ...
  4406. @_typing.overload
  4407. def drawChessboardCorners(image: UMat, patternSize: cv2.typing.Size, corners: UMat, patternWasFound: bool) -> UMat: ...
  4408. @_typing.overload
  4409. def drawContours(image: cv2.typing.MatLike, contours: _typing.Sequence[cv2.typing.MatLike], contourIdx: int, color: cv2.typing.Scalar, thickness: int = ..., lineType: int = ..., hierarchy: cv2.typing.MatLike | None = ..., maxLevel: int = ..., offset: cv2.typing.Point = ...) -> cv2.typing.MatLike: ...
  4410. @_typing.overload
  4411. def drawContours(image: UMat, contours: _typing.Sequence[UMat], contourIdx: int, color: cv2.typing.Scalar, thickness: int = ..., lineType: int = ..., hierarchy: UMat | None = ..., maxLevel: int = ..., offset: cv2.typing.Point = ...) -> UMat: ...
  4412. @_typing.overload
  4413. def drawFrameAxes(image: cv2.typing.MatLike, cameraMatrix: cv2.typing.MatLike, distCoeffs: cv2.typing.MatLike | None, rvec: cv2.typing.MatLike, tvec: cv2.typing.MatLike, length: float, thickness: int = ...) -> cv2.typing.MatLike: ...
  4414. @_typing.overload
  4415. def drawFrameAxes(image: UMat, cameraMatrix: UMat, distCoeffs: UMat | None, rvec: UMat, tvec: UMat, length: float, thickness: int = ...) -> UMat: ...
  4416. @_typing.overload
  4417. def drawKeypoints(image: cv2.typing.MatLike, keypoints: _typing.Sequence[KeyPoint], outImage: cv2.typing.MatLike, color: cv2.typing.Scalar = ..., flags: DrawMatchesFlags = ...) -> cv2.typing.MatLike: ...
  4418. @_typing.overload
  4419. def drawKeypoints(image: UMat, keypoints: _typing.Sequence[KeyPoint], outImage: UMat, color: cv2.typing.Scalar = ..., flags: DrawMatchesFlags = ...) -> UMat: ...
  4420. @_typing.overload
  4421. def drawMarker(img: cv2.typing.MatLike, position: cv2.typing.Point, color: cv2.typing.Scalar, markerType: int = ..., markerSize: int = ..., thickness: int = ..., line_type: int = ...) -> cv2.typing.MatLike: ...
  4422. @_typing.overload
  4423. def drawMarker(img: UMat, position: cv2.typing.Point, color: cv2.typing.Scalar, markerType: int = ..., markerSize: int = ..., thickness: int = ..., line_type: int = ...) -> UMat: ...
  4424. @_typing.overload
  4425. def drawMatches(img1: cv2.typing.MatLike, keypoints1: _typing.Sequence[KeyPoint], img2: cv2.typing.MatLike, keypoints2: _typing.Sequence[KeyPoint], matches1to2: _typing.Sequence[DMatch], outImg: cv2.typing.MatLike, matchColor: cv2.typing.Scalar = ..., singlePointColor: cv2.typing.Scalar = ..., matchesMask: _typing.Sequence[str] = ..., flags: DrawMatchesFlags = ...) -> cv2.typing.MatLike: ...
  4426. @_typing.overload
  4427. def drawMatches(img1: UMat, keypoints1: _typing.Sequence[KeyPoint], img2: UMat, keypoints2: _typing.Sequence[KeyPoint], matches1to2: _typing.Sequence[DMatch], outImg: UMat, matchColor: cv2.typing.Scalar = ..., singlePointColor: cv2.typing.Scalar = ..., matchesMask: _typing.Sequence[str] = ..., flags: DrawMatchesFlags = ...) -> UMat: ...
  4428. @_typing.overload
  4429. def drawMatches(img1: cv2.typing.MatLike, keypoints1: _typing.Sequence[KeyPoint], img2: cv2.typing.MatLike, keypoints2: _typing.Sequence[KeyPoint], matches1to2: _typing.Sequence[DMatch], outImg: cv2.typing.MatLike, matchesThickness: int, matchColor: cv2.typing.Scalar = ..., singlePointColor: cv2.typing.Scalar = ..., matchesMask: _typing.Sequence[str] = ..., flags: DrawMatchesFlags = ...) -> cv2.typing.MatLike: ...
  4430. @_typing.overload
  4431. def drawMatches(img1: UMat, keypoints1: _typing.Sequence[KeyPoint], img2: UMat, keypoints2: _typing.Sequence[KeyPoint], matches1to2: _typing.Sequence[DMatch], outImg: UMat, matchesThickness: int, matchColor: cv2.typing.Scalar = ..., singlePointColor: cv2.typing.Scalar = ..., matchesMask: _typing.Sequence[str] = ..., flags: DrawMatchesFlags = ...) -> UMat: ...
  4432. @_typing.overload
  4433. def drawMatchesKnn(img1: cv2.typing.MatLike, keypoints1: _typing.Sequence[KeyPoint], img2: cv2.typing.MatLike, keypoints2: _typing.Sequence[KeyPoint], matches1to2: _typing.Sequence[_typing.Sequence[DMatch]], outImg: cv2.typing.MatLike, matchColor: cv2.typing.Scalar = ..., singlePointColor: cv2.typing.Scalar = ..., matchesMask: _typing.Sequence[_typing.Sequence[str]] = ..., flags: DrawMatchesFlags = ...) -> cv2.typing.MatLike: ...
  4434. @_typing.overload
  4435. def drawMatchesKnn(img1: UMat, keypoints1: _typing.Sequence[KeyPoint], img2: UMat, keypoints2: _typing.Sequence[KeyPoint], matches1to2: _typing.Sequence[_typing.Sequence[DMatch]], outImg: UMat, matchColor: cv2.typing.Scalar = ..., singlePointColor: cv2.typing.Scalar = ..., matchesMask: _typing.Sequence[_typing.Sequence[str]] = ..., flags: DrawMatchesFlags = ...) -> UMat: ...
  4436. @_typing.overload
  4437. def edgePreservingFilter(src: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ..., flags: int = ..., sigma_s: float = ..., sigma_r: float = ...) -> cv2.typing.MatLike: ...
  4438. @_typing.overload
  4439. def edgePreservingFilter(src: UMat, dst: UMat | None = ..., flags: int = ..., sigma_s: float = ..., sigma_r: float = ...) -> UMat: ...
  4440. @_typing.overload
  4441. def eigen(src: cv2.typing.MatLike, eigenvalues: cv2.typing.MatLike | None = ..., eigenvectors: cv2.typing.MatLike | None = ...) -> tuple[bool, cv2.typing.MatLike, cv2.typing.MatLike]: ...
  4442. @_typing.overload
  4443. def eigen(src: UMat, eigenvalues: UMat | None = ..., eigenvectors: UMat | None = ...) -> tuple[bool, UMat, UMat]: ...
  4444. @_typing.overload
  4445. def eigenNonSymmetric(src: cv2.typing.MatLike, eigenvalues: cv2.typing.MatLike | None = ..., eigenvectors: cv2.typing.MatLike | None = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike]: ...
  4446. @_typing.overload
  4447. def eigenNonSymmetric(src: UMat, eigenvalues: UMat | None = ..., eigenvectors: UMat | None = ...) -> tuple[UMat, UMat]: ...
  4448. @_typing.overload
  4449. def ellipse(img: cv2.typing.MatLike, center: cv2.typing.Point, axes: cv2.typing.Size, angle: float, startAngle: float, endAngle: float, color: cv2.typing.Scalar, thickness: int = ..., lineType: int = ..., shift: int = ...) -> cv2.typing.MatLike: ...
  4450. @_typing.overload
  4451. def ellipse(img: UMat, center: cv2.typing.Point, axes: cv2.typing.Size, angle: float, startAngle: float, endAngle: float, color: cv2.typing.Scalar, thickness: int = ..., lineType: int = ..., shift: int = ...) -> UMat: ...
  4452. @_typing.overload
  4453. def ellipse(img: cv2.typing.MatLike, box: cv2.typing.RotatedRect, color: cv2.typing.Scalar, thickness: int = ..., lineType: int = ...) -> cv2.typing.MatLike: ...
  4454. @_typing.overload
  4455. def ellipse(img: UMat, box: cv2.typing.RotatedRect, color: cv2.typing.Scalar, thickness: int = ..., lineType: int = ...) -> UMat: ...
  4456. def ellipse2Poly(center: cv2.typing.Point, axes: cv2.typing.Size, angle: int, arcStart: int, arcEnd: int, delta: int) -> _typing.Sequence[cv2.typing.Point]: ...
  4457. def empty_array_desc() -> GArrayDesc: ...
  4458. def empty_gopaque_desc() -> GOpaqueDesc: ...
  4459. def empty_scalar_desc() -> GScalarDesc: ...
  4460. @_typing.overload
  4461. def equalizeHist(src: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  4462. @_typing.overload
  4463. def equalizeHist(src: UMat, dst: UMat | None = ...) -> UMat: ...
  4464. @_typing.overload
  4465. def erode(src: cv2.typing.MatLike, kernel: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ..., anchor: cv2.typing.Point = ..., iterations: int = ..., borderType: int = ..., borderValue: cv2.typing.Scalar = ...) -> cv2.typing.MatLike: ...
  4466. @_typing.overload
  4467. def erode(src: UMat, kernel: UMat, dst: UMat | None = ..., anchor: cv2.typing.Point = ..., iterations: int = ..., borderType: int = ..., borderValue: cv2.typing.Scalar = ...) -> UMat: ...
  4468. @_typing.overload
  4469. def estimateAffine2D(from_: cv2.typing.MatLike, to: cv2.typing.MatLike, inliers: cv2.typing.MatLike | None = ..., method: int = ..., ransacReprojThreshold: float = ..., maxIters: int = ..., confidence: float = ..., refineIters: int = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike]: ...
  4470. @_typing.overload
  4471. def estimateAffine2D(from_: UMat, to: UMat, inliers: UMat | None = ..., method: int = ..., ransacReprojThreshold: float = ..., maxIters: int = ..., confidence: float = ..., refineIters: int = ...) -> tuple[cv2.typing.MatLike, UMat]: ...
  4472. @_typing.overload
  4473. def estimateAffine2D(pts1: cv2.typing.MatLike, pts2: cv2.typing.MatLike, params: UsacParams, inliers: cv2.typing.MatLike | None = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike]: ...
  4474. @_typing.overload
  4475. def estimateAffine2D(pts1: UMat, pts2: UMat, params: UsacParams, inliers: UMat | None = ...) -> tuple[cv2.typing.MatLike, UMat]: ...
  4476. @_typing.overload
  4477. def estimateAffine3D(src: cv2.typing.MatLike, dst: cv2.typing.MatLike, out: cv2.typing.MatLike | None = ..., inliers: cv2.typing.MatLike | None = ..., ransacThreshold: float = ..., confidence: float = ...) -> tuple[int, cv2.typing.MatLike, cv2.typing.MatLike]: ...
  4478. @_typing.overload
  4479. def estimateAffine3D(src: UMat, dst: UMat, out: UMat | None = ..., inliers: UMat | None = ..., ransacThreshold: float = ..., confidence: float = ...) -> tuple[int, UMat, UMat]: ...
  4480. @_typing.overload
  4481. def estimateAffine3D(src: cv2.typing.MatLike, dst: cv2.typing.MatLike, force_rotation: bool = ...) -> tuple[cv2.typing.MatLike, float]: ...
  4482. @_typing.overload
  4483. def estimateAffine3D(src: UMat, dst: UMat, force_rotation: bool = ...) -> tuple[cv2.typing.MatLike, float]: ...
  4484. @_typing.overload
  4485. def estimateAffinePartial2D(from_: cv2.typing.MatLike, to: cv2.typing.MatLike, inliers: cv2.typing.MatLike | None = ..., method: int = ..., ransacReprojThreshold: float = ..., maxIters: int = ..., confidence: float = ..., refineIters: int = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike]: ...
  4486. @_typing.overload
  4487. def estimateAffinePartial2D(from_: UMat, to: UMat, inliers: UMat | None = ..., method: int = ..., ransacReprojThreshold: float = ..., maxIters: int = ..., confidence: float = ..., refineIters: int = ...) -> tuple[cv2.typing.MatLike, UMat]: ...
  4488. @_typing.overload
  4489. def estimateChessboardSharpness(image: cv2.typing.MatLike, patternSize: cv2.typing.Size, corners: cv2.typing.MatLike, rise_distance: float = ..., vertical: bool = ..., sharpness: cv2.typing.MatLike | None = ...) -> tuple[cv2.typing.Scalar, cv2.typing.MatLike]: ...
  4490. @_typing.overload
  4491. def estimateChessboardSharpness(image: UMat, patternSize: cv2.typing.Size, corners: UMat, rise_distance: float = ..., vertical: bool = ..., sharpness: UMat | None = ...) -> tuple[cv2.typing.Scalar, UMat]: ...
  4492. @_typing.overload
  4493. def estimateTranslation2D(from_: cv2.typing.MatLike, to: cv2.typing.MatLike, inliers: cv2.typing.MatLike | None = ..., method: int = ..., ransacReprojThreshold: float = ..., maxIters: int = ..., confidence: float = ..., refineIters: int = ...) -> tuple[cv2.typing.Vec2d, cv2.typing.MatLike]: ...
  4494. @_typing.overload
  4495. def estimateTranslation2D(from_: UMat, to: UMat, inliers: UMat | None = ..., method: int = ..., ransacReprojThreshold: float = ..., maxIters: int = ..., confidence: float = ..., refineIters: int = ...) -> tuple[cv2.typing.Vec2d, UMat]: ...
  4496. @_typing.overload
  4497. def estimateTranslation3D(src: cv2.typing.MatLike, dst: cv2.typing.MatLike, out: cv2.typing.MatLike | None = ..., inliers: cv2.typing.MatLike | None = ..., ransacThreshold: float = ..., confidence: float = ...) -> tuple[int, cv2.typing.MatLike, cv2.typing.MatLike]: ...
  4498. @_typing.overload
  4499. def estimateTranslation3D(src: UMat, dst: UMat, out: UMat | None = ..., inliers: UMat | None = ..., ransacThreshold: float = ..., confidence: float = ...) -> tuple[int, UMat, UMat]: ...
  4500. @_typing.overload
  4501. def exp(src: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  4502. @_typing.overload
  4503. def exp(src: UMat, dst: UMat | None = ...) -> UMat: ...
  4504. @_typing.overload
  4505. def extractChannel(src: cv2.typing.MatLike, coi: int, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  4506. @_typing.overload
  4507. def extractChannel(src: UMat, coi: int, dst: UMat | None = ...) -> UMat: ...
  4508. def fastAtan2(y: float, x: float) -> float: ...
  4509. @_typing.overload
  4510. def fastNlMeansDenoising(src: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ..., h: float = ..., templateWindowSize: int = ..., searchWindowSize: int = ...) -> cv2.typing.MatLike: ...
  4511. @_typing.overload
  4512. def fastNlMeansDenoising(src: UMat, dst: UMat | None = ..., h: float = ..., templateWindowSize: int = ..., searchWindowSize: int = ...) -> UMat: ...
  4513. @_typing.overload
  4514. def fastNlMeansDenoising(src: cv2.typing.MatLike, h: _typing.Sequence[float], dst: cv2.typing.MatLike | None = ..., templateWindowSize: int = ..., searchWindowSize: int = ..., normType: int = ...) -> cv2.typing.MatLike: ...
  4515. @_typing.overload
  4516. def fastNlMeansDenoising(src: UMat, h: _typing.Sequence[float], dst: UMat | None = ..., templateWindowSize: int = ..., searchWindowSize: int = ..., normType: int = ...) -> UMat: ...
  4517. @_typing.overload
  4518. def fastNlMeansDenoisingColored(src: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ..., h: float = ..., hColor: float = ..., templateWindowSize: int = ..., searchWindowSize: int = ...) -> cv2.typing.MatLike: ...
  4519. @_typing.overload
  4520. def fastNlMeansDenoisingColored(src: UMat, dst: UMat | None = ..., h: float = ..., hColor: float = ..., templateWindowSize: int = ..., searchWindowSize: int = ...) -> UMat: ...
  4521. @_typing.overload
  4522. def fastNlMeansDenoisingColoredMulti(srcImgs: _typing.Sequence[cv2.typing.MatLike], imgToDenoiseIndex: int, temporalWindowSize: int, dst: cv2.typing.MatLike | None = ..., h: float = ..., hColor: float = ..., templateWindowSize: int = ..., searchWindowSize: int = ...) -> cv2.typing.MatLike: ...
  4523. @_typing.overload
  4524. def fastNlMeansDenoisingColoredMulti(srcImgs: _typing.Sequence[UMat], imgToDenoiseIndex: int, temporalWindowSize: int, dst: UMat | None = ..., h: float = ..., hColor: float = ..., templateWindowSize: int = ..., searchWindowSize: int = ...) -> UMat: ...
  4525. @_typing.overload
  4526. def fastNlMeansDenoisingMulti(srcImgs: _typing.Sequence[cv2.typing.MatLike], imgToDenoiseIndex: int, temporalWindowSize: int, dst: cv2.typing.MatLike | None = ..., h: float = ..., templateWindowSize: int = ..., searchWindowSize: int = ...) -> cv2.typing.MatLike: ...
  4527. @_typing.overload
  4528. def fastNlMeansDenoisingMulti(srcImgs: _typing.Sequence[UMat], imgToDenoiseIndex: int, temporalWindowSize: int, dst: UMat | None = ..., h: float = ..., templateWindowSize: int = ..., searchWindowSize: int = ...) -> UMat: ...
  4529. @_typing.overload
  4530. def fastNlMeansDenoisingMulti(srcImgs: _typing.Sequence[cv2.typing.MatLike], imgToDenoiseIndex: int, temporalWindowSize: int, h: _typing.Sequence[float], dst: cv2.typing.MatLike | None = ..., templateWindowSize: int = ..., searchWindowSize: int = ..., normType: int = ...) -> cv2.typing.MatLike: ...
  4531. @_typing.overload
  4532. def fastNlMeansDenoisingMulti(srcImgs: _typing.Sequence[UMat], imgToDenoiseIndex: int, temporalWindowSize: int, h: _typing.Sequence[float], dst: UMat | None = ..., templateWindowSize: int = ..., searchWindowSize: int = ..., normType: int = ...) -> UMat: ...
  4533. @_typing.overload
  4534. def fillConvexPoly(img: cv2.typing.MatLike, points: cv2.typing.MatLike, color: cv2.typing.Scalar, lineType: int = ..., shift: int = ...) -> cv2.typing.MatLike: ...
  4535. @_typing.overload
  4536. def fillConvexPoly(img: UMat, points: UMat, color: cv2.typing.Scalar, lineType: int = ..., shift: int = ...) -> UMat: ...
  4537. @_typing.overload
  4538. def fillPoly(img: cv2.typing.MatLike, pts: _typing.Sequence[cv2.typing.MatLike], color: cv2.typing.Scalar, lineType: int = ..., shift: int = ..., offset: cv2.typing.Point = ...) -> cv2.typing.MatLike: ...
  4539. @_typing.overload
  4540. def fillPoly(img: UMat, pts: _typing.Sequence[UMat], color: cv2.typing.Scalar, lineType: int = ..., shift: int = ..., offset: cv2.typing.Point = ...) -> UMat: ...
  4541. @_typing.overload
  4542. def filter2D(src: cv2.typing.MatLike, ddepth: int, kernel: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ..., anchor: cv2.typing.Point = ..., delta: float = ..., borderType: int = ...) -> cv2.typing.MatLike: ...
  4543. @_typing.overload
  4544. def filter2D(src: UMat, ddepth: int, kernel: UMat, dst: UMat | None = ..., anchor: cv2.typing.Point = ..., delta: float = ..., borderType: int = ...) -> UMat: ...
  4545. @_typing.overload
  4546. def filterHomographyDecompByVisibleRefpoints(rotations: _typing.Sequence[cv2.typing.MatLike], normals: _typing.Sequence[cv2.typing.MatLike], beforePoints: cv2.typing.MatLike, afterPoints: cv2.typing.MatLike, possibleSolutions: cv2.typing.MatLike | None = ..., pointsMask: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  4547. @_typing.overload
  4548. def filterHomographyDecompByVisibleRefpoints(rotations: _typing.Sequence[UMat], normals: _typing.Sequence[UMat], beforePoints: UMat, afterPoints: UMat, possibleSolutions: UMat | None = ..., pointsMask: UMat | None = ...) -> UMat: ...
  4549. @_typing.overload
  4550. def filterSpeckles(img: cv2.typing.MatLike, newVal: float, maxSpeckleSize: int, maxDiff: float, buf: cv2.typing.MatLike | None = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike]: ...
  4551. @_typing.overload
  4552. def filterSpeckles(img: UMat, newVal: float, maxSpeckleSize: int, maxDiff: float, buf: UMat | None = ...) -> tuple[UMat, UMat]: ...
  4553. @_typing.overload
  4554. def find4QuadCornerSubpix(img: cv2.typing.MatLike, corners: cv2.typing.MatLike, region_size: cv2.typing.Size) -> tuple[bool, cv2.typing.MatLike]: ...
  4555. @_typing.overload
  4556. def find4QuadCornerSubpix(img: UMat, corners: UMat, region_size: cv2.typing.Size) -> tuple[bool, UMat]: ...
  4557. @_typing.overload
  4558. def findChessboardCorners(image: cv2.typing.MatLike, patternSize: cv2.typing.Size, corners: cv2.typing.MatLike | None = ..., flags: int = ...) -> tuple[bool, cv2.typing.MatLike]: ...
  4559. @_typing.overload
  4560. def findChessboardCorners(image: UMat, patternSize: cv2.typing.Size, corners: UMat | None = ..., flags: int = ...) -> tuple[bool, UMat]: ...
  4561. @_typing.overload
  4562. def findChessboardCornersSB(image: cv2.typing.MatLike, patternSize: cv2.typing.Size, corners: cv2.typing.MatLike | None = ..., flags: int = ...) -> tuple[bool, cv2.typing.MatLike]: ...
  4563. @_typing.overload
  4564. def findChessboardCornersSB(image: UMat, patternSize: cv2.typing.Size, corners: UMat | None = ..., flags: int = ...) -> tuple[bool, UMat]: ...
  4565. @_typing.overload
  4566. def findChessboardCornersSBWithMeta(image: cv2.typing.MatLike, patternSize: cv2.typing.Size, flags: int, corners: cv2.typing.MatLike | None = ..., meta: cv2.typing.MatLike | None = ...) -> tuple[bool, cv2.typing.MatLike, cv2.typing.MatLike]: ...
  4567. @_typing.overload
  4568. def findChessboardCornersSBWithMeta(image: UMat, patternSize: cv2.typing.Size, flags: int, corners: UMat | None = ..., meta: UMat | None = ...) -> tuple[bool, UMat, UMat]: ...
  4569. @_typing.overload
  4570. def findCirclesGrid(image: cv2.typing.MatLike, patternSize: cv2.typing.Size, flags: int, blobDetector: cv2.typing.FeatureDetector, parameters: CirclesGridFinderParameters, centers: cv2.typing.MatLike | None = ...) -> tuple[bool, cv2.typing.MatLike]: ...
  4571. @_typing.overload
  4572. def findCirclesGrid(image: UMat, patternSize: cv2.typing.Size, flags: int, blobDetector: cv2.typing.FeatureDetector, parameters: CirclesGridFinderParameters, centers: UMat | None = ...) -> tuple[bool, UMat]: ...
  4573. @_typing.overload
  4574. def findCirclesGrid(image: cv2.typing.MatLike, patternSize: cv2.typing.Size, centers: cv2.typing.MatLike | None = ..., flags: int = ..., blobDetector: cv2.typing.FeatureDetector = ...) -> tuple[bool, cv2.typing.MatLike]: ...
  4575. @_typing.overload
  4576. def findCirclesGrid(image: UMat, patternSize: cv2.typing.Size, centers: UMat | None = ..., flags: int = ..., blobDetector: cv2.typing.FeatureDetector = ...) -> tuple[bool, UMat]: ...
  4577. @_typing.overload
  4578. def findContours(image: cv2.typing.MatLike, mode: int, method: int, contours: _typing.Sequence[cv2.typing.MatLike] | None = ..., hierarchy: cv2.typing.MatLike | None = ..., offset: cv2.typing.Point = ...) -> tuple[_typing.Sequence[cv2.typing.MatLike], cv2.typing.MatLike]: ...
  4579. @_typing.overload
  4580. def findContours(image: UMat, mode: int, method: int, contours: _typing.Sequence[UMat] | None = ..., hierarchy: UMat | None = ..., offset: cv2.typing.Point = ...) -> tuple[_typing.Sequence[UMat], UMat]: ...
  4581. @_typing.overload
  4582. def findContoursLinkRuns(image: cv2.typing.MatLike, contours: _typing.Sequence[cv2.typing.MatLike] | None = ..., hierarchy: cv2.typing.MatLike | None = ...) -> tuple[_typing.Sequence[cv2.typing.MatLike], cv2.typing.MatLike]: ...
  4583. @_typing.overload
  4584. def findContoursLinkRuns(image: UMat, contours: _typing.Sequence[UMat] | None = ..., hierarchy: UMat | None = ...) -> tuple[_typing.Sequence[UMat], UMat]: ...
  4585. @_typing.overload
  4586. def findContoursLinkRuns(image: cv2.typing.MatLike, contours: _typing.Sequence[cv2.typing.MatLike] | None = ...) -> _typing.Sequence[cv2.typing.MatLike]: ...
  4587. @_typing.overload
  4588. def findContoursLinkRuns(image: UMat, contours: _typing.Sequence[UMat] | None = ...) -> _typing.Sequence[UMat]: ...
  4589. @_typing.overload
  4590. def findEssentialMat(points1: cv2.typing.MatLike, points2: cv2.typing.MatLike, cameraMatrix: cv2.typing.MatLike, method: int = ..., prob: float = ..., threshold: float = ..., maxIters: int = ..., mask: cv2.typing.MatLike | None = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike]: ...
  4591. @_typing.overload
  4592. def findEssentialMat(points1: UMat, points2: UMat, cameraMatrix: UMat, method: int = ..., prob: float = ..., threshold: float = ..., maxIters: int = ..., mask: UMat | None = ...) -> tuple[cv2.typing.MatLike, UMat]: ...
  4593. @_typing.overload
  4594. def findEssentialMat(points1: cv2.typing.MatLike, points2: cv2.typing.MatLike, focal: float = ..., pp: cv2.typing.Point2d = ..., method: int = ..., prob: float = ..., threshold: float = ..., maxIters: int = ..., mask: cv2.typing.MatLike | None = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike]: ...
  4595. @_typing.overload
  4596. def findEssentialMat(points1: UMat, points2: UMat, focal: float = ..., pp: cv2.typing.Point2d = ..., method: int = ..., prob: float = ..., threshold: float = ..., maxIters: int = ..., mask: UMat | None = ...) -> tuple[cv2.typing.MatLike, UMat]: ...
  4597. @_typing.overload
  4598. def findEssentialMat(points1: cv2.typing.MatLike, points2: cv2.typing.MatLike, cameraMatrix1: cv2.typing.MatLike, distCoeffs1: cv2.typing.MatLike | None, cameraMatrix2: cv2.typing.MatLike, distCoeffs2: cv2.typing.MatLike | None, method: int = ..., prob: float = ..., threshold: float = ..., mask: cv2.typing.MatLike | None = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike]: ...
  4599. @_typing.overload
  4600. def findEssentialMat(points1: UMat, points2: UMat, cameraMatrix1: UMat, distCoeffs1: UMat | None, cameraMatrix2: UMat, distCoeffs2: UMat | None, method: int = ..., prob: float = ..., threshold: float = ..., mask: UMat | None = ...) -> tuple[cv2.typing.MatLike, UMat]: ...
  4601. @_typing.overload
  4602. def findEssentialMat(points1: cv2.typing.MatLike, points2: cv2.typing.MatLike, cameraMatrix1: cv2.typing.MatLike, cameraMatrix2: cv2.typing.MatLike, dist_coeff1: cv2.typing.MatLike | None, dist_coeff2: cv2.typing.MatLike | None, params: UsacParams, mask: cv2.typing.MatLike | None = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike]: ...
  4603. @_typing.overload
  4604. def findEssentialMat(points1: UMat, points2: UMat, cameraMatrix1: UMat, cameraMatrix2: UMat, dist_coeff1: UMat | None, dist_coeff2: UMat | None, params: UsacParams, mask: UMat | None = ...) -> tuple[cv2.typing.MatLike, UMat]: ...
  4605. @_typing.overload
  4606. def findFundamentalMat(points1: cv2.typing.MatLike, points2: cv2.typing.MatLike, method: int, ransacReprojThreshold: float, confidence: float, maxIters: int, mask: cv2.typing.MatLike | None = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike]: ...
  4607. @_typing.overload
  4608. def findFundamentalMat(points1: UMat, points2: UMat, method: int, ransacReprojThreshold: float, confidence: float, maxIters: int, mask: UMat | None = ...) -> tuple[cv2.typing.MatLike, UMat]: ...
  4609. @_typing.overload
  4610. def findFundamentalMat(points1: cv2.typing.MatLike, points2: cv2.typing.MatLike, method: int = ..., ransacReprojThreshold: float = ..., confidence: float = ..., mask: cv2.typing.MatLike | None = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike]: ...
  4611. @_typing.overload
  4612. def findFundamentalMat(points1: UMat, points2: UMat, method: int = ..., ransacReprojThreshold: float = ..., confidence: float = ..., mask: UMat | None = ...) -> tuple[cv2.typing.MatLike, UMat]: ...
  4613. @_typing.overload
  4614. def findFundamentalMat(points1: cv2.typing.MatLike, points2: cv2.typing.MatLike, params: UsacParams, mask: cv2.typing.MatLike | None = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike]: ...
  4615. @_typing.overload
  4616. def findFundamentalMat(points1: UMat, points2: UMat, params: UsacParams, mask: UMat | None = ...) -> tuple[cv2.typing.MatLike, UMat]: ...
  4617. @_typing.overload
  4618. def findHomography(srcPoints: cv2.typing.MatLike, dstPoints: cv2.typing.MatLike, method: int = ..., ransacReprojThreshold: float = ..., mask: cv2.typing.MatLike | None = ..., maxIters: int = ..., confidence: float = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike]: ...
  4619. @_typing.overload
  4620. def findHomography(srcPoints: UMat, dstPoints: UMat, method: int = ..., ransacReprojThreshold: float = ..., mask: UMat | None = ..., maxIters: int = ..., confidence: float = ...) -> tuple[cv2.typing.MatLike, UMat]: ...
  4621. @_typing.overload
  4622. def findHomography(srcPoints: cv2.typing.MatLike, dstPoints: cv2.typing.MatLike, params: UsacParams, mask: cv2.typing.MatLike | None = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike]: ...
  4623. @_typing.overload
  4624. def findHomography(srcPoints: UMat, dstPoints: UMat, params: UsacParams, mask: UMat | None = ...) -> tuple[cv2.typing.MatLike, UMat]: ...
  4625. @_typing.overload
  4626. def findNonZero(src: cv2.typing.MatLike, idx: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  4627. @_typing.overload
  4628. def findNonZero(src: UMat, idx: UMat | None = ...) -> UMat: ...
  4629. @_typing.overload
  4630. def findTransformECC(templateImage: cv2.typing.MatLike, inputImage: cv2.typing.MatLike, warpMatrix: cv2.typing.MatLike, motionType: int, criteria: cv2.typing.TermCriteria, inputMask: cv2.typing.MatLike, gaussFiltSize: int) -> tuple[float, cv2.typing.MatLike]: ...
  4631. @_typing.overload
  4632. def findTransformECC(templateImage: UMat, inputImage: UMat, warpMatrix: UMat, motionType: int, criteria: cv2.typing.TermCriteria, inputMask: UMat, gaussFiltSize: int) -> tuple[float, UMat]: ...
  4633. @_typing.overload
  4634. def findTransformECC(templateImage: cv2.typing.MatLike, inputImage: cv2.typing.MatLike, warpMatrix: cv2.typing.MatLike, motionType: int = ..., criteria: cv2.typing.TermCriteria = ..., inputMask: cv2.typing.MatLike | None = ...) -> tuple[float, cv2.typing.MatLike]: ...
  4635. @_typing.overload
  4636. def findTransformECC(templateImage: UMat, inputImage: UMat, warpMatrix: UMat, motionType: int = ..., criteria: cv2.typing.TermCriteria = ..., inputMask: UMat | None = ...) -> tuple[float, UMat]: ...
  4637. @_typing.overload
  4638. def findTransformECCWithMask(templateImage: cv2.typing.MatLike, inputImage: cv2.typing.MatLike, templateMask: cv2.typing.MatLike, inputMask: cv2.typing.MatLike, warpMatrix: cv2.typing.MatLike, motionType: int = ..., criteria: cv2.typing.TermCriteria = ..., gaussFiltSize: int = ...) -> tuple[float, cv2.typing.MatLike]: ...
  4639. @_typing.overload
  4640. def findTransformECCWithMask(templateImage: UMat, inputImage: UMat, templateMask: UMat, inputMask: UMat, warpMatrix: UMat, motionType: int = ..., criteria: cv2.typing.TermCriteria = ..., gaussFiltSize: int = ...) -> tuple[float, UMat]: ...
  4641. @_typing.overload
  4642. def fitEllipse(points: cv2.typing.MatLike) -> cv2.typing.RotatedRect: ...
  4643. @_typing.overload
  4644. def fitEllipse(points: UMat) -> cv2.typing.RotatedRect: ...
  4645. @_typing.overload
  4646. def fitEllipseAMS(points: cv2.typing.MatLike) -> cv2.typing.RotatedRect: ...
  4647. @_typing.overload
  4648. def fitEllipseAMS(points: UMat) -> cv2.typing.RotatedRect: ...
  4649. @_typing.overload
  4650. def fitEllipseDirect(points: cv2.typing.MatLike) -> cv2.typing.RotatedRect: ...
  4651. @_typing.overload
  4652. def fitEllipseDirect(points: UMat) -> cv2.typing.RotatedRect: ...
  4653. @_typing.overload
  4654. def fitLine(points: cv2.typing.MatLike, distType: int, param: float, reps: float, aeps: float, line: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  4655. @_typing.overload
  4656. def fitLine(points: UMat, distType: int, param: float, reps: float, aeps: float, line: UMat | None = ...) -> UMat: ...
  4657. @_typing.overload
  4658. def flip(src: cv2.typing.MatLike, flipCode: int, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  4659. @_typing.overload
  4660. def flip(src: UMat, flipCode: int, dst: UMat | None = ...) -> UMat: ...
  4661. @_typing.overload
  4662. def flipND(src: cv2.typing.MatLike, axis: int, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  4663. @_typing.overload
  4664. def flipND(src: UMat, axis: int, dst: UMat | None = ...) -> UMat: ...
  4665. @_typing.overload
  4666. def floodFill(image: cv2.typing.MatLike, mask: cv2.typing.MatLike | None, seedPoint: cv2.typing.Point, newVal: cv2.typing.Scalar, loDiff: cv2.typing.Scalar = ..., upDiff: cv2.typing.Scalar = ..., flags: int = ...) -> tuple[int, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.Rect]: ...
  4667. @_typing.overload
  4668. def floodFill(image: UMat, mask: UMat | None, seedPoint: cv2.typing.Point, newVal: cv2.typing.Scalar, loDiff: cv2.typing.Scalar = ..., upDiff: cv2.typing.Scalar = ..., flags: int = ...) -> tuple[int, UMat, UMat, cv2.typing.Rect]: ...
  4669. @_typing.overload
  4670. def gemm(src1: cv2.typing.MatLike, src2: cv2.typing.MatLike, alpha: float, src3: cv2.typing.MatLike, beta: float, dst: cv2.typing.MatLike | None = ..., flags: int = ...) -> cv2.typing.MatLike: ...
  4671. @_typing.overload
  4672. def gemm(src1: UMat, src2: UMat, alpha: float, src3: UMat, beta: float, dst: UMat | None = ..., flags: int = ...) -> UMat: ...
  4673. @_typing.overload
  4674. def getAffineTransform(src: cv2.typing.MatLike, dst: cv2.typing.MatLike) -> cv2.typing.MatLike: ...
  4675. @_typing.overload
  4676. def getAffineTransform(src: UMat, dst: UMat) -> cv2.typing.MatLike: ...
  4677. def getBuildInformation() -> str: ...
  4678. def getCPUFeaturesLine() -> str: ...
  4679. def getCPUTickCount() -> int: ...
  4680. @_typing.overload
  4681. def getClosestEllipsePoints(ellipse_params: cv2.typing.RotatedRect, points: cv2.typing.MatLike, closest_pts: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  4682. @_typing.overload
  4683. def getClosestEllipsePoints(ellipse_params: cv2.typing.RotatedRect, points: UMat, closest_pts: UMat | None = ...) -> UMat: ...
  4684. def getDefaultAlgorithmHint() -> AlgorithmHint: ...
  4685. @_typing.overload
  4686. def getDefaultNewCameraMatrix(cameraMatrix: cv2.typing.MatLike, imgsize: cv2.typing.Size = ..., centerPrincipalPoint: bool = ...) -> cv2.typing.MatLike: ...
  4687. @_typing.overload
  4688. def getDefaultNewCameraMatrix(cameraMatrix: UMat, imgsize: cv2.typing.Size = ..., centerPrincipalPoint: bool = ...) -> cv2.typing.MatLike: ...
  4689. @_typing.overload
  4690. def getDerivKernels(dx: int, dy: int, ksize: int, kx: cv2.typing.MatLike | None = ..., ky: cv2.typing.MatLike | None = ..., normalize: bool = ..., ktype: int = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike]: ...
  4691. @_typing.overload
  4692. def getDerivKernels(dx: int, dy: int, ksize: int, kx: UMat | None = ..., ky: UMat | None = ..., normalize: bool = ..., ktype: int = ...) -> tuple[UMat, UMat]: ...
  4693. def getFontScaleFromHeight(fontFace: int, pixelHeight: int, thickness: int = ...) -> float: ...
  4694. def getGaborKernel(ksize: cv2.typing.Size, sigma: float, theta: float, lambd: float, gamma: float, psi: float = ..., ktype: int = ...) -> cv2.typing.MatLike: ...
  4695. def getGaussianKernel(ksize: int, sigma: float, ktype: int = ...) -> cv2.typing.MatLike: ...
  4696. def getHardwareFeatureName(feature: int) -> str: ...
  4697. def getNumThreads() -> int: ...
  4698. def getNumberOfCPUs() -> int: ...
  4699. def getOptimalDFTSize(vecsize: int) -> int: ...
  4700. @_typing.overload
  4701. def getOptimalNewCameraMatrix(cameraMatrix: cv2.typing.MatLike, distCoeffs: cv2.typing.MatLike | None, imageSize: cv2.typing.Size, alpha: float, newImgSize: cv2.typing.Size = ..., centerPrincipalPoint: bool = ...) -> tuple[cv2.typing.MatLike, cv2.typing.Rect]: ...
  4702. @_typing.overload
  4703. def getOptimalNewCameraMatrix(cameraMatrix: UMat, distCoeffs: UMat | None, imageSize: cv2.typing.Size, alpha: float, newImgSize: cv2.typing.Size = ..., centerPrincipalPoint: bool = ...) -> tuple[cv2.typing.MatLike, cv2.typing.Rect]: ...
  4704. @_typing.overload
  4705. def getPerspectiveTransform(src: cv2.typing.MatLike, dst: cv2.typing.MatLike, solveMethod: int = ...) -> cv2.typing.MatLike: ...
  4706. @_typing.overload
  4707. def getPerspectiveTransform(src: UMat, dst: UMat, solveMethod: int = ...) -> cv2.typing.MatLike: ...
  4708. @_typing.overload
  4709. def getRectSubPix(image: cv2.typing.MatLike, patchSize: cv2.typing.Size, center: cv2.typing.Point2f, patch: cv2.typing.MatLike | None = ..., patchType: int = ...) -> cv2.typing.MatLike: ...
  4710. @_typing.overload
  4711. def getRectSubPix(image: UMat, patchSize: cv2.typing.Size, center: cv2.typing.Point2f, patch: UMat | None = ..., patchType: int = ...) -> UMat: ...
  4712. def getRotationMatrix2D(center: cv2.typing.Point2f, angle: float, scale: float) -> cv2.typing.MatLike: ...
  4713. def getStructuringElement(shape: int, ksize: cv2.typing.Size, anchor: cv2.typing.Point = ...) -> cv2.typing.MatLike: ...
  4714. def getTextSize(text: str, fontFace: int, fontScale: float, thickness: int) -> tuple[cv2.typing.Size, int]: ...
  4715. def getThreadNum() -> int: ...
  4716. def getTickCount() -> int: ...
  4717. def getTickFrequency() -> float: ...
  4718. def getTrackbarPos(trackbarname: str, winname: str) -> int: ...
  4719. def getValidDisparityROI(roi1: cv2.typing.Rect, roi2: cv2.typing.Rect, minDisparity: int, numberOfDisparities: int, blockSize: int) -> cv2.typing.Rect: ...
  4720. def getVersionMajor() -> int: ...
  4721. def getVersionMinor() -> int: ...
  4722. def getVersionRevision() -> int: ...
  4723. def getVersionString() -> str: ...
  4724. def getWindowImageRect(winname: str) -> cv2.typing.Rect: ...
  4725. def getWindowProperty(winname: str, prop_id: int) -> float: ...
  4726. @_typing.overload
  4727. def goodFeaturesToTrack(image: cv2.typing.MatLike, maxCorners: int, qualityLevel: float, minDistance: float, corners: cv2.typing.MatLike | None = ..., mask: cv2.typing.MatLike | None = ..., blockSize: int = ..., useHarrisDetector: bool = ..., k: float = ...) -> cv2.typing.MatLike: ...
  4728. @_typing.overload
  4729. def goodFeaturesToTrack(image: UMat, maxCorners: int, qualityLevel: float, minDistance: float, corners: UMat | None = ..., mask: UMat | None = ..., blockSize: int = ..., useHarrisDetector: bool = ..., k: float = ...) -> UMat: ...
  4730. @_typing.overload
  4731. def goodFeaturesToTrack(image: cv2.typing.MatLike, maxCorners: int, qualityLevel: float, minDistance: float, mask: cv2.typing.MatLike, blockSize: int, gradientSize: int, corners: cv2.typing.MatLike | None = ..., useHarrisDetector: bool = ..., k: float = ...) -> cv2.typing.MatLike: ...
  4732. @_typing.overload
  4733. def goodFeaturesToTrack(image: UMat, maxCorners: int, qualityLevel: float, minDistance: float, mask: UMat, blockSize: int, gradientSize: int, corners: UMat | None = ..., useHarrisDetector: bool = ..., k: float = ...) -> UMat: ...
  4734. @_typing.overload
  4735. def goodFeaturesToTrackWithQuality(image: cv2.typing.MatLike, maxCorners: int, qualityLevel: float, minDistance: float, mask: cv2.typing.MatLike, corners: cv2.typing.MatLike | None = ..., cornersQuality: cv2.typing.MatLike | None = ..., blockSize: int = ..., gradientSize: int = ..., useHarrisDetector: bool = ..., k: float = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike]: ...
  4736. @_typing.overload
  4737. def goodFeaturesToTrackWithQuality(image: UMat, maxCorners: int, qualityLevel: float, minDistance: float, mask: UMat, corners: UMat | None = ..., cornersQuality: UMat | None = ..., blockSize: int = ..., gradientSize: int = ..., useHarrisDetector: bool = ..., k: float = ...) -> tuple[UMat, UMat]: ...
  4738. @_typing.overload
  4739. def grabCut(img: cv2.typing.MatLike, mask: cv2.typing.MatLike, rect: cv2.typing.Rect, bgdModel: cv2.typing.MatLike, fgdModel: cv2.typing.MatLike, iterCount: int, mode: int = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike]: ...
  4740. @_typing.overload
  4741. def grabCut(img: UMat, mask: UMat, rect: cv2.typing.Rect, bgdModel: UMat, fgdModel: UMat, iterCount: int, mode: int = ...) -> tuple[UMat, UMat, UMat]: ...
  4742. def groupRectangles(rectList: _typing.Sequence[cv2.typing.Rect], groupThreshold: int, eps: float = ...) -> tuple[_typing.Sequence[cv2.typing.Rect], _typing.Sequence[int]]: ...
  4743. @_typing.overload
  4744. def hasNonZero(src: cv2.typing.MatLike) -> bool: ...
  4745. @_typing.overload
  4746. def hasNonZero(src: UMat) -> bool: ...
  4747. def haveImageReader(filename: str | os.PathLike[str]) -> bool: ...
  4748. def haveImageWriter(filename: str | os.PathLike[str]) -> bool: ...
  4749. def haveOpenVX() -> bool: ...
  4750. @_typing.overload
  4751. def hconcat(src: _typing.Sequence[cv2.typing.MatLike], dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  4752. @_typing.overload
  4753. def hconcat(src: _typing.Sequence[UMat], dst: UMat | None = ...) -> UMat: ...
  4754. @_typing.overload
  4755. def idct(src: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ..., flags: int = ...) -> cv2.typing.MatLike: ...
  4756. @_typing.overload
  4757. def idct(src: UMat, dst: UMat | None = ..., flags: int = ...) -> UMat: ...
  4758. @_typing.overload
  4759. def idft(src: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ..., flags: int = ..., nonzeroRows: int = ...) -> cv2.typing.MatLike: ...
  4760. @_typing.overload
  4761. def idft(src: UMat, dst: UMat | None = ..., flags: int = ..., nonzeroRows: int = ...) -> UMat: ...
  4762. @_typing.overload
  4763. def illuminationChange(src: cv2.typing.MatLike, mask: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ..., alpha: float = ..., beta: float = ...) -> cv2.typing.MatLike: ...
  4764. @_typing.overload
  4765. def illuminationChange(src: UMat, mask: UMat, dst: UMat | None = ..., alpha: float = ..., beta: float = ...) -> UMat: ...
  4766. def imcount(filename: str | os.PathLike[str], flags: int = ...) -> int: ...
  4767. @_typing.overload
  4768. def imdecode(buf: cv2.typing.MatLike, flags: int) -> cv2.typing.MatLike | None: ...
  4769. @_typing.overload
  4770. def imdecode(buf: UMat, flags: int) -> cv2.typing.MatLike | None: ...
  4771. @_typing.overload
  4772. def imdecodeWithMetadata(buf: cv2.typing.MatLike, metadata: _typing.Sequence[cv2.typing.MatLike] | None = ..., flags: int = ...) -> tuple[cv2.typing.MatLike, _typing.Sequence[int], _typing.Sequence[cv2.typing.MatLike]]: ...
  4773. @_typing.overload
  4774. def imdecodeWithMetadata(buf: UMat, metadata: _typing.Sequence[UMat] | None = ..., flags: int = ...) -> tuple[cv2.typing.MatLike, _typing.Sequence[int], _typing.Sequence[UMat]]: ...
  4775. @_typing.overload
  4776. def imdecodeanimation(buf: cv2.typing.MatLike, start: int = ..., count: int = ...) -> tuple[bool, Animation]: ...
  4777. @_typing.overload
  4778. def imdecodeanimation(buf: UMat, start: int = ..., count: int = ...) -> tuple[bool, Animation]: ...
  4779. @_typing.overload
  4780. def imdecodemulti(buf: cv2.typing.MatLike, flags: int, mats: _typing.Sequence[cv2.typing.MatLike] | None = ..., range: cv2.typing.Range = ...) -> tuple[bool, _typing.Sequence[cv2.typing.MatLike]]: ...
  4781. @_typing.overload
  4782. def imdecodemulti(buf: UMat, flags: int, mats: _typing.Sequence[cv2.typing.MatLike] | None = ..., range: cv2.typing.Range = ...) -> tuple[bool, _typing.Sequence[cv2.typing.MatLike]]: ...
  4783. @_typing.overload
  4784. def imencode(ext: str, img: cv2.typing.MatLike, params: _typing.Sequence[int] = ...) -> tuple[bool, numpy.ndarray[_typing.Any, numpy.dtype[numpy.uint8]]]: ...
  4785. @_typing.overload
  4786. def imencode(ext: str, img: UMat, params: _typing.Sequence[int] = ...) -> tuple[bool, numpy.ndarray[_typing.Any, numpy.dtype[numpy.uint8]]]: ...
  4787. @_typing.overload
  4788. def imencodeWithMetadata(ext: str, img: cv2.typing.MatLike, metadataTypes: _typing.Sequence[int], metadata: _typing.Sequence[cv2.typing.MatLike], params: _typing.Sequence[int] = ...) -> tuple[bool, numpy.ndarray[_typing.Any, numpy.dtype[numpy.uint8]]]: ...
  4789. @_typing.overload
  4790. def imencodeWithMetadata(ext: str, img: UMat, metadataTypes: _typing.Sequence[int], metadata: _typing.Sequence[UMat], params: _typing.Sequence[int] = ...) -> tuple[bool, numpy.ndarray[_typing.Any, numpy.dtype[numpy.uint8]]]: ...
  4791. def imencodeanimation(ext: str, animation: Animation, params: _typing.Sequence[int] = ...) -> tuple[bool, numpy.ndarray[_typing.Any, numpy.dtype[numpy.uint8]]]: ...
  4792. @_typing.overload
  4793. def imencodemulti(ext: str, imgs: _typing.Sequence[cv2.typing.MatLike], params: _typing.Sequence[int] = ...) -> tuple[bool, numpy.ndarray[_typing.Any, numpy.dtype[numpy.uint8]]]: ...
  4794. @_typing.overload
  4795. def imencodemulti(ext: str, imgs: _typing.Sequence[UMat], params: _typing.Sequence[int] = ...) -> tuple[bool, numpy.ndarray[_typing.Any, numpy.dtype[numpy.uint8]]]: ...
  4796. @_typing.overload
  4797. def imread(filename: str | os.PathLike[str], flags: int = ...) -> cv2.typing.MatLike | None: ...
  4798. @_typing.overload
  4799. def imread(filename: str | os.PathLike[str], dst: cv2.typing.MatLike | None = ..., flags: int = ...) -> cv2.typing.MatLike | None: ...
  4800. @_typing.overload
  4801. def imread(filename: str | os.PathLike[str], dst: UMat | None = ..., flags: int = ...) -> UMat | None: ...
  4802. @_typing.overload
  4803. def imreadWithMetadata(filename: str | os.PathLike[str], metadata: _typing.Sequence[cv2.typing.MatLike] | None = ..., flags: int = ...) -> tuple[cv2.typing.MatLike, _typing.Sequence[int], _typing.Sequence[cv2.typing.MatLike]]: ...
  4804. @_typing.overload
  4805. def imreadWithMetadata(filename: str | os.PathLike[str], metadata: _typing.Sequence[UMat] | None = ..., flags: int = ...) -> tuple[cv2.typing.MatLike, _typing.Sequence[int], _typing.Sequence[UMat]]: ...
  4806. def imreadanimation(filename: str | os.PathLike[str], start: int = ..., count: int = ...) -> tuple[bool, Animation]: ...
  4807. @_typing.overload
  4808. def imreadmulti(filename: str | os.PathLike[str], mats: _typing.Sequence[cv2.typing.MatLike] | None = ..., flags: int = ...) -> tuple[bool, _typing.Sequence[cv2.typing.MatLike]]: ...
  4809. @_typing.overload
  4810. def imreadmulti(filename: str | os.PathLike[str], start: int, count: int, mats: _typing.Sequence[cv2.typing.MatLike] | None = ..., flags: int = ...) -> tuple[bool, _typing.Sequence[cv2.typing.MatLike]]: ...
  4811. @_typing.overload
  4812. def imshow(winname: str, mat: cv2.typing.MatLike) -> None: ...
  4813. @_typing.overload
  4814. def imshow(winname: str, mat: cv2.cuda.GpuMat) -> None: ...
  4815. @_typing.overload
  4816. def imshow(winname: str, mat: UMat) -> None: ...
  4817. @_typing.overload
  4818. def imwrite(filename: str | os.PathLike[str], img: cv2.typing.MatLike, params: _typing.Sequence[int] = ...) -> bool: ...
  4819. @_typing.overload
  4820. def imwrite(filename: str | os.PathLike[str], img: UMat, params: _typing.Sequence[int] = ...) -> bool: ...
  4821. @_typing.overload
  4822. def imwriteWithMetadata(filename: str | os.PathLike[str], img: cv2.typing.MatLike, metadataTypes: _typing.Sequence[int], metadata: _typing.Sequence[cv2.typing.MatLike], params: _typing.Sequence[int] = ...) -> bool: ...
  4823. @_typing.overload
  4824. def imwriteWithMetadata(filename: str | os.PathLike[str], img: UMat, metadataTypes: _typing.Sequence[int], metadata: _typing.Sequence[UMat], params: _typing.Sequence[int] = ...) -> bool: ...
  4825. def imwriteanimation(filename: str | os.PathLike[str], animation: Animation, params: _typing.Sequence[int] = ...) -> bool: ...
  4826. @_typing.overload
  4827. def imwritemulti(filename: str | os.PathLike[str], img: _typing.Sequence[cv2.typing.MatLike], params: _typing.Sequence[int] = ...) -> bool: ...
  4828. @_typing.overload
  4829. def imwritemulti(filename: str | os.PathLike[str], img: _typing.Sequence[UMat], params: _typing.Sequence[int] = ...) -> bool: ...
  4830. @_typing.overload
  4831. def inRange(src: cv2.typing.MatLike, lowerb: cv2.typing.MatLike, upperb: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  4832. @_typing.overload
  4833. def inRange(src: UMat, lowerb: UMat, upperb: UMat, dst: UMat | None = ...) -> UMat: ...
  4834. @_typing.overload
  4835. def initCameraMatrix2D(objectPoints: _typing.Sequence[cv2.typing.MatLike], imagePoints: _typing.Sequence[cv2.typing.MatLike], imageSize: cv2.typing.Size, aspectRatio: float = ...) -> cv2.typing.MatLike: ...
  4836. @_typing.overload
  4837. def initCameraMatrix2D(objectPoints: _typing.Sequence[UMat], imagePoints: _typing.Sequence[UMat], imageSize: cv2.typing.Size, aspectRatio: float = ...) -> cv2.typing.MatLike: ...
  4838. @_typing.overload
  4839. def initInverseRectificationMap(cameraMatrix: cv2.typing.MatLike, distCoeffs: cv2.typing.MatLike | None, R: cv2.typing.MatLike | None, newCameraMatrix: cv2.typing.MatLike, size: cv2.typing.Size, m1type: int, map1: cv2.typing.MatLike | None = ..., map2: cv2.typing.MatLike | None = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike]: ...
  4840. @_typing.overload
  4841. def initInverseRectificationMap(cameraMatrix: UMat, distCoeffs: UMat | None, R: UMat | None, newCameraMatrix: UMat, size: cv2.typing.Size, m1type: int, map1: UMat | None = ..., map2: UMat | None = ...) -> tuple[UMat, UMat]: ...
  4842. @_typing.overload
  4843. def initUndistortRectifyMap(cameraMatrix: cv2.typing.MatLike, distCoeffs: cv2.typing.MatLike | None, R: cv2.typing.MatLike | None, newCameraMatrix: cv2.typing.MatLike, size: cv2.typing.Size, m1type: int, map1: cv2.typing.MatLike | None = ..., map2: cv2.typing.MatLike | None = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike]: ...
  4844. @_typing.overload
  4845. def initUndistortRectifyMap(cameraMatrix: UMat, distCoeffs: UMat | None, R: UMat | None, newCameraMatrix: UMat, size: cv2.typing.Size, m1type: int, map1: UMat | None = ..., map2: UMat | None = ...) -> tuple[UMat, UMat]: ...
  4846. @_typing.overload
  4847. def inpaint(src: cv2.typing.MatLike, inpaintMask: cv2.typing.MatLike, inpaintRadius: float, flags: int, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  4848. @_typing.overload
  4849. def inpaint(src: UMat, inpaintMask: UMat, inpaintRadius: float, flags: int, dst: UMat | None = ...) -> UMat: ...
  4850. @_typing.overload
  4851. def insertChannel(src: cv2.typing.MatLike, dst: cv2.typing.MatLike, coi: int) -> cv2.typing.MatLike: ...
  4852. @_typing.overload
  4853. def insertChannel(src: UMat, dst: UMat, coi: int) -> UMat: ...
  4854. @_typing.overload
  4855. def integral(src: cv2.typing.MatLike, sum: cv2.typing.MatLike | None = ..., sdepth: int = ...) -> cv2.typing.MatLike: ...
  4856. @_typing.overload
  4857. def integral(src: UMat, sum: UMat | None = ..., sdepth: int = ...) -> UMat: ...
  4858. @_typing.overload
  4859. def integral2(src: cv2.typing.MatLike, sum: cv2.typing.MatLike | None = ..., sqsum: cv2.typing.MatLike | None = ..., sdepth: int = ..., sqdepth: int = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike]: ...
  4860. @_typing.overload
  4861. def integral2(src: UMat, sum: UMat | None = ..., sqsum: UMat | None = ..., sdepth: int = ..., sqdepth: int = ...) -> tuple[UMat, UMat]: ...
  4862. @_typing.overload
  4863. def integral3(src: cv2.typing.MatLike, sum: cv2.typing.MatLike | None = ..., sqsum: cv2.typing.MatLike | None = ..., tilted: cv2.typing.MatLike | None = ..., sdepth: int = ..., sqdepth: int = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike]: ...
  4864. @_typing.overload
  4865. def integral3(src: UMat, sum: UMat | None = ..., sqsum: UMat | None = ..., tilted: UMat | None = ..., sdepth: int = ..., sqdepth: int = ...) -> tuple[UMat, UMat, UMat]: ...
  4866. @_typing.overload
  4867. def intersectConvexConvex(p1: cv2.typing.MatLike, p2: cv2.typing.MatLike, p12: cv2.typing.MatLike | None = ..., handleNested: bool = ...) -> tuple[float, cv2.typing.MatLike]: ...
  4868. @_typing.overload
  4869. def intersectConvexConvex(p1: UMat, p2: UMat, p12: UMat | None = ..., handleNested: bool = ...) -> tuple[float, UMat]: ...
  4870. @_typing.overload
  4871. def invert(src: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ..., flags: int = ...) -> tuple[float, cv2.typing.MatLike]: ...
  4872. @_typing.overload
  4873. def invert(src: UMat, dst: UMat | None = ..., flags: int = ...) -> tuple[float, UMat]: ...
  4874. @_typing.overload
  4875. def invertAffineTransform(M: cv2.typing.MatLike, iM: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  4876. @_typing.overload
  4877. def invertAffineTransform(M: UMat, iM: UMat | None = ...) -> UMat: ...
  4878. @_typing.overload
  4879. def isContourConvex(contour: cv2.typing.MatLike) -> bool: ...
  4880. @_typing.overload
  4881. def isContourConvex(contour: UMat) -> bool: ...
  4882. @_typing.overload
  4883. def kmeans(data: cv2.typing.MatLike, K: int, bestLabels: cv2.typing.MatLike, criteria: cv2.typing.TermCriteria, attempts: int, flags: int, centers: cv2.typing.MatLike | None = ...) -> tuple[float, cv2.typing.MatLike, cv2.typing.MatLike]: ...
  4884. @_typing.overload
  4885. def kmeans(data: UMat, K: int, bestLabels: UMat, criteria: cv2.typing.TermCriteria, attempts: int, flags: int, centers: UMat | None = ...) -> tuple[float, UMat, UMat]: ...
  4886. @_typing.overload
  4887. def line(img: cv2.typing.MatLike, pt1: cv2.typing.Point, pt2: cv2.typing.Point, color: cv2.typing.Scalar, thickness: int = ..., lineType: int = ..., shift: int = ...) -> cv2.typing.MatLike: ...
  4888. @_typing.overload
  4889. def line(img: UMat, pt1: cv2.typing.Point, pt2: cv2.typing.Point, color: cv2.typing.Scalar, thickness: int = ..., lineType: int = ..., shift: int = ...) -> UMat: ...
  4890. @_typing.overload
  4891. def linearPolar(src: cv2.typing.MatLike, center: cv2.typing.Point2f, maxRadius: float, flags: int, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  4892. @_typing.overload
  4893. def linearPolar(src: UMat, center: cv2.typing.Point2f, maxRadius: float, flags: int, dst: UMat | None = ...) -> UMat: ...
  4894. @_typing.overload
  4895. def log(src: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  4896. @_typing.overload
  4897. def log(src: UMat, dst: UMat | None = ...) -> UMat: ...
  4898. @_typing.overload
  4899. def logPolar(src: cv2.typing.MatLike, center: cv2.typing.Point2f, M: float, flags: int, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  4900. @_typing.overload
  4901. def logPolar(src: UMat, center: cv2.typing.Point2f, M: float, flags: int, dst: UMat | None = ...) -> UMat: ...
  4902. @_typing.overload
  4903. def magnitude(x: cv2.typing.MatLike, y: cv2.typing.MatLike, magnitude: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  4904. @_typing.overload
  4905. def magnitude(x: UMat, y: UMat, magnitude: UMat | None = ...) -> UMat: ...
  4906. @_typing.overload
  4907. def matMulDeriv(A: cv2.typing.MatLike, B: cv2.typing.MatLike, dABdA: cv2.typing.MatLike | None = ..., dABdB: cv2.typing.MatLike | None = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike]: ...
  4908. @_typing.overload
  4909. def matMulDeriv(A: UMat, B: UMat, dABdA: UMat | None = ..., dABdB: UMat | None = ...) -> tuple[UMat, UMat]: ...
  4910. @_typing.overload
  4911. def matchShapes(contour1: cv2.typing.MatLike, contour2: cv2.typing.MatLike, method: int, parameter: float) -> float: ...
  4912. @_typing.overload
  4913. def matchShapes(contour1: UMat, contour2: UMat, method: int, parameter: float) -> float: ...
  4914. @_typing.overload
  4915. def matchTemplate(image: cv2.typing.MatLike, templ: cv2.typing.MatLike, method: int, result: cv2.typing.MatLike | None = ..., mask: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  4916. @_typing.overload
  4917. def matchTemplate(image: UMat, templ: UMat, method: int, result: UMat | None = ..., mask: UMat | None = ...) -> UMat: ...
  4918. @_typing.overload
  4919. def max(src1: cv2.typing.MatLike, src2: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  4920. @_typing.overload
  4921. def max(src1: UMat, src2: UMat, dst: UMat | None = ...) -> UMat: ...
  4922. @_typing.overload
  4923. def mean(src: cv2.typing.MatLike, mask: cv2.typing.MatLike | None = ...) -> tuple[float, float, float, float]: ...
  4924. @_typing.overload
  4925. def mean(src: UMat, mask: UMat | None = ...) -> tuple[float, float, float, float]: ...
  4926. @_typing.overload
  4927. def meanShift(probImage: cv2.typing.MatLike, window: cv2.typing.Rect, criteria: cv2.typing.TermCriteria) -> tuple[int, cv2.typing.Rect]: ...
  4928. @_typing.overload
  4929. def meanShift(probImage: UMat, window: cv2.typing.Rect, criteria: cv2.typing.TermCriteria) -> tuple[int, cv2.typing.Rect]: ...
  4930. @_typing.overload
  4931. def meanStdDev(src: cv2.typing.MatLike, mean: cv2.typing.MatLike | None = ..., stddev: cv2.typing.MatLike | None = ..., mask: cv2.typing.MatLike | None = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike]: ...
  4932. @_typing.overload
  4933. def meanStdDev(src: UMat, mean: UMat | None = ..., stddev: UMat | None = ..., mask: UMat | None = ...) -> tuple[UMat, UMat]: ...
  4934. @_typing.overload
  4935. def medianBlur(src: cv2.typing.MatLike, ksize: int, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  4936. @_typing.overload
  4937. def medianBlur(src: UMat, ksize: int, dst: UMat | None = ...) -> UMat: ...
  4938. @_typing.overload
  4939. def merge(mv: _typing.Sequence[cv2.typing.MatLike], dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  4940. @_typing.overload
  4941. def merge(mv: _typing.Sequence[UMat], dst: UMat | None = ...) -> UMat: ...
  4942. @_typing.overload
  4943. def min(src1: cv2.typing.MatLike, src2: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  4944. @_typing.overload
  4945. def min(src1: UMat, src2: UMat, dst: UMat | None = ...) -> UMat: ...
  4946. @_typing.overload
  4947. def minAreaRect(points: cv2.typing.MatLike) -> cv2.typing.RotatedRect: ...
  4948. @_typing.overload
  4949. def minAreaRect(points: UMat) -> cv2.typing.RotatedRect: ...
  4950. @_typing.overload
  4951. def minEnclosingCircle(points: cv2.typing.MatLike) -> tuple[cv2.typing.Point2f, float]: ...
  4952. @_typing.overload
  4953. def minEnclosingCircle(points: UMat) -> tuple[cv2.typing.Point2f, float]: ...
  4954. @_typing.overload
  4955. def minEnclosingConvexPolygon(points: cv2.typing.MatLike, k: int, polygon: cv2.typing.MatLike | None = ...) -> tuple[float, cv2.typing.MatLike]: ...
  4956. @_typing.overload
  4957. def minEnclosingConvexPolygon(points: UMat, k: int, polygon: UMat | None = ...) -> tuple[float, UMat]: ...
  4958. @_typing.overload
  4959. def minEnclosingTriangle(points: cv2.typing.MatLike, triangle: cv2.typing.MatLike | None = ...) -> tuple[float, cv2.typing.MatLike]: ...
  4960. @_typing.overload
  4961. def minEnclosingTriangle(points: UMat, triangle: UMat | None = ...) -> tuple[float, UMat]: ...
  4962. @_typing.overload
  4963. def minMaxLoc(src: cv2.typing.MatLike, mask: cv2.typing.MatLike | None = ...) -> tuple[float, float, cv2.typing.Point, cv2.typing.Point]: ...
  4964. @_typing.overload
  4965. def minMaxLoc(src: UMat, mask: UMat | None = ...) -> tuple[float, float, cv2.typing.Point, cv2.typing.Point]: ...
  4966. @_typing.overload
  4967. def mixChannels(src: _typing.Sequence[cv2.typing.MatLike], dst: _typing.Sequence[cv2.typing.MatLike], fromTo: _typing.Sequence[int]) -> _typing.Sequence[cv2.typing.MatLike]: ...
  4968. @_typing.overload
  4969. def mixChannels(src: _typing.Sequence[UMat], dst: _typing.Sequence[UMat], fromTo: _typing.Sequence[int]) -> _typing.Sequence[UMat]: ...
  4970. @_typing.overload
  4971. def moments(array: cv2.typing.MatLike, binaryImage: bool = ...) -> cv2.typing.Moments: ...
  4972. @_typing.overload
  4973. def moments(array: UMat, binaryImage: bool = ...) -> cv2.typing.Moments: ...
  4974. @_typing.overload
  4975. def morphologyEx(src: cv2.typing.MatLike, op: int, kernel: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ..., anchor: cv2.typing.Point = ..., iterations: int = ..., borderType: int = ..., borderValue: cv2.typing.Scalar = ...) -> cv2.typing.MatLike: ...
  4976. @_typing.overload
  4977. def morphologyEx(src: UMat, op: int, kernel: UMat, dst: UMat | None = ..., anchor: cv2.typing.Point = ..., iterations: int = ..., borderType: int = ..., borderValue: cv2.typing.Scalar = ...) -> UMat: ...
  4978. def moveWindow(winname: str, x: int, y: int) -> None: ...
  4979. @_typing.overload
  4980. def mulSpectrums(a: cv2.typing.MatLike, b: cv2.typing.MatLike, flags: int, c: cv2.typing.MatLike | None = ..., conjB: bool = ...) -> cv2.typing.MatLike: ...
  4981. @_typing.overload
  4982. def mulSpectrums(a: UMat, b: UMat, flags: int, c: UMat | None = ..., conjB: bool = ...) -> UMat: ...
  4983. @_typing.overload
  4984. def mulTransposed(src: cv2.typing.MatLike, aTa: bool, dst: cv2.typing.MatLike | None = ..., delta: cv2.typing.MatLike | None = ..., scale: float = ..., dtype: int = ...) -> cv2.typing.MatLike: ...
  4985. @_typing.overload
  4986. def mulTransposed(src: UMat, aTa: bool, dst: UMat | None = ..., delta: UMat | None = ..., scale: float = ..., dtype: int = ...) -> UMat: ...
  4987. @_typing.overload
  4988. def multiply(src1: cv2.typing.MatLike, src2: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ..., scale: float = ..., dtype: int = ...) -> cv2.typing.MatLike: ...
  4989. @_typing.overload
  4990. def multiply(src1: UMat, src2: UMat, dst: UMat | None = ..., scale: float = ..., dtype: int = ...) -> UMat: ...
  4991. def namedWindow(winname: str, flags: int = ...) -> None: ...
  4992. @_typing.overload
  4993. def norm(src1: cv2.typing.MatLike, normType: int = ..., mask: cv2.typing.MatLike | None = ...) -> float: ...
  4994. @_typing.overload
  4995. def norm(src1: UMat, normType: int = ..., mask: UMat | None = ...) -> float: ...
  4996. @_typing.overload
  4997. def norm(src1: cv2.typing.MatLike, src2: cv2.typing.MatLike, normType: int = ..., mask: cv2.typing.MatLike | None = ...) -> float: ...
  4998. @_typing.overload
  4999. def norm(src1: UMat, src2: UMat, normType: int = ..., mask: UMat | None = ...) -> float: ...
  5000. @_typing.overload
  5001. def normalize(src: cv2.typing.MatLike, dst: cv2.typing.MatLike, alpha: float = ..., beta: float = ..., norm_type: int = ..., dtype: int = ..., mask: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  5002. @_typing.overload
  5003. def normalize(src: UMat, dst: UMat, alpha: float = ..., beta: float = ..., norm_type: int = ..., dtype: int = ..., mask: UMat | None = ...) -> UMat: ...
  5004. @_typing.overload
  5005. def patchNaNs(a: cv2.typing.MatLike, val: float = ...) -> cv2.typing.MatLike: ...
  5006. @_typing.overload
  5007. def patchNaNs(a: UMat, val: float = ...) -> UMat: ...
  5008. @_typing.overload
  5009. def pencilSketch(src: cv2.typing.MatLike, dst1: cv2.typing.MatLike | None = ..., dst2: cv2.typing.MatLike | None = ..., sigma_s: float = ..., sigma_r: float = ..., shade_factor: float = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike]: ...
  5010. @_typing.overload
  5011. def pencilSketch(src: UMat, dst1: UMat | None = ..., dst2: UMat | None = ..., sigma_s: float = ..., sigma_r: float = ..., shade_factor: float = ...) -> tuple[UMat, UMat]: ...
  5012. @_typing.overload
  5013. def perspectiveTransform(src: cv2.typing.MatLike, m: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  5014. @_typing.overload
  5015. def perspectiveTransform(src: UMat, m: UMat, dst: UMat | None = ...) -> UMat: ...
  5016. @_typing.overload
  5017. def phase(x: cv2.typing.MatLike, y: cv2.typing.MatLike, angle: cv2.typing.MatLike | None = ..., angleInDegrees: bool = ...) -> cv2.typing.MatLike: ...
  5018. @_typing.overload
  5019. def phase(x: UMat, y: UMat, angle: UMat | None = ..., angleInDegrees: bool = ...) -> UMat: ...
  5020. @_typing.overload
  5021. def phaseCorrelate(src1: cv2.typing.MatLike, src2: cv2.typing.MatLike, window: cv2.typing.MatLike | None = ...) -> tuple[cv2.typing.Point2d, float]: ...
  5022. @_typing.overload
  5023. def phaseCorrelate(src1: UMat, src2: UMat, window: UMat | None = ...) -> tuple[cv2.typing.Point2d, float]: ...
  5024. @_typing.overload
  5025. def phaseCorrelateIterative(src1: cv2.typing.MatLike, src2: cv2.typing.MatLike, L2size: int = ..., maxIters: int = ...) -> cv2.typing.Point2d: ...
  5026. @_typing.overload
  5027. def phaseCorrelateIterative(src1: UMat, src2: UMat, L2size: int = ..., maxIters: int = ...) -> cv2.typing.Point2d: ...
  5028. @_typing.overload
  5029. def pointPolygonTest(contour: cv2.typing.MatLike, pt: cv2.typing.Point2f, measureDist: bool) -> float: ...
  5030. @_typing.overload
  5031. def pointPolygonTest(contour: UMat, pt: cv2.typing.Point2f, measureDist: bool) -> float: ...
  5032. @_typing.overload
  5033. def polarToCart(magnitude: cv2.typing.MatLike, angle: cv2.typing.MatLike, x: cv2.typing.MatLike | None = ..., y: cv2.typing.MatLike | None = ..., angleInDegrees: bool = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike]: ...
  5034. @_typing.overload
  5035. def polarToCart(magnitude: UMat, angle: UMat, x: UMat | None = ..., y: UMat | None = ..., angleInDegrees: bool = ...) -> tuple[UMat, UMat]: ...
  5036. def pollKey() -> int: ...
  5037. @_typing.overload
  5038. def polylines(img: cv2.typing.MatLike, pts: _typing.Sequence[cv2.typing.MatLike], isClosed: bool, color: cv2.typing.Scalar, thickness: int = ..., lineType: int = ..., shift: int = ...) -> cv2.typing.MatLike: ...
  5039. @_typing.overload
  5040. def polylines(img: UMat, pts: _typing.Sequence[UMat], isClosed: bool, color: cv2.typing.Scalar, thickness: int = ..., lineType: int = ..., shift: int = ...) -> UMat: ...
  5041. @_typing.overload
  5042. def pow(src: cv2.typing.MatLike, power: float, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  5043. @_typing.overload
  5044. def pow(src: UMat, power: float, dst: UMat | None = ...) -> UMat: ...
  5045. @_typing.overload
  5046. def preCornerDetect(src: cv2.typing.MatLike, ksize: int, dst: cv2.typing.MatLike | None = ..., borderType: int = ...) -> cv2.typing.MatLike: ...
  5047. @_typing.overload
  5048. def preCornerDetect(src: UMat, ksize: int, dst: UMat | None = ..., borderType: int = ...) -> UMat: ...
  5049. @_typing.overload
  5050. def projectPoints(objectPoints: cv2.typing.MatLike, rvec: cv2.typing.MatLike, tvec: cv2.typing.MatLike, cameraMatrix: cv2.typing.MatLike, distCoeffs: cv2.typing.MatLike | None, imagePoints: cv2.typing.MatLike | None = ..., jacobian: cv2.typing.MatLike | None = ..., aspectRatio: float = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike]: ...
  5051. @_typing.overload
  5052. def projectPoints(objectPoints: UMat, rvec: UMat, tvec: UMat, cameraMatrix: UMat, distCoeffs: UMat | None, imagePoints: UMat | None = ..., jacobian: UMat | None = ..., aspectRatio: float = ...) -> tuple[UMat, UMat]: ...
  5053. @_typing.overload
  5054. def putText(img: cv2.typing.MatLike, text: str, org: cv2.typing.Point, fontFace: int, fontScale: float, color: cv2.typing.Scalar, thickness: int = ..., lineType: int = ..., bottomLeftOrigin: bool = ...) -> cv2.typing.MatLike: ...
  5055. @_typing.overload
  5056. def putText(img: UMat, text: str, org: cv2.typing.Point, fontFace: int, fontScale: float, color: cv2.typing.Scalar, thickness: int = ..., lineType: int = ..., bottomLeftOrigin: bool = ...) -> UMat: ...
  5057. @_typing.overload
  5058. def pyrDown(src: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ..., dstsize: cv2.typing.Size = ..., borderType: int = ...) -> cv2.typing.MatLike: ...
  5059. @_typing.overload
  5060. def pyrDown(src: UMat, dst: UMat | None = ..., dstsize: cv2.typing.Size = ..., borderType: int = ...) -> UMat: ...
  5061. @_typing.overload
  5062. def pyrMeanShiftFiltering(src: cv2.typing.MatLike, sp: float, sr: float, dst: cv2.typing.MatLike | None = ..., maxLevel: int = ..., termcrit: cv2.typing.TermCriteria = ...) -> cv2.typing.MatLike: ...
  5063. @_typing.overload
  5064. def pyrMeanShiftFiltering(src: UMat, sp: float, sr: float, dst: UMat | None = ..., maxLevel: int = ..., termcrit: cv2.typing.TermCriteria = ...) -> UMat: ...
  5065. @_typing.overload
  5066. def pyrUp(src: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ..., dstsize: cv2.typing.Size = ..., borderType: int = ...) -> cv2.typing.MatLike: ...
  5067. @_typing.overload
  5068. def pyrUp(src: UMat, dst: UMat | None = ..., dstsize: cv2.typing.Size = ..., borderType: int = ...) -> UMat: ...
  5069. @_typing.overload
  5070. def randShuffle(dst: cv2.typing.MatLike, iterFactor: float = ...) -> cv2.typing.MatLike: ...
  5071. @_typing.overload
  5072. def randShuffle(dst: UMat, iterFactor: float = ...) -> UMat: ...
  5073. @_typing.overload
  5074. def randn(dst: cv2.typing.MatLike, mean: cv2.typing.MatLike, stddev: cv2.typing.MatLike) -> cv2.typing.MatLike: ...
  5075. @_typing.overload
  5076. def randn(dst: UMat, mean: UMat, stddev: UMat) -> UMat: ...
  5077. @_typing.overload
  5078. def randu(dst: cv2.typing.MatLike, low: cv2.typing.MatLike, high: cv2.typing.MatLike) -> cv2.typing.MatLike: ...
  5079. @_typing.overload
  5080. def randu(dst: UMat, low: UMat, high: UMat) -> UMat: ...
  5081. def readOpticalFlow(path: str) -> cv2.typing.MatLike: ...
  5082. @_typing.overload
  5083. def recoverPose(points1: cv2.typing.MatLike, points2: cv2.typing.MatLike, cameraMatrix1: cv2.typing.MatLike, distCoeffs1: cv2.typing.MatLike, cameraMatrix2: cv2.typing.MatLike, distCoeffs2: cv2.typing.MatLike, E: cv2.typing.MatLike | None = ..., R: cv2.typing.MatLike | None = ..., t: cv2.typing.MatLike | None = ..., method: int = ..., prob: float = ..., threshold: float = ..., mask: cv2.typing.MatLike | None = ...) -> tuple[int, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike]: ...
  5084. @_typing.overload
  5085. def recoverPose(points1: UMat, points2: UMat, cameraMatrix1: UMat, distCoeffs1: UMat, cameraMatrix2: UMat, distCoeffs2: UMat, E: UMat | None = ..., R: UMat | None = ..., t: UMat | None = ..., method: int = ..., prob: float = ..., threshold: float = ..., mask: UMat | None = ...) -> tuple[int, UMat, UMat, UMat, UMat]: ...
  5086. @_typing.overload
  5087. def recoverPose(E: cv2.typing.MatLike, points1: cv2.typing.MatLike, points2: cv2.typing.MatLike, cameraMatrix: cv2.typing.MatLike, R: cv2.typing.MatLike | None = ..., t: cv2.typing.MatLike | None = ..., mask: cv2.typing.MatLike | None = ...) -> tuple[int, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike]: ...
  5088. @_typing.overload
  5089. def recoverPose(E: UMat, points1: UMat, points2: UMat, cameraMatrix: UMat, R: UMat | None = ..., t: UMat | None = ..., mask: UMat | None = ...) -> tuple[int, UMat, UMat, UMat]: ...
  5090. @_typing.overload
  5091. def recoverPose(E: cv2.typing.MatLike, points1: cv2.typing.MatLike, points2: cv2.typing.MatLike, R: cv2.typing.MatLike | None = ..., t: cv2.typing.MatLike | None = ..., focal: float = ..., pp: cv2.typing.Point2d = ..., mask: cv2.typing.MatLike | None = ...) -> tuple[int, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike]: ...
  5092. @_typing.overload
  5093. def recoverPose(E: UMat, points1: UMat, points2: UMat, R: UMat | None = ..., t: UMat | None = ..., focal: float = ..., pp: cv2.typing.Point2d = ..., mask: UMat | None = ...) -> tuple[int, UMat, UMat, UMat]: ...
  5094. @_typing.overload
  5095. def recoverPose(E: cv2.typing.MatLike, points1: cv2.typing.MatLike, points2: cv2.typing.MatLike, cameraMatrix: cv2.typing.MatLike, distanceThresh: float, R: cv2.typing.MatLike | None = ..., t: cv2.typing.MatLike | None = ..., mask: cv2.typing.MatLike | None = ..., triangulatedPoints: cv2.typing.MatLike | None = ...) -> tuple[int, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike]: ...
  5096. @_typing.overload
  5097. def recoverPose(E: UMat, points1: UMat, points2: UMat, cameraMatrix: UMat, distanceThresh: float, R: UMat | None = ..., t: UMat | None = ..., mask: UMat | None = ..., triangulatedPoints: UMat | None = ...) -> tuple[int, UMat, UMat, UMat, UMat]: ...
  5098. @_typing.overload
  5099. def rectangle(img: cv2.typing.MatLike, pt1: cv2.typing.Point, pt2: cv2.typing.Point, color: cv2.typing.Scalar, thickness: int = ..., lineType: int = ..., shift: int = ...) -> cv2.typing.MatLike: ...
  5100. @_typing.overload
  5101. def rectangle(img: UMat, pt1: cv2.typing.Point, pt2: cv2.typing.Point, color: cv2.typing.Scalar, thickness: int = ..., lineType: int = ..., shift: int = ...) -> UMat: ...
  5102. @_typing.overload
  5103. def rectangle(img: cv2.typing.MatLike, rec: cv2.typing.Rect, color: cv2.typing.Scalar, thickness: int = ..., lineType: int = ..., shift: int = ...) -> cv2.typing.MatLike: ...
  5104. @_typing.overload
  5105. def rectangle(img: UMat, rec: cv2.typing.Rect, color: cv2.typing.Scalar, thickness: int = ..., lineType: int = ..., shift: int = ...) -> UMat: ...
  5106. def rectangleIntersectionArea(a: cv2.typing.Rect2d, b: cv2.typing.Rect2d) -> float: ...
  5107. @_typing.overload
  5108. def rectify3Collinear(cameraMatrix1: cv2.typing.MatLike, distCoeffs1: cv2.typing.MatLike, cameraMatrix2: cv2.typing.MatLike, distCoeffs2: cv2.typing.MatLike, cameraMatrix3: cv2.typing.MatLike, distCoeffs3: cv2.typing.MatLike, imgpt1: _typing.Sequence[cv2.typing.MatLike], imgpt3: _typing.Sequence[cv2.typing.MatLike], imageSize: cv2.typing.Size, R12: cv2.typing.MatLike, T12: cv2.typing.MatLike, R13: cv2.typing.MatLike, T13: cv2.typing.MatLike, alpha: float, newImgSize: cv2.typing.Size, flags: int, R1: cv2.typing.MatLike | None = ..., R2: cv2.typing.MatLike | None = ..., R3: cv2.typing.MatLike | None = ..., P1: cv2.typing.MatLike | None = ..., P2: cv2.typing.MatLike | None = ..., P3: cv2.typing.MatLike | None = ..., Q: cv2.typing.MatLike | None = ...) -> tuple[float, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.Rect, cv2.typing.Rect]: ...
  5109. @_typing.overload
  5110. def rectify3Collinear(cameraMatrix1: UMat, distCoeffs1: UMat, cameraMatrix2: UMat, distCoeffs2: UMat, cameraMatrix3: UMat, distCoeffs3: UMat, imgpt1: _typing.Sequence[UMat], imgpt3: _typing.Sequence[UMat], imageSize: cv2.typing.Size, R12: UMat, T12: UMat, R13: UMat, T13: UMat, alpha: float, newImgSize: cv2.typing.Size, flags: int, R1: UMat | None = ..., R2: UMat | None = ..., R3: UMat | None = ..., P1: UMat | None = ..., P2: UMat | None = ..., P3: UMat | None = ..., Q: UMat | None = ...) -> tuple[float, UMat, UMat, UMat, UMat, UMat, UMat, UMat, cv2.typing.Rect, cv2.typing.Rect]: ...
  5111. @_typing.overload
  5112. def reduce(src: cv2.typing.MatLike, dim: int, rtype: int, dst: cv2.typing.MatLike | None = ..., dtype: int = ...) -> cv2.typing.MatLike: ...
  5113. @_typing.overload
  5114. def reduce(src: UMat, dim: int, rtype: int, dst: UMat | None = ..., dtype: int = ...) -> UMat: ...
  5115. @_typing.overload
  5116. def reduceArgMax(src: cv2.typing.MatLike, axis: int, dst: cv2.typing.MatLike | None = ..., lastIndex: bool = ...) -> cv2.typing.MatLike: ...
  5117. @_typing.overload
  5118. def reduceArgMax(src: UMat, axis: int, dst: UMat | None = ..., lastIndex: bool = ...) -> UMat: ...
  5119. @_typing.overload
  5120. def reduceArgMin(src: cv2.typing.MatLike, axis: int, dst: cv2.typing.MatLike | None = ..., lastIndex: bool = ...) -> cv2.typing.MatLike: ...
  5121. @_typing.overload
  5122. def reduceArgMin(src: UMat, axis: int, dst: UMat | None = ..., lastIndex: bool = ...) -> UMat: ...
  5123. @_typing.overload
  5124. def remap(src: cv2.typing.MatLike, map1: cv2.typing.MatLike, map2: cv2.typing.MatLike, interpolation: int, dst: cv2.typing.MatLike | None = ..., borderMode: int = ..., borderValue: cv2.typing.Scalar = ...) -> cv2.typing.MatLike: ...
  5125. @_typing.overload
  5126. def remap(src: UMat, map1: UMat, map2: UMat, interpolation: int, dst: UMat | None = ..., borderMode: int = ..., borderValue: cv2.typing.Scalar = ...) -> UMat: ...
  5127. @_typing.overload
  5128. def repeat(src: cv2.typing.MatLike, ny: int, nx: int, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  5129. @_typing.overload
  5130. def repeat(src: UMat, ny: int, nx: int, dst: UMat | None = ...) -> UMat: ...
  5131. @_typing.overload
  5132. def reprojectImageTo3D(disparity: cv2.typing.MatLike, Q: cv2.typing.MatLike, _3dImage: cv2.typing.MatLike | None = ..., handleMissingValues: bool = ..., ddepth: int = ...) -> cv2.typing.MatLike: ...
  5133. @_typing.overload
  5134. def reprojectImageTo3D(disparity: UMat, Q: UMat, _3dImage: UMat | None = ..., handleMissingValues: bool = ..., ddepth: int = ...) -> UMat: ...
  5135. @_typing.overload
  5136. def resize(src: cv2.typing.MatLike, dsize: cv2.typing.Size | None, dst: cv2.typing.MatLike | None = ..., fx: float = ..., fy: float = ..., interpolation: int = ...) -> cv2.typing.MatLike: ...
  5137. @_typing.overload
  5138. def resize(src: UMat, dsize: cv2.typing.Size | None, dst: UMat | None = ..., fx: float = ..., fy: float = ..., interpolation: int = ...) -> UMat: ...
  5139. @_typing.overload
  5140. def resizeWindow(winname: str, width: int, height: int) -> None: ...
  5141. @_typing.overload
  5142. def resizeWindow(winname: str, size: cv2.typing.Size) -> None: ...
  5143. @_typing.overload
  5144. def rotate(src: cv2.typing.MatLike, rotateCode: int, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  5145. @_typing.overload
  5146. def rotate(src: UMat, rotateCode: int, dst: UMat | None = ...) -> UMat: ...
  5147. @_typing.overload
  5148. def rotatedRectangleIntersection(rect1: cv2.typing.RotatedRect, rect2: cv2.typing.RotatedRect, intersectingRegion: cv2.typing.MatLike | None = ...) -> tuple[int, cv2.typing.MatLike]: ...
  5149. @_typing.overload
  5150. def rotatedRectangleIntersection(rect1: cv2.typing.RotatedRect, rect2: cv2.typing.RotatedRect, intersectingRegion: UMat | None = ...) -> tuple[int, UMat]: ...
  5151. @_typing.overload
  5152. def sampsonDistance(pt1: cv2.typing.MatLike, pt2: cv2.typing.MatLike, F: cv2.typing.MatLike) -> float: ...
  5153. @_typing.overload
  5154. def sampsonDistance(pt1: UMat, pt2: UMat, F: UMat) -> float: ...
  5155. @_typing.overload
  5156. def scaleAdd(src1: cv2.typing.MatLike, alpha: float, src2: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  5157. @_typing.overload
  5158. def scaleAdd(src1: UMat, alpha: float, src2: UMat, dst: UMat | None = ...) -> UMat: ...
  5159. @_typing.overload
  5160. def seamlessClone(src: cv2.typing.MatLike, dst: cv2.typing.MatLike, mask: cv2.typing.MatLike, p: cv2.typing.Point, flags: int, blend: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  5161. @_typing.overload
  5162. def seamlessClone(src: UMat, dst: UMat, mask: UMat, p: cv2.typing.Point, flags: int, blend: UMat | None = ...) -> UMat: ...
  5163. @_typing.overload
  5164. def selectROI(windowName: str, img: cv2.typing.MatLike, showCrosshair: bool = ..., fromCenter: bool = ..., printNotice: bool = ...) -> cv2.typing.Rect: ...
  5165. @_typing.overload
  5166. def selectROI(windowName: str, img: UMat, showCrosshair: bool = ..., fromCenter: bool = ..., printNotice: bool = ...) -> cv2.typing.Rect: ...
  5167. @_typing.overload
  5168. def selectROI(img: cv2.typing.MatLike, showCrosshair: bool = ..., fromCenter: bool = ..., printNotice: bool = ...) -> cv2.typing.Rect: ...
  5169. @_typing.overload
  5170. def selectROI(img: UMat, showCrosshair: bool = ..., fromCenter: bool = ..., printNotice: bool = ...) -> cv2.typing.Rect: ...
  5171. @_typing.overload
  5172. def selectROIs(windowName: str, img: cv2.typing.MatLike, showCrosshair: bool = ..., fromCenter: bool = ..., printNotice: bool = ...) -> _typing.Sequence[cv2.typing.Rect]: ...
  5173. @_typing.overload
  5174. def selectROIs(windowName: str, img: UMat, showCrosshair: bool = ..., fromCenter: bool = ..., printNotice: bool = ...) -> _typing.Sequence[cv2.typing.Rect]: ...
  5175. @_typing.overload
  5176. def sepFilter2D(src: cv2.typing.MatLike, ddepth: int, kernelX: cv2.typing.MatLike, kernelY: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ..., anchor: cv2.typing.Point = ..., delta: float = ..., borderType: int = ...) -> cv2.typing.MatLike: ...
  5177. @_typing.overload
  5178. def sepFilter2D(src: UMat, ddepth: int, kernelX: UMat, kernelY: UMat, dst: UMat | None = ..., anchor: cv2.typing.Point = ..., delta: float = ..., borderType: int = ...) -> UMat: ...
  5179. @_typing.overload
  5180. def setIdentity(mtx: cv2.typing.MatLike, s: cv2.typing.Scalar = ...) -> cv2.typing.MatLike: ...
  5181. @_typing.overload
  5182. def setIdentity(mtx: UMat, s: cv2.typing.Scalar = ...) -> UMat: ...
  5183. def setNumThreads(nthreads: int) -> None: ...
  5184. def setRNGSeed(seed: int) -> None: ...
  5185. def setTrackbarMax(trackbarname: str, winname: str, maxval: int) -> None: ...
  5186. def setTrackbarMin(trackbarname: str, winname: str, minval: int) -> None: ...
  5187. def setTrackbarPos(trackbarname: str, winname: str, pos: int) -> None: ...
  5188. def setUseOpenVX(flag: bool) -> None: ...
  5189. def setUseOptimized(onoff: bool) -> None: ...
  5190. def setWindowProperty(winname: str, prop_id: int, prop_value: float) -> None: ...
  5191. def setWindowTitle(winname: str, title: str) -> None: ...
  5192. @_typing.overload
  5193. def solve(src1: cv2.typing.MatLike, src2: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ..., flags: int = ...) -> tuple[bool, cv2.typing.MatLike]: ...
  5194. @_typing.overload
  5195. def solve(src1: UMat, src2: UMat, dst: UMat | None = ..., flags: int = ...) -> tuple[bool, UMat]: ...
  5196. @_typing.overload
  5197. def solveCubic(coeffs: cv2.typing.MatLike, roots: cv2.typing.MatLike | None = ...) -> tuple[int, cv2.typing.MatLike]: ...
  5198. @_typing.overload
  5199. def solveCubic(coeffs: UMat, roots: UMat | None = ...) -> tuple[int, UMat]: ...
  5200. @_typing.overload
  5201. def solveLP(Func: cv2.typing.MatLike, Constr: cv2.typing.MatLike, constr_eps: float, z: cv2.typing.MatLike | None = ...) -> tuple[int, cv2.typing.MatLike]: ...
  5202. @_typing.overload
  5203. def solveLP(Func: UMat, Constr: UMat, constr_eps: float, z: UMat | None = ...) -> tuple[int, UMat]: ...
  5204. @_typing.overload
  5205. def solveLP(Func: cv2.typing.MatLike, Constr: cv2.typing.MatLike, z: cv2.typing.MatLike | None = ...) -> tuple[int, cv2.typing.MatLike]: ...
  5206. @_typing.overload
  5207. def solveLP(Func: UMat, Constr: UMat, z: UMat | None = ...) -> tuple[int, UMat]: ...
  5208. @_typing.overload
  5209. def solveP3P(objectPoints: cv2.typing.MatLike, imagePoints: cv2.typing.MatLike, cameraMatrix: cv2.typing.MatLike, distCoeffs: cv2.typing.MatLike | None, flags: int, rvecs: _typing.Sequence[cv2.typing.MatLike] | None = ..., tvecs: _typing.Sequence[cv2.typing.MatLike] | None = ...) -> tuple[int, _typing.Sequence[cv2.typing.MatLike], _typing.Sequence[cv2.typing.MatLike]]: ...
  5210. @_typing.overload
  5211. def solveP3P(objectPoints: UMat, imagePoints: UMat, cameraMatrix: UMat, distCoeffs: UMat | None, flags: int, rvecs: _typing.Sequence[UMat] | None = ..., tvecs: _typing.Sequence[UMat] | None = ...) -> tuple[int, _typing.Sequence[UMat], _typing.Sequence[UMat]]: ...
  5212. @_typing.overload
  5213. def solvePnP(objectPoints: cv2.typing.MatLike, imagePoints: cv2.typing.MatLike, cameraMatrix: cv2.typing.MatLike, distCoeffs: cv2.typing.MatLike | None, rvec: cv2.typing.MatLike | None = ..., tvec: cv2.typing.MatLike | None = ..., useExtrinsicGuess: bool = ..., flags: int = ...) -> tuple[bool, cv2.typing.MatLike, cv2.typing.MatLike]: ...
  5214. @_typing.overload
  5215. def solvePnP(objectPoints: UMat, imagePoints: UMat, cameraMatrix: UMat, distCoeffs: UMat | None, rvec: UMat | None = ..., tvec: UMat | None = ..., useExtrinsicGuess: bool = ..., flags: int = ...) -> tuple[bool, UMat, UMat]: ...
  5216. @_typing.overload
  5217. def solvePnPGeneric(objectPoints: cv2.typing.MatLike, imagePoints: cv2.typing.MatLike, cameraMatrix: cv2.typing.MatLike, distCoeffs: cv2.typing.MatLike | None, rvecs: _typing.Sequence[cv2.typing.MatLike] | None = ..., tvecs: _typing.Sequence[cv2.typing.MatLike] | None = ..., useExtrinsicGuess: bool = ..., flags: SolvePnPMethod = ..., rvec: cv2.typing.MatLike | None = ..., tvec: cv2.typing.MatLike | None = ..., reprojectionError: cv2.typing.MatLike | None = ...) -> tuple[int, _typing.Sequence[cv2.typing.MatLike], _typing.Sequence[cv2.typing.MatLike], cv2.typing.MatLike]: ...
  5218. @_typing.overload
  5219. def solvePnPGeneric(objectPoints: UMat, imagePoints: UMat, cameraMatrix: UMat, distCoeffs: UMat | None, rvecs: _typing.Sequence[UMat] | None = ..., tvecs: _typing.Sequence[UMat] | None = ..., useExtrinsicGuess: bool = ..., flags: SolvePnPMethod = ..., rvec: UMat | None = ..., tvec: UMat | None = ..., reprojectionError: UMat | None = ...) -> tuple[int, _typing.Sequence[UMat], _typing.Sequence[UMat], UMat]: ...
  5220. @_typing.overload
  5221. def solvePnPRansac(objectPoints: cv2.typing.MatLike, imagePoints: cv2.typing.MatLike, cameraMatrix: cv2.typing.MatLike, distCoeffs: cv2.typing.MatLike | None, rvec: cv2.typing.MatLike | None = ..., tvec: cv2.typing.MatLike | None = ..., useExtrinsicGuess: bool = ..., iterationsCount: int = ..., reprojectionError: float = ..., confidence: float = ..., inliers: cv2.typing.MatLike | None = ..., flags: int = ...) -> tuple[bool, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike]: ...
  5222. @_typing.overload
  5223. def solvePnPRansac(objectPoints: UMat, imagePoints: UMat, cameraMatrix: UMat, distCoeffs: UMat | None, rvec: UMat | None = ..., tvec: UMat | None = ..., useExtrinsicGuess: bool = ..., iterationsCount: int = ..., reprojectionError: float = ..., confidence: float = ..., inliers: UMat | None = ..., flags: int = ...) -> tuple[bool, UMat, UMat, UMat]: ...
  5224. @_typing.overload
  5225. def solvePnPRansac(objectPoints: cv2.typing.MatLike, imagePoints: cv2.typing.MatLike, cameraMatrix: cv2.typing.MatLike, distCoeffs: cv2.typing.MatLike | None, rvec: cv2.typing.MatLike | None = ..., tvec: cv2.typing.MatLike | None = ..., inliers: cv2.typing.MatLike | None = ..., params: UsacParams = ...) -> tuple[bool, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike]: ...
  5226. @_typing.overload
  5227. def solvePnPRansac(objectPoints: UMat, imagePoints: UMat, cameraMatrix: UMat, distCoeffs: UMat | None, rvec: UMat | None = ..., tvec: UMat | None = ..., inliers: UMat | None = ..., params: UsacParams = ...) -> tuple[bool, UMat, UMat, UMat, UMat]: ...
  5228. @_typing.overload
  5229. def solvePnPRefineLM(objectPoints: cv2.typing.MatLike, imagePoints: cv2.typing.MatLike, cameraMatrix: cv2.typing.MatLike, distCoeffs: cv2.typing.MatLike | None, rvec: cv2.typing.MatLike, tvec: cv2.typing.MatLike, criteria: cv2.typing.TermCriteria = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike]: ...
  5230. @_typing.overload
  5231. def solvePnPRefineLM(objectPoints: UMat, imagePoints: UMat, cameraMatrix: UMat, distCoeffs: UMat | None, rvec: UMat, tvec: UMat, criteria: cv2.typing.TermCriteria = ...) -> tuple[UMat, UMat]: ...
  5232. @_typing.overload
  5233. def solvePnPRefineVVS(objectPoints: cv2.typing.MatLike, imagePoints: cv2.typing.MatLike, cameraMatrix: cv2.typing.MatLike, distCoeffs: cv2.typing.MatLike | None, rvec: cv2.typing.MatLike, tvec: cv2.typing.MatLike, criteria: cv2.typing.TermCriteria = ..., VVSlambda: float = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike]: ...
  5234. @_typing.overload
  5235. def solvePnPRefineVVS(objectPoints: UMat, imagePoints: UMat, cameraMatrix: UMat, distCoeffs: UMat | None, rvec: UMat, tvec: UMat, criteria: cv2.typing.TermCriteria = ..., VVSlambda: float = ...) -> tuple[UMat, UMat]: ...
  5236. @_typing.overload
  5237. def solvePoly(coeffs: cv2.typing.MatLike, roots: cv2.typing.MatLike | None = ..., maxIters: int = ...) -> tuple[float, cv2.typing.MatLike]: ...
  5238. @_typing.overload
  5239. def solvePoly(coeffs: UMat, roots: UMat | None = ..., maxIters: int = ...) -> tuple[float, UMat]: ...
  5240. @_typing.overload
  5241. def sort(src: cv2.typing.MatLike, flags: int, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  5242. @_typing.overload
  5243. def sort(src: UMat, flags: int, dst: UMat | None = ...) -> UMat: ...
  5244. @_typing.overload
  5245. def sortIdx(src: cv2.typing.MatLike, flags: int, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  5246. @_typing.overload
  5247. def sortIdx(src: UMat, flags: int, dst: UMat | None = ...) -> UMat: ...
  5248. @_typing.overload
  5249. def spatialGradient(src: cv2.typing.MatLike, dx: cv2.typing.MatLike | None = ..., dy: cv2.typing.MatLike | None = ..., ksize: int = ..., borderType: int = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike]: ...
  5250. @_typing.overload
  5251. def spatialGradient(src: UMat, dx: UMat | None = ..., dy: UMat | None = ..., ksize: int = ..., borderType: int = ...) -> tuple[UMat, UMat]: ...
  5252. @_typing.overload
  5253. def split(m: cv2.typing.MatLike, mv: _typing.Sequence[cv2.typing.MatLike] | None = ...) -> _typing.Sequence[cv2.typing.MatLike]: ...
  5254. @_typing.overload
  5255. def split(m: UMat, mv: _typing.Sequence[UMat] | None = ...) -> _typing.Sequence[UMat]: ...
  5256. @_typing.overload
  5257. def sqrBoxFilter(src: cv2.typing.MatLike, ddepth: int, ksize: cv2.typing.Size, dst: cv2.typing.MatLike | None = ..., anchor: cv2.typing.Point = ..., normalize: bool = ..., borderType: int = ...) -> cv2.typing.MatLike: ...
  5258. @_typing.overload
  5259. def sqrBoxFilter(src: UMat, ddepth: int, ksize: cv2.typing.Size, dst: UMat | None = ..., anchor: cv2.typing.Point = ..., normalize: bool = ..., borderType: int = ...) -> UMat: ...
  5260. @_typing.overload
  5261. def sqrt(src: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  5262. @_typing.overload
  5263. def sqrt(src: UMat, dst: UMat | None = ...) -> UMat: ...
  5264. @_typing.overload
  5265. def stackBlur(src: cv2.typing.MatLike, ksize: cv2.typing.Size, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  5266. @_typing.overload
  5267. def stackBlur(src: UMat, ksize: cv2.typing.Size, dst: UMat | None = ...) -> UMat: ...
  5268. def startWindowThread() -> int: ...
  5269. @_typing.overload
  5270. def stereoCalibrate(objectPoints: _typing.Sequence[cv2.typing.MatLike], imagePoints1: _typing.Sequence[cv2.typing.MatLike], imagePoints2: _typing.Sequence[cv2.typing.MatLike], cameraMatrix1: cv2.typing.MatLike, distCoeffs1: cv2.typing.MatLike, cameraMatrix2: cv2.typing.MatLike, distCoeffs2: cv2.typing.MatLike, imageSize: cv2.typing.Size, R: cv2.typing.MatLike | None = ..., T: cv2.typing.MatLike | None = ..., E: cv2.typing.MatLike | None = ..., F: cv2.typing.MatLike | None = ..., flags: int = ..., criteria: cv2.typing.TermCriteria = ...) -> tuple[float, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike]: ...
  5271. @_typing.overload
  5272. def stereoCalibrate(objectPoints: _typing.Sequence[UMat], imagePoints1: _typing.Sequence[UMat], imagePoints2: _typing.Sequence[UMat], cameraMatrix1: UMat, distCoeffs1: UMat, cameraMatrix2: UMat, distCoeffs2: UMat, imageSize: cv2.typing.Size, R: UMat | None = ..., T: UMat | None = ..., E: UMat | None = ..., F: UMat | None = ..., flags: int = ..., criteria: cv2.typing.TermCriteria = ...) -> tuple[float, UMat, UMat, UMat, UMat, UMat, UMat, UMat, UMat]: ...
  5273. @_typing.overload
  5274. def stereoCalibrate(objectPoints: _typing.Sequence[cv2.typing.MatLike], imagePoints1: _typing.Sequence[cv2.typing.MatLike], imagePoints2: _typing.Sequence[cv2.typing.MatLike], cameraMatrix1: cv2.typing.MatLike, distCoeffs1: cv2.typing.MatLike, cameraMatrix2: cv2.typing.MatLike, distCoeffs2: cv2.typing.MatLike, imageSize: cv2.typing.Size, R: cv2.typing.MatLike, T: cv2.typing.MatLike, E: cv2.typing.MatLike | None = ..., F: cv2.typing.MatLike | None = ..., perViewErrors: cv2.typing.MatLike | None = ..., flags: int = ..., criteria: cv2.typing.TermCriteria = ...) -> tuple[float, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike]: ...
  5275. @_typing.overload
  5276. def stereoCalibrate(objectPoints: _typing.Sequence[UMat], imagePoints1: _typing.Sequence[UMat], imagePoints2: _typing.Sequence[UMat], cameraMatrix1: UMat, distCoeffs1: UMat, cameraMatrix2: UMat, distCoeffs2: UMat, imageSize: cv2.typing.Size, R: UMat, T: UMat, E: UMat | None = ..., F: UMat | None = ..., perViewErrors: UMat | None = ..., flags: int = ..., criteria: cv2.typing.TermCriteria = ...) -> tuple[float, UMat, UMat, UMat, UMat, UMat, UMat, UMat, UMat, UMat]: ...
  5277. @_typing.overload
  5278. def stereoCalibrateExtended(objectPoints: _typing.Sequence[cv2.typing.MatLike], imagePoints1: _typing.Sequence[cv2.typing.MatLike], imagePoints2: _typing.Sequence[cv2.typing.MatLike], cameraMatrix1: cv2.typing.MatLike, distCoeffs1: cv2.typing.MatLike, cameraMatrix2: cv2.typing.MatLike, distCoeffs2: cv2.typing.MatLike, imageSize: cv2.typing.Size, R: cv2.typing.MatLike, T: cv2.typing.MatLike, E: cv2.typing.MatLike | None = ..., F: cv2.typing.MatLike | None = ..., rvecs: _typing.Sequence[cv2.typing.MatLike] | None = ..., tvecs: _typing.Sequence[cv2.typing.MatLike] | None = ..., perViewErrors: cv2.typing.MatLike | None = ..., flags: int = ..., criteria: cv2.typing.TermCriteria = ...) -> tuple[float, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike, _typing.Sequence[cv2.typing.MatLike], _typing.Sequence[cv2.typing.MatLike], cv2.typing.MatLike]: ...
  5279. @_typing.overload
  5280. def stereoCalibrateExtended(objectPoints: _typing.Sequence[UMat], imagePoints1: _typing.Sequence[UMat], imagePoints2: _typing.Sequence[UMat], cameraMatrix1: UMat, distCoeffs1: UMat, cameraMatrix2: UMat, distCoeffs2: UMat, imageSize: cv2.typing.Size, R: UMat, T: UMat, E: UMat | None = ..., F: UMat | None = ..., rvecs: _typing.Sequence[UMat] | None = ..., tvecs: _typing.Sequence[UMat] | None = ..., perViewErrors: UMat | None = ..., flags: int = ..., criteria: cv2.typing.TermCriteria = ...) -> tuple[float, UMat, UMat, UMat, UMat, UMat, UMat, UMat, UMat, _typing.Sequence[UMat], _typing.Sequence[UMat], UMat]: ...
  5281. @_typing.overload
  5282. def stereoRectify(cameraMatrix1: cv2.typing.MatLike, distCoeffs1: cv2.typing.MatLike, cameraMatrix2: cv2.typing.MatLike, distCoeffs2: cv2.typing.MatLike, imageSize: cv2.typing.Size, R: cv2.typing.MatLike, T: cv2.typing.MatLike, R1: cv2.typing.MatLike | None = ..., R2: cv2.typing.MatLike | None = ..., P1: cv2.typing.MatLike | None = ..., P2: cv2.typing.MatLike | None = ..., Q: cv2.typing.MatLike | None = ..., flags: int = ..., alpha: float = ..., newImageSize: cv2.typing.Size = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.Rect, cv2.typing.Rect]: ...
  5283. @_typing.overload
  5284. def stereoRectify(cameraMatrix1: UMat, distCoeffs1: UMat, cameraMatrix2: UMat, distCoeffs2: UMat, imageSize: cv2.typing.Size, R: UMat, T: UMat, R1: UMat | None = ..., R2: UMat | None = ..., P1: UMat | None = ..., P2: UMat | None = ..., Q: UMat | None = ..., flags: int = ..., alpha: float = ..., newImageSize: cv2.typing.Size = ...) -> tuple[UMat, UMat, UMat, UMat, UMat, cv2.typing.Rect, cv2.typing.Rect]: ...
  5285. @_typing.overload
  5286. def stereoRectifyUncalibrated(points1: cv2.typing.MatLike, points2: cv2.typing.MatLike, F: cv2.typing.MatLike, imgSize: cv2.typing.Size, H1: cv2.typing.MatLike | None = ..., H2: cv2.typing.MatLike | None = ..., threshold: float = ...) -> tuple[bool, cv2.typing.MatLike, cv2.typing.MatLike]: ...
  5287. @_typing.overload
  5288. def stereoRectifyUncalibrated(points1: UMat, points2: UMat, F: UMat, imgSize: cv2.typing.Size, H1: UMat | None = ..., H2: UMat | None = ..., threshold: float = ...) -> tuple[bool, UMat, UMat]: ...
  5289. @_typing.overload
  5290. def stylization(src: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ..., sigma_s: float = ..., sigma_r: float = ...) -> cv2.typing.MatLike: ...
  5291. @_typing.overload
  5292. def stylization(src: UMat, dst: UMat | None = ..., sigma_s: float = ..., sigma_r: float = ...) -> UMat: ...
  5293. @_typing.overload
  5294. def subtract(src1: cv2.typing.MatLike, src2: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ..., mask: cv2.typing.MatLike | None = ..., dtype: int = ...) -> cv2.typing.MatLike: ...
  5295. @_typing.overload
  5296. def subtract(src1: UMat, src2: UMat, dst: UMat | None = ..., mask: UMat | None = ..., dtype: int = ...) -> UMat: ...
  5297. @_typing.overload
  5298. def sumElems(src: cv2.typing.MatLike) -> tuple[float, float, float, float]: ...
  5299. @_typing.overload
  5300. def sumElems(src: UMat) -> tuple[float, float, float, float]: ...
  5301. @_typing.overload
  5302. def textureFlattening(src: cv2.typing.MatLike, mask: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ..., low_threshold: float = ..., high_threshold: float = ..., kernel_size: int = ...) -> cv2.typing.MatLike: ...
  5303. @_typing.overload
  5304. def textureFlattening(src: UMat, mask: UMat, dst: UMat | None = ..., low_threshold: float = ..., high_threshold: float = ..., kernel_size: int = ...) -> UMat: ...
  5305. @_typing.overload
  5306. def threshold(src: cv2.typing.MatLike, thresh: float, maxval: float, type: int, dst: cv2.typing.MatLike | None = ...) -> tuple[float, cv2.typing.MatLike]: ...
  5307. @_typing.overload
  5308. def threshold(src: UMat, thresh: float, maxval: float, type: int, dst: UMat | None = ...) -> tuple[float, UMat]: ...
  5309. @_typing.overload
  5310. def thresholdWithMask(src: cv2.typing.MatLike, dst: cv2.typing.MatLike, mask: cv2.typing.MatLike, thresh: float, maxval: float, type: int) -> tuple[float, cv2.typing.MatLike]: ...
  5311. @_typing.overload
  5312. def thresholdWithMask(src: UMat, dst: UMat, mask: UMat, thresh: float, maxval: float, type: int) -> tuple[float, UMat]: ...
  5313. @_typing.overload
  5314. def trace(mtx: cv2.typing.MatLike) -> tuple[float, float, float, float]: ...
  5315. @_typing.overload
  5316. def trace(mtx: UMat) -> tuple[float, float, float, float]: ...
  5317. @_typing.overload
  5318. def transform(src: cv2.typing.MatLike, m: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  5319. @_typing.overload
  5320. def transform(src: UMat, m: UMat, dst: UMat | None = ...) -> UMat: ...
  5321. @_typing.overload
  5322. def transpose(src: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  5323. @_typing.overload
  5324. def transpose(src: UMat, dst: UMat | None = ...) -> UMat: ...
  5325. @_typing.overload
  5326. def transposeND(src: cv2.typing.MatLike, order: _typing.Sequence[int], dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  5327. @_typing.overload
  5328. def transposeND(src: UMat, order: _typing.Sequence[int], dst: UMat | None = ...) -> UMat: ...
  5329. @_typing.overload
  5330. def triangulatePoints(projMatr1: cv2.typing.MatLike, projMatr2: cv2.typing.MatLike, projPoints1: cv2.typing.MatLike, projPoints2: cv2.typing.MatLike, points4D: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  5331. @_typing.overload
  5332. def triangulatePoints(projMatr1: UMat, projMatr2: UMat, projPoints1: UMat, projPoints2: UMat, points4D: UMat | None = ...) -> UMat: ...
  5333. @_typing.overload
  5334. def undistort(src: cv2.typing.MatLike, cameraMatrix: cv2.typing.MatLike, distCoeffs: cv2.typing.MatLike | None, dst: cv2.typing.MatLike | None = ..., newCameraMatrix: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  5335. @_typing.overload
  5336. def undistort(src: UMat, cameraMatrix: UMat, distCoeffs: UMat | None, dst: UMat | None = ..., newCameraMatrix: UMat | None = ...) -> UMat: ...
  5337. @_typing.overload
  5338. def undistortImagePoints(src: cv2.typing.MatLike, cameraMatrix: cv2.typing.MatLike, distCoeffs: cv2.typing.MatLike, dst: cv2.typing.MatLike | None = ..., arg1: cv2.typing.TermCriteria = ...) -> cv2.typing.MatLike: ...
  5339. @_typing.overload
  5340. def undistortImagePoints(src: UMat, cameraMatrix: UMat, distCoeffs: UMat, dst: UMat | None = ..., arg1: cv2.typing.TermCriteria = ...) -> UMat: ...
  5341. @_typing.overload
  5342. def undistortPoints(src: cv2.typing.MatLike, cameraMatrix: cv2.typing.MatLike, distCoeffs: cv2.typing.MatLike | None, dst: cv2.typing.MatLike | None = ..., R: cv2.typing.MatLike | None = ..., P: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  5343. @_typing.overload
  5344. def undistortPoints(src: UMat, cameraMatrix: UMat, distCoeffs: UMat | None, dst: UMat | None = ..., R: UMat | None = ..., P: UMat | None = ...) -> UMat: ...
  5345. @_typing.overload
  5346. def undistortPointsIter(src: cv2.typing.MatLike, cameraMatrix: cv2.typing.MatLike, distCoeffs: cv2.typing.MatLike, R: cv2.typing.MatLike, P: cv2.typing.MatLike, criteria: cv2.typing.TermCriteria, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  5347. @_typing.overload
  5348. def undistortPointsIter(src: UMat, cameraMatrix: UMat, distCoeffs: UMat, R: UMat, P: UMat, criteria: cv2.typing.TermCriteria, dst: UMat | None = ...) -> UMat: ...
  5349. def useOpenVX() -> bool: ...
  5350. def useOptimized() -> bool: ...
  5351. @_typing.overload
  5352. def validateDisparity(disparity: cv2.typing.MatLike, cost: cv2.typing.MatLike, minDisparity: int, numberOfDisparities: int, disp12MaxDisp: int = ...) -> cv2.typing.MatLike: ...
  5353. @_typing.overload
  5354. def validateDisparity(disparity: UMat, cost: UMat, minDisparity: int, numberOfDisparities: int, disp12MaxDisp: int = ...) -> UMat: ...
  5355. @_typing.overload
  5356. def vconcat(src: _typing.Sequence[cv2.typing.MatLike], dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  5357. @_typing.overload
  5358. def vconcat(src: _typing.Sequence[UMat], dst: UMat | None = ...) -> UMat: ...
  5359. def waitKey(delay: int = ...) -> int: ...
  5360. def waitKeyEx(delay: int = ...) -> int: ...
  5361. @_typing.overload
  5362. def warpAffine(src: cv2.typing.MatLike, M: cv2.typing.MatLike, dsize: cv2.typing.Size, dst: cv2.typing.MatLike | None = ..., flags: int = ..., borderMode: int = ..., borderValue: cv2.typing.Scalar = ...) -> cv2.typing.MatLike: ...
  5363. @_typing.overload
  5364. def warpAffine(src: UMat, M: UMat, dsize: cv2.typing.Size, dst: UMat | None = ..., flags: int = ..., borderMode: int = ..., borderValue: cv2.typing.Scalar = ...) -> UMat: ...
  5365. @_typing.overload
  5366. def warpPerspective(src: cv2.typing.MatLike, M: cv2.typing.MatLike, dsize: cv2.typing.Size, dst: cv2.typing.MatLike | None = ..., flags: int = ..., borderMode: int = ..., borderValue: cv2.typing.Scalar = ...) -> cv2.typing.MatLike: ...
  5367. @_typing.overload
  5368. def warpPerspective(src: UMat, M: UMat, dsize: cv2.typing.Size, dst: UMat | None = ..., flags: int = ..., borderMode: int = ..., borderValue: cv2.typing.Scalar = ...) -> UMat: ...
  5369. @_typing.overload
  5370. def warpPolar(src: cv2.typing.MatLike, dsize: cv2.typing.Size, center: cv2.typing.Point2f, maxRadius: float, flags: int, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
  5371. @_typing.overload
  5372. def warpPolar(src: UMat, dsize: cv2.typing.Size, center: cv2.typing.Point2f, maxRadius: float, flags: int, dst: UMat | None = ...) -> UMat: ...
  5373. @_typing.overload
  5374. def watershed(image: cv2.typing.MatLike, markers: cv2.typing.MatLike) -> cv2.typing.MatLike: ...
  5375. @_typing.overload
  5376. def watershed(image: UMat, markers: UMat) -> UMat: ...
  5377. @_typing.overload
  5378. def writeOpticalFlow(path: str, flow: cv2.typing.MatLike) -> bool: ...
  5379. @_typing.overload
  5380. def writeOpticalFlow(path: str, flow: UMat) -> bool: ...
  5381. def createTrackbar(trackbarName: str, windowName: str, value: int, count: int, onChange: _typing.Callable[[int], None]) -> None: ...
  5382. def createButton(buttonName: str, onChange: _typing.Callable[[tuple[int] | tuple[int, _typing.Any]], None], userData: _typing.Any | None = ..., buttonType: int = ..., initialButtonState: int = ...) -> None: ...
  5383. def setMouseCallback(windowName: str, onMouse: _typing.Callable[[int, int, int, int, _typing.Any | None], None], param: _typing.Any | None = ...) -> None: ...
  5384. def CV_8UC(channels: int) -> int: ...
  5385. def CV_8SC(channels: int) -> int: ...
  5386. def CV_16UC(channels: int) -> int: ...
  5387. def CV_16SC(channels: int) -> int: ...
  5388. def CV_32SC(channels: int) -> int: ...
  5389. def CV_32FC(channels: int) -> int: ...
  5390. def CV_64FC(channels: int) -> int: ...
  5391. def CV_16FC(channels: int) -> int: ...
  5392. def CV_MAKETYPE(depth: int, channels: int) -> int: ...
  5393. def dnn_registerLayer(layerTypeName: str, layerClass: _typing.Type[cv2.dnn.LayerProtocol]) -> None: ...
  5394. def dnn_unregisterLayer(layerTypeName: str) -> None: ...
  5395. def redirectError(onError: _typing.Callable[[int, str, str, str, int], None] | None) -> None: ...