When you add ID scanning to a check-in flow, an onboarding app or a front desk, one of the first technical decisions is where the processing actually happens. Do passport images go to a provider's cloud, stay on your own servers, or never leave the customer's phone? The answer affects how quickly you can launch, what you spend, how you meet data protection rules and how much work your IT team takes on. This guide compares the four main deployment models for document data extraction: cloud, on-premise, hybrid and on-device. It covers the trade-offs of each, the regulations that shape the choice and a practical way to decide what fits your business.
Why deployment matters for identity documents
Most document processing decisions are about cost and convenience. Identity documents add another dimension: they're among the most sensitive personal data a business handles. A passport scan contains a full name, date of birth, nationality, document number and a facial image, and when you use Face Recognition to match a selfie against it, you're processing biometric data, which GDPR treats as a special category.
That means the question of where data is processed, who can access it and how long it's kept isn't just an IT preference. It's part of your legal obligations and your customers' trust. At the same time, deployment affects everyday performance: how fast a scan returns at a busy hotel reception, whether online check-in copes with a summer peak, and how quickly new document designs are supported.
The four deployment options at a glance
Each option is a different balance of control, effort and flexibility. In practice, many businesses end up combining them, for example scanning on the phone and verifying in the cloud, or running sensitive processing in-house while using cloud services for everything else.
Cloud deployment
In a cloud deployment, your app or website sends document images to the provider's service through an API, and the provider returns the extracted data. The provider runs the infrastructure, scales it, keeps the models up to date and adds support for new documents as they're issued.
The advantages are speed and simplicity. You can integrate in days rather than months, there's no hardware to buy or maintain, and capacity grows automatically when traffic spikes, which matters for seasonal businesses like hotels and car rental. Updates arrive without any work on your side, so a newly issued ID card design is supported as soon as the provider adds it.
The trade-off is that document images and extracted data leave your environment, so you depend on the provider's security and data handling. Before choosing a cloud service, check where data is processed and stored, how long it's kept, whether images are deleted after extraction, which sub-processors are involved and what the data processing agreement says. For EU businesses, processing within the EU keeps things simplest, as covered in the compliance section below.
Cloud deployment suits most hotels, car rental companies, mobility platforms and fast-growing digital businesses, especially those without large IT teams. It's also the quickest way to add scanning to digital customer onboarding.
On-premise deployment
On-premise means running the extraction software on infrastructure you control: your own data centre, servers in your offices or a private cloud environment dedicated to you. Document images are processed inside your network and never pass through the provider's systems.
The main benefit is control. You decide exactly where data lives, who can access it and how long it's kept, and you can integrate the software deeply with internal systems. For organisations with strict internal policies, regulators who expect sensitive data to stay in-house, or networks that are isolated from the internet, on-premise may be the only acceptable option. Processing inside your own network can also cut latency for high-volume or on-site use.
The cost is responsibility. Your team provisions and secures the servers, plans capacity for peak loads, monitors the service and installs updates. Updates matter more than they might seem: identity documents change regularly, and recognition models need refreshing to keep accuracy high, so an on-premise installation that isn't updated will slowly fall behind. Setup also takes longer and costs more upfront than a cloud integration.
On-premise suits banks, insurers, government bodies, large enterprises and anyone with strict data residency or security requirements and the IT capacity to run it. ScanDoc for banks covers how this fits regulated onboarding.
Hybrid deployment
A hybrid deployment splits the work. Typically, the sensitive steps, such as processing document images and storing personal data, run on-premise or in a private environment, while less sensitive services, such as analytics, monitoring or burst capacity during peaks, use the cloud. Another common hybrid is a business that runs on-premise at its headquarters and uses the cloud for smaller branches or partners.
Hybrid gives you control where it matters most without carrying the full operational load of on-premise for everything. It does add complexity: you need clear rules about which data goes where, secure connections between environments and a team that can manage both. It suits larger organisations moving gradually to the cloud, groups with different requirements across countries or brands, and businesses that want on-premise control with cloud flexibility for peaks.
On-device processing
A fourth option is increasingly important: processing on the user's own device. With a mobile document scanning SDK, much of the work happens on the phone. The app finds the document, checks image quality, reads the machine-readable zone and can read the chip through NFC before anything is sent anywhere.
On-device processing reduces how much data needs to travel, speeds up the user experience because there's no round trip for every frame, and can keep working with a weak connection. It's usually combined with cloud or on-premise processing for the steps that need more computing power or central control, such as final verification, face matching against the document and storing records. If you're building your own capture flow, our guide to how document scanning software works explains which steps can run where.
Compliance considerations
GDPR
Whichever model you choose, GDPR applies. You need a lawful basis for processing identity data, and an explicit legal basis for biometric face matching. Collect only what you need, keep it no longer than necessary and protect it properly. If a provider processes data on your behalf, in the cloud or by supporting your on-premise system, you need a data processing agreement that sets out what they can do with it, which sub-processors they use and how data is deleted.
International data transfers
If personal data leaves the EU, you need a legal mechanism for the transfer. For the US, that's currently the EU-US Data Privacy Framework. The EU's General Court upheld the framework, but the challenger has appealed to the Court of Justice, which struck down the two previous frameworks. Until that appeal is decided, many European businesses prefer providers that process identity data within the EU, so a future ruling can't disrupt their onboarding or check-in. Ask any cloud provider exactly where your data is processed and stored, including backups and support access.
DORA for financial services
Banks, payment institutions, insurers, investment firms and other financial entities in the EU are also covered by the Digital Operational Resilience Act, Regulation (EU) 2022/2554, known as DORA, which now applies. It requires them to manage the risk of their technology providers across the whole relationship: due diligence before signing, contracts that include data locations, audit rights and exit strategies, and a register of information covering every ICT third-party service, which supervisors collect every year. A cloud-based identity verification service is one of those providers, so financial institutions should expect to document it carefully. Some will choose on-premise or hybrid deployment partly to reduce third-party dependency. We cover the wider rules for banks in our KYC verification guide.
Sector and national rules
Other rules may apply depending on your sector and country, from hotel guest registration laws that specify what you must keep and for how long, to national requirements on where certain government or health data can be processed. Check these early, because they can rule out options before you get to cost and convenience.
Security considerations
Good security is possible in every model. The difference is who is responsible for each part. With cloud, the provider secures the infrastructure and you secure your integration, accounts and API keys. With on-premise, you're responsible for nearly everything.
Whichever you choose, look for encryption in transit and at rest, strict access controls, automatic deletion of document images once they're no longer needed, logs that don't contain personal data, regular security testing and a clear process for reporting incidents. Ask providers about independent security certifications and audits, and for on-premise software, about how security patches and model updates are delivered. Strong fraud protection matters too, which we cover in how ID scanning prevents fraud.
Performance and cost
Cloud services usually cost a predictable amount per scan or per month, with no upfront investment, which makes them easy to start with and efficient for variable volumes. On-premise involves upfront costs for hardware, setup and licences, plus ongoing costs for staff time and maintenance, but can be economical at very high, steady volumes. Hybrid sits between the two.
Performance depends on more than the deployment model. Cloud processing adds a network round trip, which is usually small but noticeable on poor connections, while on-device capture and on-premise processing inside a local network can feel instant. For front desks, a dedicated device such as the IDMaster scanner combines fast local capture with whichever backend you choose. Peak load is often the deciding factor: a cloud service absorbs a summer rush automatically, while an on-premise installation has to be sized for the busiest day of the year.
How to choose
Start with your non-negotiables. If regulation, internal policy or customer contracts require identity data to stay in-house, on-premise or hybrid is the starting point. If they require EU processing, any option can work, as long as the provider can prove where data goes.
Then look at your team. If you don't have people to run and update servers, cloud will almost always deliver better results. Next, consider your volumes and peaks, your timeline to launch, and the user experience you need on mobile and at the desk. Finally, test with your own documents in each environment you're considering, because accuracy and speed in practice matter more than any datasheet. Our checklist on choosing a document data extraction solution covers the questions to ask vendors, and our article on document information extraction explains the OCR, MRZ and chip technologies you'll be deploying.
How ScanDoc helps
ScanDoc offers cloud, on-premise and hybrid deployment, so you can choose the model that fits your data protection requirements, IT capacity and volumes, and change it as you grow. The same ID and Passport Scan reads passports, ID cards and driving licences from more than 190 countries in every model, with NFC verification, face recognition and liveness detection available alongside.
Integration works through iOS and Android SDKs, web capture and a REST API, and the IDMaster scanner covers front desks. See our developer documentation for technical details and our pricing page for plans.
Request a demo to discuss which deployment suits you, or visit the ScanDoc homepage to explore the complete platform.
Frequently asked questions
With cloud extraction, document images are sent to the provider's service and processed there. With on-premise extraction, the software runs on your own servers and images stay inside your network. Cloud is faster to set up and easier to scale; on-premise gives you more control but more maintenance.
It can be. GDPR doesn't forbid cloud processing, but you need a lawful basis, a data processing agreement with the provider, appropriate security, limited retention and a valid mechanism for any transfers outside the EU. Choosing a provider that processes data within the EU simplifies compliance.
A hybrid deployment splits processing between your own infrastructure and the cloud, typically keeping sensitive identity data on-premise while using the cloud for less sensitive tasks or extra capacity at peak times.
Many steps can, including finding the document, checking image quality, reading the MRZ and reading the chip. Final verification and record keeping usually happen on a server, either in the cloud or on-premise.
It depends on the bank's policies and IT capacity. Many banks use on-premise or hybrid deployment to keep identity data in-house and reduce third-party risk under DORA, while others use EU-based cloud services with strong contractual and security safeguards.
The provider supplies software and model updates, and your team installs them. Regular updates matter because new identity document designs are issued all the time, and recognition models need refreshing to keep accuracy high.