__init__.pyi 281 KB

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