Open-Source vs. Proprietary Liveness Detection SDKs (2026)
Open-source liveness through OpenCV means building and owning the model yourself, with no published price or accuracy figure. Didit publishes $0.10 per passive liveness check and $0.33 per full KYC, with iBeta Level 1 PAD, SOC.

Contents
In this guide
Jump to the part you need.
Didit fits teams that need a published, hosted liveness check quickly: $0.10 per passive liveness check and $0.33 for a full KYC check, backed by iBeta Level 1 PAD. As editorial guidance from us: the open-source route through OpenCV suits teams with computer vision engineers who want to build and own the model. The caveat on that route is that OpenCV pricing is not published, so total cost cannot be compared from its page.
Last updated: November 26, 2026. Prices checked against the live Didit price feed on November 26, 2026.
Summary: open source vs proprietary liveness detection
| Question | Didit | OpenCV |
|---|---|---|
| What it is | Identity and fraud infrastructure with a liveness API and hosted flows | Open source computer vision library run by the non-profit Open Source Vision Foundation since June 2000 (OpenCV home page, read November 26, 2026) |
| Liveness methods | Passive, 3D Flash, 3D Action & Flash | A library of 2,500+ algorithms, with no published liveness product specification (OpenCV home page, read November 26, 2026) |
| Published price | $0.10 passive liveness, $0.15 active liveness, $0.33 full KYC | Pricing not published (OpenCV home page, read November 26, 2026) |
| Coverage | 220+ countries, 14,000+ document types, 54 UI languages | 2,500+ algorithms; no country, document or language coverage is listed (OpenCV home page, read November 26, 2026) |
| Evidence | 99.9% accuracy, FAR under 0.1%, iBeta Level 1 PAD, SOC 2 Type 2, ISO/IEC 27001:2022 | OpenCV-certified binaries under OpenCV Enterprise (OpenCV home page, read November 26, 2026) |
| Best for | Teams that want a priced, certified liveness check with SDKs, webhooks and a sandbox today | Teams with in-house computer vision staff building and owning their own model |
Start free in the sandbox at https://business.didit.me/, with no sales call. If you build with an AI assistant, connect Didit through the MCP server at https://didit.me/developers/mcp/. The liveness documentation is at docs.didit.me/core-technology/liveness/overview, the product pricing at https://didit.me/pricing/, and the machine-readable feed at https://didit.me/pricing.json.
What an open-source liveness SDK actually is
OpenCV is not a liveness SDK. It is a computer vision library containing over 2,500 algorithms, operated by the non-profit Open Source Vision Foundation since June 2000, and it lists OpenCV Enterprise, which offers long-term maintenance, OpenCV-certified binaries and expert engineering support (OpenCV home page, read November 26, 2026). The page lists members including AMD, Qualcomm, Arm, Google, Intel, Roboflow and Orbbec (OpenCV home page, read November 26, 2026).
OpenCV provides an open-source computer vision library containing over 2,500 algorithms (OpenCV home page, read November 26, 2026), and that is the documented scope of the cited page. The cited page describes the OpenCV library and Enterprise offering, but does not provide a published liveness product specification. If you take this route, the work of turning a library into a liveness decision is yours to estimate: model selection, training data, thresholds, hosting and monitoring are buyer questions to price, not features the page documents.
That is a legitimate engineering choice for some teams. It is not a drop-in check, and buyers who search for an open-source liveness SDK usually expect the second thing.
How we scored both options
Didit publishes this ranking; we explain the criteria so you can check them. Six criteria, each scored 1 to 5, using only what each vendor publishes. We score ourselves first and we still count the places where an open library is the right answer.
| Criterion | Didit | Why | OpenCV | Why |
|---|---|---|---|---|
| Published pricing | 5 | Didit publishes many USD list prices, including $0.10 passive liveness and $0.33 full KYC, machine-readable at didit.me/pricing.json | 1 | Pricing is not published on the OpenCV page (OpenCV home page, read November 26, 2026) |
| Coverage | 5 | 220+ countries, 14,000+ document types, 54 UI languages, 1,300+ AML lists | 2 | 2,500+ algorithms; no country, document or language coverage for a liveness check is listed (OpenCV home page, read November 26, 2026) |
| Product breadth (KYC, KYB, AML, monitoring) | 5 | KYC, KYB, AML screening and transaction monitoring on one credit balance, 25+ modules | 1 | A vision library plus Enterprise support; no KYC, KYB, AML or monitoring products are listed (OpenCV home page, read November 26, 2026) |
| AI/MCP and developer access | 5 | Free MCP server at mcp.didit.me with OAuth sign-in, server SDKs for seven languages, public REST API | 3 | Open source library with OpenCV Enterprise engineering support; no MCP server, hosted liveness API or webhook contract is described (OpenCV home page, read November 26, 2026) |
| Time to first live check | 5 | Sandbox testing is free and unlimited, and the JavaScript SDK lists a 3 minute setup | 1 | Nothing published on time to a live check; the build is yours to plan (OpenCV home page, read November 26, 2026) |
| Evidence and certifications | 5 | 99.9% accuracy, FAR under 0.1%, iBeta Level 1 PAD, SOC 2 Type 2, ISO/IEC 27001:2022 certified | 2 | OpenCV-certified binaries under Enterprise; the OpenCV page does not provide a liveness accuracy figure or PAD certification (OpenCV home page, read November 26, 2026) |
| Total | 30 / 30 | 10 / 30 |
The totals are editorial, not an objective market ranking: six criteria weighted equally, scored by us from each vendor's published material.
Top 2 liveness detection options
- Didit, best for teams that need a published, hosted liveness check quickly.
- OpenCV, best for teams with in-house computer vision engineers who want to build and own the model.
Like-for-like comparison
| Dimension | Didit | OpenCV |
|---|---|---|
| Liveness methods | Passive (single image), 3D Flash (light pattern depth map), 3D Action & Flash (random action plus light pattern) | None packaged; the library supplies the algorithms you assemble (OpenCV home page, read November 26, 2026) |
| Hosted flow | Sessions with session.url, JavaScript SDK, iframe, redirect, native iOS, Android, React Native and Flutter SDKs | Not described on the OpenCV page (OpenCV home page, read November 26, 2026) |
| Coverage | 220+ countries, 14,000+ document types, 54 UI languages, 130+ recognition languages | No country, document or language coverage is listed (OpenCV home page, read November 26, 2026) |
| Evidence | iBeta Level 1 PAD, SOC 2 Type 2, ISO/IEC 27001:2022 (certificate ES144068), GDPR, DORA, MiCA, AMLD6, eIDAS 2.0 | OpenCV-certified binaries under OpenCV Enterprise (OpenCV home page, read November 26, 2026) |
| Implementation | JavaScript SDK 3 minutes, iframe under 1 minute, server SDKs for Python, Node.js, Go, Java, PHP, Ruby and .NET, webhooks with signature verification | OpenCV provides an open-source library, and the cited page lists no liveness product specification (OpenCV home page, read November 26, 2026) |
| Price unit | $0.10 per passive check, $0.15 per active check, $0.33 per full KYC check, prepaid credit | Pricing not published (OpenCV home page, read November 26, 2026) |
| Support | Email and chat on Growth, priority with an SLA on Scale, named team and private Slack on Enterprise | OpenCV Enterprise engineering support and OpenCV University courses (OpenCV home page, read November 26, 2026) |
Didit: what you get for $0.10 a check
More than 4,000 companies use our platform, across 220+ countries. Passive liveness alone is $0.10 per check and appears as its own line in the price book; active liveness is $0.15. A full KYC check bundles ID document verification, passive liveness, 1:1 face match and device and IP analysis for $0.33, and the arithmetic is public: $0.15 + $0.10 + $0.05 + $0.03.
Three liveness methods, one API
| Method | How it works | Security level | Best for |
|---|---|---|---|
| Passive Liveness | Single-frame deep learning analysis of texture, artifacts and reflections; score 0 to 100 | Standard | Low-risk, high-volume onboarding |
| 3D Flash | Light patterns projected above 30 frames per second, reflections turned into a depth map | High | Financial services, account access |
| 3D Action & Flash | Randomized action such as a blink or a nod, combined with light pattern depth analysis | Highest | Banking, healthcare, government |

