{"slug":"medien-halowerk-com-v1-oss-opencv-planar-camera-calibrate-1e0586","title":"Takes matched object and image points from multiple views of a planar calibratio","host":"medien.halowerk.com","method":"POST","resource":"https://medien.halowerk.com/v1/oss-opencv-planar-camera-calibrate","category":"image","description":"Takes matched object and image points from multiple views of a planar calibration target and returns the camera matrix, five distortion coefficients and the RMS reprojection error that the fit actually achieved. The error figure is the point: it tells a caller whether the calibration is usable befor","price_listed":0.003,"price_asked":0.003,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":1223,"reported_calls_30d":0,"reported_payers_30d":0,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"image_points":[[[253.33333333333331,184.88888888888889],[276.13938193432256,185.2860233504561],[299.2136216355833,185.68782797343826],[322.5608111669504,186.09438562425575],[346.18582251205737,186.50578114148055],[370.0936442976854,186.92210139485704],[253.36245284629865,208.97160510369656],[276.06356310474797,209.50703487060724],[299.03039288182714,210.0487319142416],[322.2676350665074,210.59680692136425],[345.7800937107183,211.15137320063604],[369.5726873404249,211.71254676070953],[253.39130671904118,232.83462883575845],[275.988439931764,233.50581259488294],[298.84885509114474,234.18481639759457],[321.9771804543365,234.8717777131468],[345.3781533986382,235.56683725189765],[369.0566236564609,236.27013906139513],[253.4198985699764,256.48095262381844],[275.91400288486005,257.28540113116827],[298.6689849629685,258.0991793154989],[321.6894096110561,258.922450426341],[344.97994875992123,259.7553815442643],[368.5453846253527,260.5981436939202],[253.44823195209904,279.91351490183797],[275.8402426068251,280.8487897252426],[298.490759622866,281.7948619037913],[321.40428551112484,282.7519194994296],[344.5854279558831,283.7201549670098],[368.03890290374767,284.69976528331074]],[[276.3636363636363,206.1818181818182],[295.1854480132492,204.10820522117373],[314.1275998277712,202.02133429523414],[333.19124962875316,199.92107784593978],[352.37757013843833,197.80730667361055],[371.6877492202431,195.67988991045218],[277.58804217518997,225.36628885885884],[296.53329556381897,223.3410310135733],[315.6004499863493,221.30274188175957],[334.79068577722336,219.25129528502657],[354.1051985587012,217.18656341070738],[373.54519948917624,215.10841678531398],[278.82804653914104,244.7951637752862],[297.89836969412823,242.81966784520336],[317.0921853082779,240.83137932379995],[336.4106968162974,238.83017354720192],[355.85512334048946,236.81592422645602],[375.4266999472121,234.78850342096356],[280.0839494475122,264.47314332381984],[299.281002782602,262.54885851976036],[318.6031713609498,260.6120323450459],[338.05168232417935,258.66254179277877],[357.6277789144413,256.70026224216747],[377.33272073933733,254.72506743197152],[281.35605863457175,284.4050492057197],[300.68153581378783,282.53346864418523],[320.13378320827195,280.6496109901642],[339.71405229326007,278.75335504423145],[359.4236110711203,276.8445780063875],[379.26374434508114,274.9231554495499]],[[248,196.6],[268.92758398854727,198.95672901316553],[289.63851774869147,201.28906028031003],[310.13614822312275,203.59737071244945],[330.4237537669539,205.88202949671097],[350.5045458956884,208.14339829317757],[245.83287868990308,217.3630715996041],[266.56085511749944,219.5891203581933],[287.07639781144024,221.79235512667893],[307.38275586017517,223.97312483585674],[327.48311243023693,226.13177133694094],[347.38058642969537,228.26862958020803],[243.70919546894103,237.70996522585054],[264.2413233892375,239.81006198786233],[284.565112269152,241.88884911524661],[304.6837171191127,243.94664931333676],[324.6002295650686,245.98377880428313],[344.3176794322862,248.00054748904964],[241.62765727735473,257.6530696140786],[261.96759093861056,259.63174004702057],[282.1031630936383,261.590530175693],[302.03743827072344,263.5297381176618],[321.77342003021784,265.449656059527],[341.3140524732103,267.35057040368645],[239.58702187333213,277.20428661563807],[259.73831456265776,279.0658641528881],[279.68911054426286,280.9089197931492],[299.4423872900633,282.73372859544224],[319.0010636065373,284.5405601992718],[338.36800107250707,286.32967895744815]],[[267.5,162.5],[292.6496021572847,159.66617141144405],[317.1652775372798,156.90377297169522],[341.0706961844347,154.2101375670459],[364.38836421602406,151.5827292337799],[387.13969449558465,149.01913519476952],[271.9684876788127,188.8534192896406],[297.16484739263797,185.6701028202589],[321.7235079324782,182.56735347668877],[345.6683762295898,179.54215084928111],[369.02217895699914,176.59162364260442],[391.80653447653754,173.7130405856322],[276.47457991058167,215.42861574920684],[301.71760163370493,211.8900538605558],[326.3191232744619,208.44141732901642],[350.3032916426114,205.07932125948048],[373.69305667971724,201.80054853359127],[396.5102447069135,198.602039541886],[281.01875339273874,242.22840075655242],[306.30833422166523,238.3287275341],[330.95258538366414,234.5285646530327],[354.97589660140017,230.82415119896356],[378.4014438349837,227.21191342064458],[401.25126385825746,223.6884532302449],[285.6014929141026,269.255633409412],[310.9375223608329,264.98887212755227],[335.6243637185284,260.83143857633655],[359.68665270044966,256.779183932536],[383.1477940729474,252.82816667283166],[406.0300375887383,248.9746397861292]],[[260,209],[276.35700137064373,212.29757168427005],[292.94399781069046,215.64151037745572],[309.7658745916083,219.03280095034702],[326.8276563273234,222.4724563651754],[344.13451197797696,225.96151868437104],[257.88083738547584,226.56512845631053],[274.12193090772973,229.96416764538907],[290.5899669018245,233.41070279614019],[307.2897355548637,236.9057364293403],[324.22616282098585,240.45029947995315],[341.4043152657022,244.04545231098328],[255.78755856548707,243.91571359591967],[271.9143482012849,247.4134930123693],[288.2650877879938,250.95984548931645],[304.8444748742501,254.55578988974014],[321.65733931409073,258.2023737726657],[338.7086479579228,261.9006744106013],[253.71969219530175,261.05566225953186],[269.7337492678933,264.64953140520345],[285.96882228754373,268.29300087321906],[302.4295185323407,271.9871046273325],[319.1205742336142,275.73290557093964],[336.04685911932324,279.53149656670365],[251.67677830541066,277.98878700190807],[267.57964236989983,281.67616965010876],[283.7006453852135,285.41413197873084],[300.04430665178927,289.2037218738625],[316.6152711765022,293.04601636902953],[333.4183140739991,296.94212266572833]],[[256.8421052631579,181.26315789473685],[277.8664899134631,181.39282072603586],[299.28126081377746,181.52489117055725],[321.09739304856424,181.65943691449246],[343.3262769899092,181.79652820521952],[365.9797381277619,181.93623797360092],[254.26670861614286,203.0166415973038],[275.45626032134305,203.34937437705776],[297.04283657942403,203.68834150687954],[319.0377013749154,204.03371986152965],[341.45254885443217,204.38569307046686],[364.2995240590226,204.74445184340152],[251.6450046916948,225.16126683766734],[273.00228737629004,225.70441839542397],[294.7634030143138,226.25784010322582],[316.9399147041785,226.82182603008],[339.54383125230584,227.39668158009673],[362.5876288572568,227.98272404395314],[248.97573320781686,247.70767878146063],[270.5033693231693,248.4689004523346],[292.44182272471573,249.24464870751842],[314.8029662931991,250.03534337453368],[337.5991348714303,250.8414206159764],[360.8431479530979,251.66333373179805],[246.2575877313333,270.66691241734503],[267.9582599791219,271.65417294379836],[290.07691586359994,272.66044941319086],[312.6257491953756,273.68629657644203],[335.61743274834953,274.73229097465105],[359.0651420095602,275.7990320195837]]],"image_size":[640,480],"object_points":[[0,0,0],[0.035,0,0],[0.07,0,0],[0.10500000000000001,0,0],[0.14,0,0],[0.17500000000000002,0,0],[0,0.035,0],[0.035,0.035,0],[0.07,0.035,0],[0.10500000000000001,0.035,0],[0.14,0.035,0],[0.17500000000000002,0.035,0],[0,0.07,0],[0.035,0.07,0],[0.07,0.07,0],[0.10500000000000001,0.07,0],[0.14,0.07,0],[0.17500000000000002,0.07,0],[0,0.10500000000000001,0],[0.035,0.10500000000000001,0],[0.07,0.10500000000000001,0],[0.10500000000000001,0.10500000000000001,0],[0.14,0.10500000000000001,0],[0.17500000000000002,0.10500000000000001,0],[0,0.14,0],[0.035,0.14,0],[0.07,0.14,0],[0.10500000000000001,0.14,0],[0.14,0.14,0],[0.17500000000000002,0.14,0]]},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"Numeric JSON arrays only. Additionally enforce equal paired dimensions, nondegenerate geometry, maximum 32768 pixels/image, 131072 scalars/array, and 1048576 encoded bytes. No paths or network resources.","properties":{"image_points":{"items":{"items":{"items":{"maximum":1000000000,"minimum":-1000000000,"type":"number"},"maxItems":2,"minItems":2,"type":"array"},"maxItems":256,"minItems":6,"type":"array"},"maxItems":20,"minItems":3,"type":"array"},"image_size":{"items":{"maximum":4096,"minimum":16,"type":"integer"},"maxItems":2,"minItems":2,"type":"array"},"object_points":{"items":{"items":{"maximum":1000000000,"minimum":-1000000000,"type":"number"},"maxItems":3,"minItems":3,"type":"array"},"maxItems":256,"minItems":6,"type":"array"}},"required":["object_points","image_points","image_size"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"additionalProperties":false,"properties":{"operation":{"const":"planar-camera-calibrate"},"result":{"additionalProperties":false,"properties":{"camera_matrix":{"items":{"items":{"type":"number"},"maxItems":3,"minItems":3,"type":"array"},"maxItems":3,"minItems":3,"type":"array"},"distortion":{"items":{"type":"number"},"maxItems":5,"minItems":5,"type":"array"},"rms_pixels":{"minimum":0,"type":"number"},"view_count":{"maximum":20,"minimum":3,"type":"integer"},"warnings":{"items":{"maxLength":1024,"type":"string"},"maxItems":8,"minItems":1,"type":"array"}},"required":["camera_matrix","distortion","rms_pixels","view_count","warnings"],"type":"object"},"runtime_ms":{"minimum":0,"type":"number"},"upstream":{"additionalProperties":false,"properties":{"binary_sha256":{"const":"1fd4eb220f9986baa0ea0492cbcbedf85b868e792cbcac5f69e10d067a2f956c"},"components":{"const":["calibrateCamera"]},"numpy_version":{"const":"2.5.0"},"package_version":{"const":"4.13.0.92"},"project":{"const":"OpenCV"},"version":{"const":"4.13.0"}},"required":["project","version","package_version","binary_sha256","numpy_version","components"],"type":"object"}},"required":["operation","result","upstream","runtime_ms"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1223,"error":null}],"description_full":"Takes matched object and image points from multiple views of a planar calibration target and returns the camera matrix, five distortion coefficients and the RMS reprojection error that the fit actually achieved. The error figure is the point: it tells a caller whether the calibration is usable before anything is built on top of it, instead of handing back numbers that look plausible.","last_updated":"2026-10-25T16:43:25.899Z","schemes":["exact"]}