__init__.pyi 302 KB

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