3D liveness detection SDKs: what the term covers
A 3D liveness SDK should mean the check uses depth information, not a flat image. Didit does that two ways: 3D Flash reads light reflections into a depth map, and 3D Action & Flash adds a randomized action and light-pattern analysis to help detect presentation attacks such as recorded video. Passive liveness is the single-frame option and carries a standard security level. If a vendor calls a single-photo check 3D liveness, ask what the third dimension is measured from.
Developer access, MCP and evidence
A hosted session is one call. Create it with POST /v3/session/ and the fields workflow_id, callback and vendor_data, then open the returned session.url or mount the SDK. For server-to-server use with an already captured selfie, the passive liveness endpoint takes a single image:
curl -X POST 'https://verification.didit.me/v3/passive-liveness/' \
-H 'x-api-key: YOUR_API_KEY' \
-F 'user_image=@./selfie.jpg' \
-F 'save_api_request=true' \
-F 'vendor_data=user-123'
The response carries liveness.status, liveness.method and a score, plus warnings such as LIVENESS_FACE_ATTACK, LOW_LIVENESS_SCORE, MULTIPLE_FACES_DETECTED, FACE_IN_BLOCKLIST and DUPLICATED_FACE. In a workflow, the same result lands in the liveness_checks[] array of the decision payload, reachable at GET /v3/session/{sessionId}/decision/ or through the session.status.updated webhook.

