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