__init__.pyi 308 KB

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