For AI-assisted builds, the MCP server is free and hosted at https://mcp.didit.me/mcp with OAuth sign-in. There are server SDKs for Python, Node.js, Go, Java, PHP, Ruby and .NET, all reading DIDIT_API_KEY, and webhook signature verification is built into them.

OpenCV: what you actually get
OpenCV publishes a library, not a verification product. The products it lists are OpenCV Enterprise, with long-term maintenance, OpenCV-certified binaries and expert engineering support, plus AI consulting through OpenCV.AI, OpenCV University courses and a member store (OpenCV home page, read November 26, 2026). It also runs an AI Competition in 2026 with $20,250 in prizes and AWS credits (OpenCV home page, read November 26, 2026).
The cited page describes the OpenCV library and Enterprise offering, but does not provide a published liveness product specification (OpenCV home page, read November 26, 2026). Pricing is not published on that page either, so the only comparable cost available today is the engineering estimate you produce yourself.
Strengths and limitations of both
Didit strengths
- Published unit prices and a public price feed, so cost per check is arithmetic rather than a negotiation.
- Three liveness methods on one API, so you can step up from passive to 3D Action & Flash without changing vendors.
- Evidence you can send to a compliance team: iBeta Level 1 PAD, SOC 2 Type 2, ISO/IEC 27001:2022, 99.9% accuracy with FAR under 0.1%.
- Sandbox testing is free and unlimited on every plan, and there is no sales call to start.
Didit limitations
- Pricing is per completed check from prepaid credit, so cost scales with volume instead of being a one-time licence.
- Ask where the check runs before you commit: our documented integration routes are the SDKs, hosted sessions and the standalone API.
OpenCV strengths
- The source is open, with over 2,500 algorithms to build on (OpenCV home page, read November 26, 2026).
- OpenCV Enterprise offers long-term maintenance, OpenCV-certified binaries and expert engineering support (OpenCV home page, read November 26, 2026).
- The page lists members including AMD, Qualcomm, Arm, Google, Intel, Roboflow and Orbbec (OpenCV home page, read November 26, 2026).
OpenCV limitations
- The cited page describes the OpenCV library and Enterprise offering, but does not provide a published liveness product specification (OpenCV home page, read November 26, 2026).
- OpenCV pricing is not published, so implementation cost cannot be calculated from the cited page (OpenCV home page, read November 26, 2026).
- The OpenCV page does not provide a liveness accuracy figure or PAD certification (OpenCV home page, read November 26, 2026).
- Editorial note: with an open library, the audit evidence is yours to assemble rather than a vendor's certificate.
When OpenCV is the better fit
Choose the open library when liveness is part of a product you already sell on computer vision, when you have ML engineers on staff, and when you need to run inside an environment where no third party can see the image. It is also the right call for research, for prototyping a threshold before you buy anything, and for markets where a per-check fee breaks the unit economics at very low revenue per user.
Choose a proprietary check when the requirement is a defensible decision, a certification you can show a regulator, and a live endpoint this week. That is the case for most onboarding, fintech and marketplace teams.
Matched volume price scenarios
Didit prices come from the live price feed. Growth takes 4% off every price, Scale takes 10% off. OpenCV pricing is not published, so every volume is marked as pricing not published.
| Volume | Didit passive liveness at list ($0.10) | Didit passive liveness on Scale ($0.09) | Didit full KYC at list ($0.33) | OpenCV |
|---|---|---|---|---|
| 1,000 | $100.00 | $90.00 | $330.00 | Pricing not published (OpenCV home page, read November 26, 2026) |
| 10,000 | $1,000.00 | $900.00 | $3,300.00 | Pricing not published (OpenCV home page, read November 26, 2026) |
| 100,000 | $10,000.00 | $9,000.00 | $33,000.00 | Pricing not published (OpenCV home page, read November 26, 2026) |
The arithmetic: 1,000 x $0.10 = $100.00, 10,000 x $0.10 = $1,000.00, 100,000 x $0.10 = $10,000.00. On Scale the unit is $0.10 less 10%, so $0.09: 1,000 x $0.09 = $90.00, 10,000 x $0.09 = $900.00, 100,000 x $0.09 = $9,000.00. Full KYC at $0.33 gives $330.00, $3,300.00 and $33,000.00 before any plan discount. The Free plan includes $10 of credit a month, which buys about 30 full KYC checks at $0.33; monthly credit does not roll over.
Worked cost example
A team runs 25,000 liveness checks a month, split 20,000 passive and 5,000 active 3D.
- At list: 20,000 x $0.10 = $2,000.00, plus 5,000 x $0.15 = $750.00, total $2,750.00.
- On Growth, 4% off: 20,000 x $0.096 = $1,920.00, plus 5,000 x $0.144 = $720.00, total $2,640.00.
- On Scale, 10% off: 20,000 x $0.09 = $1,800.00, plus 5,000 x $0.135 = $675.00, total $2,475.00.
If those same people needed a full KYC instead, 10,000 checks at list would be 10,000 x $0.33 = $3,300.00, and on Scale 10,000 x $0.297 = $2,970.00, a difference of $330.00. OpenCV's line in the same comparison is pricing not published, because no price is published on its page.
Speed: open source vs paid liveness, and what bot detection has to do with it
Speed is where the comparison stops being theoretical. Didit lists sub-2-second p99 inference for passive liveness on a hosted endpoint. An OpenCV liveness pipeline has no published latency figure on the cited page, so its speed is an estimate you produce from your own model, hardware, image preprocessing and the network between your app and your server.
Bot and replay traffic makes the difference sharper. Automated attempts arrive in bursts, and Didit documents a shared write limit of 300 requests per minute per API key across all POST, PATCH and DELETE endpoints, answering 429 when a caller goes over it. With a self-built pipeline, capacity planning is an estimate you make yourself: you plan for the peak and you pay for the compute whether or not the traffic is legitimate. Measure the p99 of the whole path, from capture to decision, not just the model inference time.
Migrating from an open-source pipeline to Didit
The move is reversible and can be tested without touching production. We link our migration guidance at https://didit.me/switch/.
- Parallel test. Keep your pipeline running and send the same captured selfies to
POST /v3/passive-liveness/withsave_api_request=falseso nothing is stored or enrolled. Compare your own decisions against Didit scores and warnings on the same images, and look at the cases where you disagree rather than the average. - Webhooks. In production, create a session, receive
session.status.updatedat your callback, and verify the signature with the server SDK for your language. Read the final decision from theliveness_checks[]array instead of parsing a screenshot or a log line. - Records. Keep the
request_id, the decision payload, the warnings and the method used for every check. Data retention differs by plan: one year on Free, five on Growth, up to ten on Scale, custom on Enterprise. Decide what you export before you switch, not after. - Thresholds. Map your existing false acceptance policy onto
face_liveness_score_decline_threshold(default 30) and choose the method per segment: passive for low risk, 3D Action & Flash where the loss from a spoof is high.
Verdict by use case
- Fintech or banking onboarding: Didit, with 3D Action & Flash. You need the highest security level and a certification to show.
- Marketplace or social sign-up: Didit passive liveness at $0.10, stepped up only when a risk signal fires.
- Internal research on spoof detection: OpenCV. You want the algorithms and no vendor in the loop.
- Product with computer vision engineers and strict data residency: OpenCV, if your team can own the model and the audit evidence.
- Startup shipping this month: Didit. The sandbox is free and unlimited, the JavaScript SDK lists a 3 minute setup, and the Free plan includes $10 of credit a month.
Sources
- Didit pricing page, pricing as JSON and the live price feed, read November 26, 2026.
- Didit pricing documentation, plans, credit and billing rules, read November 26, 2026.
- Didit liveness overview, methods, status enum, warnings and failure modes, read November 26, 2026.
- Didit passive liveness API, request fields, response shape, rate limit and billing, read November 26, 2026.
- Didit SDKs and integrations and web SDK overview, setup times per method, read November 26, 2026.
- Didit native mobile SDKs, versions and minimum platform requirements, read November 26, 2026.
- Didit data models, the canonical liveness check schema, read November 26, 2026.
- Didit MCP server, hosted at https://mcp.didit.me/mcp with OAuth sign-in, read November 26, 2026.
- OpenCV home page at opencv.org, read November 26, 2026 (library, Open Source Vision Foundation, OpenCV Enterprise, members, AI Competition 2026).
The next step takes an afternoon, not a procurement cycle. Create a free sandbox account at https://business.didit.me/, run your own spoof attempts through passive liveness and 3D Action & Flash, and compare the warnings against whatever you have today. No sales call, and sandbox testing is free and unlimited.
Try it
Try this in the sandbox
Run the check this guide describes, free.
The product this post is about, taken from its topic. Run it free in the sandbox.
Author
Alejandro Rosas
Co-founder and CTO

