__init__.pyi 295 KB

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