Questions
Frequently asked questions
Is open source liveness detection as accurate as a paid SDK?
There is no published liveness accuracy figure for OpenCV, so there is nothing to compare against. The OpenCV card does not provide a liveness accuracy figure or PAD certification (OpenCV home page, read November 26, 2026). Didit publishes 99.9% accuracy with a false acceptance rate under 0.1%, plus iBeta Level 1 PAD. With an open pipeline, accuracy is whatever your own model and data achieve.
What does an open-source liveness SDK really cost?
OpenCV is open source, while pricing is not published on the cited page (OpenCV home page, read November 26, 2026). In practice the cost is engineering: model selection or training, hosting, monitoring, re-testing after each new attack pattern, and the audit evidence a customer or regulator may ask for. Didit publishes $0.10 per passive check and $0.33 per full KYC, so one side of the comparison can be written down exactly.
How do open source and paid liveness compare on detection speed?
Didit lists sub-2-second p99 inference for passive liveness on a hosted endpoint, with a shared write limit of 300 requests per minute per API key. OpenCV publishes no latency figure for a liveness pipeline, so speed depends on your hardware, model and preprocessing. For bot and replay bursts, measure the full path from capture to decision, not just the model call.
Does Didit publish liveness detection prices?
Yes. Passive liveness is $0.10 per check, active liveness is $0.15, and a full KYC check with ID document, passive liveness, 1:1 face match and device and IP analysis is $0.33. Growth takes 4% off every price and Scale takes 10% off, and the machine-readable feed is at didit.me/pricing.json. The Free plan includes $10 of credit a month.
What is a 3D liveness detection SDK?
A 3D liveness check uses depth information rather than a flat image. Didit implements it two ways: 3D Flash projects light patterns above 30 frames per second and reads the reflections into a depth map, and 3D Action & Flash adds a randomized action such as a blink or a nod plus light-pattern analysis to help detect presentation attacks such as recorded video. Both sit behind the same API as passive liveness, selected by face_liveness_method.
Can I build liveness detection on OpenCV?
OpenCV provides an open-source computer vision library containing over 2,500 algorithms (OpenCV home page, read November 26, 2026). The cited page describes the library and the Enterprise offering, but does not provide a published liveness product specification, and the OpenCV card does not provide a liveness accuracy figure or PAD certification. You supply the model, thresholds, hosting and monitoring, and you keep the evidence burden.
How long does it take to add a liveness check to an app?
With Didit, the JavaScript SDK lists a 3 minute setup, the iframe method under 1 minute, and the native iOS, Android, React Native and Flutter SDKs are published with version notes. Sandbox testing is free and unlimited on every plan, so you can test a live check quickly. An OpenCV pipeline timeline depends entirely on your team and on decisions the OpenCV page does not document.
How do I migrate from my own liveness pipeline to Didit?
Run both in parallel first: send the same selfies to POST /v3/passive-liveness/ with save_api_request=false so nothing is stored, and compare decisions on the cases where you disagree. Then move production to sessions, receive session.status.updated webhooks, verify the signature with a server SDK, and keep the request_id and the decision payload for your records. Our migration guidance sits at https://didit.me/switch/.
What evidence should I ask a liveness vendor for?
Ask for the presentation attack detection certification, the independent security certifications, a stated accuracy figure and false acceptance rate, and the list of risk codes the check can return. Didit publishes iBeta Level 1 PAD, SOC 2 Type 2, ISO/IEC 27001:2022, 99.9% accuracy with FAR under 0.1%, and its warning catalogue in the docs. The OpenCV card lists OpenCV-certified binaries under Enterprise and does not provide a liveness accuracy figure or PAD certification.
Which is better for a startup, open source or a proprietary SDK?
A proprietary check is usually the faster path: Didit gives $10 of monthly credit on the Free plan, sandbox testing that is free and unlimited, and no sales call to start. Open source makes sense when computer vision is the product and you have engineers who can own a model. The published $0.10 passive-liveness price gives teams a direct unit-cost comparison with their own engineering estimate.
Compliance built in
Audited, certified and attested.
We hold the certifications and build each country's rules into your flows, so you can launch anywhere without worrying. Security and Compliance center
- Regulation encoded into your flows
Tell us what you do and where. Didit lists the rules that apply to you, with sources, and builds the checks each country needs into one workflow.
- Ready for AMLR
Every requirement of the new EU anti-money laundering rules, from checking customers to human review, is already covered by a Didit check.
- Tested in Spain's Treasury sandbox
Spain's Treasury published its supervised sandbox report on Didit's NFC plus active liveness onboarding; SEPBLAC took part and valued the added measures positively.
- Audited, not self-declared
iBeta Level 1 and Level 2. Liveness tested under ISO/IEC 30107-3.
Your obligations · 3 regions
SOC 2 Type 2
ISO 27001
iBeta Level 1 and Level 2
EU regulator attestation
FSM youth protection
GDPR
EBA remote onboarding
MiCA compatible
FIDO Alliance member
- AMLREU AML Regulation ready
Integration · Didit MCP
Run Didit from your own AI agent
Connect Didit to Claude, Cursor, VS Code or ChatGPT and just ask in plain words. Your agent can do anything you can do in the console, with the same permissions you have.
- Build workflowsDescribe the checks you need. The agent creates and publishes the flow.
- Run investigationsAsk why a session was declined, review cases, search people and companies.
- Change rulesCreate payment rules, test them on past data and switch them on.
- Pull reportsAsk for numbers, exports or the audit log.
Didit Academy


